diff --git a/src/components/NavBar.tsx b/src/components/NavBar.tsx index 3d3147f..0547efd 100644 --- a/src/components/NavBar.tsx +++ b/src/components/NavBar.tsx @@ -1,4 +1,4 @@ -import styles from "@/styles/navbar.module.css"; +import styles from "@/src/styles/navbar.module.scss"; export default function NavBar(){ return ( diff --git a/src/middleware.ts b/src/middleware.ts index 47616c4..47e4238 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -1,8 +1,8 @@ import createMiddleware from 'next-intl/middleware'; import { routing } from './i18n/routing'; - + export default createMiddleware(routing); - + export const config = { matcher: ['/', '/(en-us|zh-cn)/:path*'] }; \ No newline at end of file diff --git a/src/styles/navbar.module.scss b/src/styles/navbar.module.scss index 4d12889..5e524df 100644 --- a/src/styles/navbar.module.scss +++ b/src/styles/navbar.module.scss @@ -3,5 +3,5 @@ top: 0; left: 0; width: 100%; - height: var(); + // height: var(); } \ No newline at end of file