From 38bac88b694cbddcc9c94bc5dc53eb1828fd0505 Mon Sep 17 00:00:00 2001 From: Elroy Chua Date: Mon, 16 Dec 2024 09:59:11 +0800 Subject: [PATCH] refine ui and fix log error for resetIcon --- frontend/src/app/page.tsx | 2 +- frontend/src/assets/icons/reset-icon.jsx | 49 ++++++++++++------- .../main-layout/main-layout.module.css | 17 +++---- 3 files changed, 38 insertions(+), 30 deletions(-) diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index a8b6abe..d866cc1 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -20,7 +20,7 @@ export default function Home() { <> {/* Desktop Layout */}
-
+
diff --git a/frontend/src/assets/icons/reset-icon.jsx b/frontend/src/assets/icons/reset-icon.jsx index 1e97c62..ce5d411 100644 --- a/frontend/src/assets/icons/reset-icon.jsx +++ b/frontend/src/assets/icons/reset-icon.jsx @@ -1,19 +1,32 @@ export const ResetIcon = () => { - return ( - - - - - - - - - - - ) -} + return ( + + + + + {" "} + + + + + + + ); +}; diff --git a/frontend/src/components/main-layout/main-layout.module.css b/frontend/src/components/main-layout/main-layout.module.css index 91c7310..547fa97 100644 --- a/frontend/src/components/main-layout/main-layout.module.css +++ b/frontend/src/components/main-layout/main-layout.module.css @@ -56,15 +56,10 @@ } .homePage { - max-width: 1500px; - height: 90vh; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.welcomeMsg { - width: 35rem; - padding-bottom: 3rem; + max-width: 1500px; + height: 90vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; }