Skip to content

Commit

Permalink
fix: scss path error
Browse files Browse the repository at this point in the history
  • Loading branch information
LYXOfficial committed Nov 25, 2024
1 parent 837dcd4 commit 62a694e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styles from "@/styles/navbar.module.css";
import styles from "@/src/styles/navbar.module.scss";

export default function NavBar(){
return (
Expand Down
4 changes: 2 additions & 2 deletions src/middleware.ts
Original file line number Diff line number Diff line change
@@ -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*']
};
2 changes: 1 addition & 1 deletion src/styles/navbar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
top: 0;
left: 0;
width: 100%;
height: var();
// height: var();
}

0 comments on commit 62a694e

Please sign in to comment.