diff --git a/.github/workflows/deploy-next.yml b/.github/workflows/deploy-next.yml index 230ab40..a27e6c9 100644 --- a/.github/workflows/deploy-next.yml +++ b/.github/workflows/deploy-next.yml @@ -36,7 +36,7 @@ jobs: # You can use whatever directory your project uses, for example "wwwroot". # Such a directory does *not* have to already exist in your repo, # it could be an output directory created dynamically by your static website builder. - source-directory: client/build + source-directory: client/out # Optional. Default value "gh-pages". # It specifies the temporary branch which hosts the static website. diff --git a/client/next.config.js b/client/next.config.js index 8f400a4..c2c3f0f 100644 --- a/client/next.config.js +++ b/client/next.config.js @@ -1,16 +1,19 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - output: 'export', - + output: "export", + images: { + unoptimized: true, + }, + // Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` // trailingSlash: true, - + // Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href` // skipTrailingSlashRedirect: true, - + // Optional: Change the output directory `out` -> `dist` - distDir: 'build', + // distDir: "build", }; module.exports = nextConfig; diff --git a/client/src/components/card.tsx b/client/src/components/card.tsx index d22667a..c3b972c 100644 --- a/client/src/components/card.tsx +++ b/client/src/components/card.tsx @@ -1,48 +1,54 @@ -import { FC } from "react"; import Image from "next/image"; +import { FC } from "react"; + const Card: FC = () => { return ( <> -
+
- Resume -
-
-
-
- + resume +
+
+
+
+ profile picture +
+
+

John Doe

+

John is a Senior

+
-
-

John Doe

-

John is a Senior

+
+ cs+math + gpa + year +
+
+ + Discrete + + + Topology + + + Neural +
- -
-
- cs+math - gpa - year -
-
- Discrete - Topology - Neural
-
- - - - - - - - ); }; diff --git a/client/src/pages/profile.tsx b/client/src/pages/profile.tsx index 4652133..cdf1cbf 100644 --- a/client/src/pages/profile.tsx +++ b/client/src/pages/profile.tsx @@ -3,6 +3,7 @@ import { Autocomplete } from "@/components/profile/autocomplete"; import SocialButton from "@/components/profile/social-button"; import TagsContainer from "@/components/profile/tags-container"; import { example_skills } from "@/contants"; +import Image from "next/image"; import { FC, useEffect, useState } from "react"; import { Document, Page, pdfjs } from "react-pdf"; @@ -56,11 +57,10 @@ const Profile: FC = () => {
{/* PFP CONTAINER */}
-