From 4bfd3982be0747970df4c4ee27827dd2c820965b Mon Sep 17 00:00:00 2001 From: Sunny Date: Thu, 1 Feb 2024 21:34:45 -0800 Subject: [PATCH] fixed image overlapping text when mobile view --- frontend/src/app/HomePage.tsx | 48 +++++++++++++++++------------------ 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/frontend/src/app/HomePage.tsx b/frontend/src/app/HomePage.tsx index 96a0ae8..5f30e30 100644 --- a/frontend/src/app/HomePage.tsx +++ b/frontend/src/app/HomePage.tsx @@ -23,9 +23,7 @@ interface HomePageProps export default function HomePage({} : HomePageProps) { const execProfiles = useAppSelector(selectProfile); - const event = useAppSelector(selectEvent); - const mainDispatch = useAppDispatch(); mainDispatch(SetCurrentPage("/")); @@ -55,41 +53,41 @@ export default function HomePage({} : HomePageProps) }); let css: string = "", flexContainer: string = "flex flex-row max-[600px]:justify-center max-[600px]:mx-0 ml-[10%]"; - let size: number = 5;
;
;
; - return (
-
-
+ return ( +
+
+
-
-
- Langara -
- -
- Computer +
+
+ Langara +
+ +
+ Computer +
+ +
+ Science Club +
-
- Science Club +
+
- -
- -
-
-
-
- +
+
+ +
-
- ); +); }