Host on subdirectory

This commit is contained in:
mrjvs
2024-03-31 01:36:14 +01:00
parent 5fcfcc85b7
commit b5b8bb8de1
2 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
import Link from "next/link";
import classes from "./Logo.module.css";
import logoUrl from "../public/icon-light.png"
export function Logo() {
return (
@@ -7,7 +8,7 @@ export function Logo() {
href="/"
className={classes.logo}
>
<img src="/icon-light.png" alt="Logo of movie-web" />
<img src={logoUrl.src} alt="Logo of movie-web" />
</Link>
);
}

View File

@@ -1,12 +1,10 @@
import { guider } from '@neato/guider';
const withGuider = guider({
// The location of your theme file, created in the next step
themeConfig: './theme.config.tsx',
});
export default withGuider({
// These are the normal Next.JS settings.
// Check out Next.JS docs: https://nextjs.org/docs/app/api-reference/next-config-js
output: 'export',
basePath: '/docs',
});