From 0a1ffff0f2876a4f38135630cc5c8e21c8b14f7c Mon Sep 17 00:00:00 2001 From: Ayaka Date: Fri, 27 Oct 2023 16:46:55 +0530 Subject: [PATCH] update --- .../src/Pages/EventDetail/index.jsx | 165 +++++++++--------- .../src/Pages/EventDetail/index.scss | 24 ++- 2 files changed, 99 insertions(+), 90 deletions(-) diff --git a/enyugma-frontend/src/Pages/EventDetail/index.jsx b/enyugma-frontend/src/Pages/EventDetail/index.jsx index 301d238..575024e 100644 --- a/enyugma-frontend/src/Pages/EventDetail/index.jsx +++ b/enyugma-frontend/src/Pages/EventDetail/index.jsx @@ -96,39 +96,39 @@ export default function EventDetail() { return ( <> - }> - - -
- -
- - {eventDetails.name} - - -
- - {eventDetails.id === "bitbybit" && ( -
- )} -
-
+ }> + + +
+ +
+ + {eventDetails.name} + + +
+ + {eventDetails.id === "bitbybit" && ( +
+ )} +
+
); } @@ -242,16 +242,6 @@ function BasicTabs({ eventDetails }) { {eventDetails.eventType === "cultural" && ( )} - {eventDetails.sponsors && ( - - )} +
+ {eventDetails.sponsors && ( + <> +
+
+
+
+ +
+
+
+
+
+
+ Gold Sponsors +
+
+ {eventDetails.sponsors.gold.map( + (sponsor, i) => ( + + ), + )} +
+
+
+
+ Silver Sponsors +
+
+ {eventDetails.sponsors.silver.map( + (sponsor, i) => ( + + ), + )} +
+
+
+ + )} +
{eventDetails.eventType !== "workshop" && ( @@ -468,45 +508,6 @@ function BasicTabs({ eventDetails }) { )} - {eventDetails.sponsors && ( - -
-
Gold Sponsors
-
- {eventDetails.sponsors.gold.map( - (sponsor, i) => ( - - ), - )} -
-
-
-
Silver Sponsors
-
- {eventDetails.sponsors.silver.map( - (sponsor, i) => ( - - ), - )} -
-
-
- )} diff --git a/enyugma-frontend/src/Pages/EventDetail/index.scss b/enyugma-frontend/src/Pages/EventDetail/index.scss index ebbe505..a8dacf6 100644 --- a/enyugma-frontend/src/Pages/EventDetail/index.scss +++ b/enyugma-frontend/src/Pages/EventDetail/index.scss @@ -38,14 +38,22 @@ align-items: center; justify-content: center; flex-wrap: wrap; - } - - - - - - - + .sponsorslis { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + .sponsors { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + + .title { + font-size: 40px; + } + } + } }