From 1b2317903638668ea5ec1c703d4130a7a6ed7d6e Mon Sep 17 00:00:00 2001 From: yunruu Date: Sun, 22 Sep 2024 13:39:14 +0800 Subject: [PATCH 1/3] chore: remove console log --- frontend/components/layout/layout.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/components/layout/layout.tsx b/frontend/components/layout/layout.tsx index 442cf2f817..04706ed226 100644 --- a/frontend/components/layout/layout.tsx +++ b/frontend/components/layout/layout.tsx @@ -10,7 +10,6 @@ export default function RootLayout({ }>) { const [isAuth, setIsAuth] = useState(false) const pathname = usePathname() - console.log(pathname) useEffect(() => { if (pathname == '/auth') { setIsAuth(true) From a03d3d9259617fcb8a5a084b38ba8f7dd49fcdbc Mon Sep 17 00:00:00 2001 From: yunruu Date: Sun, 22 Sep 2024 13:39:51 +0800 Subject: [PATCH 2/3] fix: set home page path as default --- frontend/components/layout/navbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/layout/navbar.tsx b/frontend/components/layout/navbar.tsx index c4b5096d8a..3932772f11 100644 --- a/frontend/components/layout/navbar.tsx +++ b/frontend/components/layout/navbar.tsx @@ -21,7 +21,7 @@ export function NavBar() { - + Home From 3508094da7d5c9b5252f2874d1ae849814e2b62f Mon Sep 17 00:00:00 2001 From: yunruu Date: Sun, 22 Sep 2024 13:41:49 +0800 Subject: [PATCH 3/3] feat: update theme colors --- frontend/styles/globals.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/styles/globals.css b/frontend/styles/globals.css index 9c1018ef85..45e8ae7a83 100644 --- a/frontend/styles/globals.css +++ b/frontend/styles/globals.css @@ -3,9 +3,6 @@ @tailwind utilities; :root { - --background: #f5f5f5; - --foreground: #171717; - --theme-900: #3b0764; --theme-600: #7f57c2; --theme-400: #c084fc; @@ -26,6 +23,9 @@ --orange-pri: #fb923c; --orange-sec: #ffedd5; + + --background: #fff; + --foreground: var(--slate-700); } pre,