mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 02:43:28 +00:00
Host on subdirectory
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import classes from "./Logo.module.css";
|
import classes from "./Logo.module.css";
|
||||||
|
import logoUrl from "../public/icon-light.png"
|
||||||
|
|
||||||
export function Logo() {
|
export function Logo() {
|
||||||
return (
|
return (
|
||||||
@@ -7,7 +8,7 @@ export function Logo() {
|
|||||||
href="/"
|
href="/"
|
||||||
className={classes.logo}
|
className={classes.logo}
|
||||||
>
|
>
|
||||||
<img src="/icon-light.png" alt="Logo of movie-web" />
|
<img src={logoUrl.src} alt="Logo of movie-web" />
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@@ -1,12 +1,10 @@
|
|||||||
import { guider } from '@neato/guider';
|
import { guider } from '@neato/guider';
|
||||||
|
|
||||||
const withGuider = guider({
|
const withGuider = guider({
|
||||||
// The location of your theme file, created in the next step
|
|
||||||
themeConfig: './theme.config.tsx',
|
themeConfig: './theme.config.tsx',
|
||||||
});
|
});
|
||||||
|
|
||||||
export default withGuider({
|
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',
|
output: 'export',
|
||||||
|
basePath: '/docs',
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user