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 ( <> -
John is a Senior
+John is a Senior
+