From 68cd7bdde77a039cad63b8e9ecc2965c67467278 Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Tue, 17 Sep 2024 21:39:58 -0700 Subject: [PATCH 01/12] Edited text and coloring of first blurb section --- .../_components/JudgingHub/HubHero.module.scss | 16 +++++++++++++--- .../_components/JudgingHub/HubHero.tsx | 9 +++++---- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss index f105bcf9..5a0c566e 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss @@ -1,7 +1,8 @@ .container { width: 100%; overflow: hidden; - background-color: var(--background-secondary); + background-color: #FFF; + // background-color: var(--background-secondary); display: flex; flex-direction: column; justify-content: center; @@ -35,7 +36,7 @@ >p { color: var(--text-light); - font-size: 1.5rem; + font-size: 1.7rem; font-weight: 700; } @@ -43,11 +44,20 @@ width: 100%; >h1 { - background: var(--gradient-primary); + background: #000; + padding-left: 5px; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } + + >p { + + font-size: 1.6rem; + padding-top: 15px; + padding-left: 10px; + text-shadow: 4px 4px 4px rgba(0,0,0,0.31); + } } } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx index 372f4eda..34896ffe 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx @@ -42,9 +42,10 @@ export default function HubHero({ return (
-

Welcome to HackDavis,

+ {/*

Welcome!

*/}
-

{user.name}

+

Welcome! {/*{user.name}*/}

+

We appreciate you for helping us judge one of California's biggest hackathons!

@@ -53,13 +54,13 @@ export default function HubHero({ Judge Wig
-
{speechBubbleTail}
+ {/*
{speechBubbleTail}

You're paired with...

{members.map((member: string, index: number) => (

{member}

- ))} + ))} */}
Date: Tue, 17 Sep 2024 21:52:18 -0700 Subject: [PATCH 02/12] Updated second and third blurb sections --- .../_components/JudgingHub/JudgingList.module.scss | 6 +++++- .../_components/JudgingHub/JudgingList.tsx | 6 +++--- .../_components/JudgingHub/ProjectCarousel.tsx | 4 ++-- .../JudgingHub/TableLocations.module.scss | 14 ++++++-------- .../_components/JudgingHub/TableLocations.tsx | 6 +++--- 5 files changed, 19 insertions(+), 17 deletions(-) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.module.scss index 030f4cf8..e66b4f03 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.module.scss @@ -14,8 +14,12 @@ display: flex; flex-direction: column; + > h3 { + font-size: 1.8rem; + } + span { - font-weight: 700; + font-weight: 600; } } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx index 9db340e0..d23785a5 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx @@ -6,10 +6,10 @@ export default function JudgingList({ projects }: { projects: object[] }) { return (
-

Judging has begun!

-

+

While you’re waiting, feel free to...

+ {/*

You have {projects.length} team(s) left to judge: -

+

*/}
diff --git a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx b/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx index 6132a17a..5b4a777c 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx @@ -63,7 +63,7 @@ export default function JudgingList({ projects }: { projects: object[] }) { return (
-
+ {/*
{projects.map((project, index) => ( @@ -112,7 +112,7 @@ export default function JudgingList({ projects }: { projects: object[] }) { }} /> -
+
*/}
); } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss index 43066c65..1edf4949 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss @@ -4,7 +4,7 @@ align-items: center; flex-direction: column; gap: 10px; - background: #173A52; + // background: #173A52; width: 100%; height: fit-content; @@ -13,18 +13,16 @@ .header { color: black; font-family: "Proxima Nova"; - font-size: 18px; + font-size: 1.4rem; font-style: normal; - font-weight: 700; - line-height: normal; + line-height: 1.2; letter-spacing: 0.36px; - + font-weight: 500; border-radius: 15.497px; background: white; - box-shadow: 0px 3.874px 61.987px 0px rgba(255, 197, 61, 0.16); padding: 10px; - width: 100%; - text-align: center; + margin: 10px; + text-align: left; } .map { width: 90%; diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx index 89103117..a7f84d3c 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx @@ -25,9 +25,9 @@ export default function TableLocations() { return (
- -
Click Here for Table Map
- +

+

If you have any questions, please ask a HackDavis director (dark blue shirt)!
+

Sign out

From a7bb045a0f75df57abbf441010ee4049d1accc45 Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Wed, 18 Sep 2024 18:03:41 -0700 Subject: [PATCH 03/12] Added svg files for vinyl --- .../JudgingHub/HubHero.module.scss | 39 +++++--- .../_components/JudgingHub/HubHero.tsx | 29 +++++- .../JudgingHub/JudgingList.module.scss | 23 ++++- .../_components/JudgingHub/JudgingList.tsx | 12 ++- .../JudgingHub/TableLocations.module.scss | 26 +++-- .../_components/JudgingHub/TableLocations.tsx | 13 ++- public/judges/hub/Bunny_hand.svg | 30 ++++++ public/judges/hub/judgingheroes.svg | 75 +++++++++++++++ public/judges/hub/vinyl.svg | 96 +++++++++++++++++++ public/judges/hub/vinyl_player.svg | 3 + 10 files changed, 313 insertions(+), 33 deletions(-) create mode 100644 public/judges/hub/Bunny_hand.svg create mode 100644 public/judges/hub/judgingheroes.svg create mode 100644 public/judges/hub/vinyl.svg create mode 100644 public/judges/hub/vinyl_player.svg diff --git a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss index 5a0c566e..f2c73dbd 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss @@ -1,7 +1,7 @@ .container { width: 100%; overflow: hidden; - background-color: #FFF; + background-color: #f2f2f7; // background-color: var(--background-secondary); display: flex; flex-direction: column; @@ -10,19 +10,19 @@ position: relative; .top_blurb { - position: absolute; + //position: absolute; right: 0; top: 0; } .top_left_blurb { - position: absolute; + //position: absolute; left: 0; top: 0; } .bottom_blurb { - position: absolute; + //position: absolute; right: 0; bottom: 0; } @@ -36,7 +36,7 @@ >p { color: var(--text-light); - font-size: 1.7rem; + font-size: .8rem; font-weight: 700; } @@ -61,8 +61,25 @@ } } +.judgecontainer{ + + .judgingheroes { + //display: block; + z-index: 1; + height: auto; + align-items: center; + text-align: center; + + /* background-color: gray; + display: flex; + width: 100%; + z-index: 1; + padding: 25%; */ + } +} + .gavel_cow { - position: relative; +/* position: relative; display: flex; flex-direction: row; justify-content: space-between; @@ -70,11 +87,7 @@ z-index: 1; .cow_container { - position: relative; display: flex; - flex-direction: column-reverse; - width: 50%; - margin-right: -5%; .cow { height: auto; @@ -89,7 +102,7 @@ left: 0; margin-left: -5%; } - } + } */ .blurb { width: 45%; @@ -97,10 +110,10 @@ flex-direction: column; gap: var(--small-spacer); padding: 11px; - position: absolute; + //position: absolute; right: var(--small-spacer); top: var(--small-spacer); - background-color: var(--background-light); + // background-color: var(--background-light); border-radius: var(--b-radius); .intro_text { diff --git a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx index 34896ffe..87ea7eba 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx @@ -3,6 +3,7 @@ import styles from './HubHero.module.scss'; import Image from 'next/image'; +import judgeHeroes from '/public/judges/hub/judgingheroes.svg'; import judgeCow from '/public/judges/hub/judge-cow.svg'; import judgeWig from '/public/judges/hub/judge-wig.svg'; import bg_topleft from '/public/judges/hub/topleft.svg'; @@ -48,10 +49,30 @@ export default function HubHero({

We appreciate you for helping us judge one of California's biggest hackathons!

+
- Judge Cow - Judge Wig + +
+ +
+ Judging Animals +
+ +
+ + {/* Judging Animals */} + + {/* Judge Cow + Judge Wig */}
{/*
{speechBubbleTail}
@@ -63,7 +84,7 @@ export default function HubHero({ ))} */}
- bottom blurb + /> */}
); } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.module.scss index e66b4f03..dc8f3a8d 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.module.scss @@ -1,10 +1,9 @@ .container { width: 100%; - padding: 27px 0px; + padding: 40px 0px; display: flex; flex-direction: column; - gap: 25px; - background-color: var(--background-tertiary); + background-color: #f2f2f7; .top_text { display: flex; @@ -15,12 +14,28 @@ flex-direction: column; > h3 { - font-size: 1.8rem; + font-weight: 700; + font-size: 1.7rem; + text-align: center; } span { font-weight: 600; } + + .options { + background-color: #f2f2f7; + text-align: center; + + .box { + border-radius: 20px; + background-color: white; + padding: 5%; + margin: 15px; + font-size: 1.5rem; + box-shadow: 0px 4px 8px 4px rgba(195, 194, 194, 0.08); + } + } } .projects_button { diff --git a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx index d23785a5..82850ff9 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx @@ -10,9 +10,17 @@ export default function JudgingList({ projects }: { projects: object[] }) { {/*

You have {projects.length} team(s) left to judge:

*/} + +
+
πŸ”‹ Charge your phone!
+
πŸ‘‹ Say hi to other judges!
+
🍿 Grab a snack and water!
+
+ + - + {/* View All Projects - + */} ); } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss index 1edf4949..2c4b7c87 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss @@ -3,12 +3,11 @@ justify-content: center; align-items: center; flex-direction: column; - gap: 10px; - // background: #173A52; + background: #f2f2f7; width: 100%; - + background-color: aquamarine; height: fit-content; - padding: 10% 17px 60px 17px; + padding: 5%; .header { color: black; @@ -18,10 +17,7 @@ line-height: 1.2; letter-spacing: 0.36px; font-weight: 500; - border-radius: 15.497px; - background: white; - padding: 10px; - margin: 10px; + padding: 5%; text-align: left; } .map { @@ -31,4 +27,18 @@ background: #000; padding: 10%; } + + .vinyl { + animation: spin 6s linear infinite; + } + + @keyframes spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } + } + } \ No newline at end of file diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx index a7f84d3c..efd40bed 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx @@ -1,6 +1,8 @@ import styles from './TableLocations.module.scss'; import LogoutButton from '../LogoutButton/LogoutButton'; import Link from 'next/link'; +import Image from 'next/image'; +import vinyl from '/public/judges/hub/vinyl.svg'; export default function TableLocations() { const logOutStyle = { zIndex: 1, @@ -28,9 +30,16 @@ export default function TableLocations() {

If you have any questions, please ask a HackDavis director (dark blue shirt)!

- + + Vinyl + + {/*

Sign out

-
+
*/} ); } diff --git a/public/judges/hub/Bunny_hand.svg b/public/judges/hub/Bunny_hand.svg new file mode 100644 index 00000000..ab4f2c31 --- /dev/null +++ b/public/judges/hub/Bunny_hand.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/judges/hub/judgingheroes.svg b/public/judges/hub/judgingheroes.svg new file mode 100644 index 00000000..3ba3a24f --- /dev/null +++ b/public/judges/hub/judgingheroes.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/judges/hub/vinyl.svg b/public/judges/hub/vinyl.svg new file mode 100644 index 00000000..ea802147 --- /dev/null +++ b/public/judges/hub/vinyl.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/judges/hub/vinyl_player.svg b/public/judges/hub/vinyl_player.svg new file mode 100644 index 00000000..b6724136 --- /dev/null +++ b/public/judges/hub/vinyl_player.svg @@ -0,0 +1,3 @@ + + + From f1a3df33546c0bb4b1ebe00b3cd6136732f77775 Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Wed, 18 Sep 2024 21:06:23 -0700 Subject: [PATCH 04/12] Added vinyl components to the landing page --- .../JudgingHub/TableLocations.module.scss | 1 + .../_components/JudgingHub/TableLocations.tsx | 14 ++++++++++++++ .../judges/hub/{Bunny_hand.svg => bunny-hand.svg} | 0 .../hub/{vinyl_player.svg => vinyl-player.svg} | 0 4 files changed, 15 insertions(+) rename public/judges/hub/{Bunny_hand.svg => bunny-hand.svg} (100%) rename public/judges/hub/{vinyl_player.svg => vinyl-player.svg} (100%) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss index 2c4b7c87..df202266 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss @@ -30,6 +30,7 @@ .vinyl { animation: spin 6s linear infinite; + z-index: 1; } @keyframes spin { diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx index efd40bed..b81a82d4 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx @@ -3,6 +3,8 @@ import LogoutButton from '../LogoutButton/LogoutButton'; import Link from 'next/link'; import Image from 'next/image'; import vinyl from '/public/judges/hub/vinyl.svg'; +import bunnyHand from '/public/judges/hub/bunny-hand.svg'; +import vinylPlayer from '/public/judges/hub/vinyl-player.svg'; export default function TableLocations() { const logOutStyle = { zIndex: 1, @@ -37,6 +39,18 @@ export default function TableLocations() { className={styles.vinyl} /> + Bunny hand + + Vinyl Player + {/*

Sign out

*/} diff --git a/public/judges/hub/Bunny_hand.svg b/public/judges/hub/bunny-hand.svg similarity index 100% rename from public/judges/hub/Bunny_hand.svg rename to public/judges/hub/bunny-hand.svg diff --git a/public/judges/hub/vinyl_player.svg b/public/judges/hub/vinyl-player.svg similarity index 100% rename from public/judges/hub/vinyl_player.svg rename to public/judges/hub/vinyl-player.svg From 89947657db7863e53a2bda99bc51d74f60bb4aca Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Tue, 24 Sep 2024 13:39:37 -0700 Subject: [PATCH 05/12] Formatted vinyl --- .../JudgingHub/TableLocations.module.scss | 24 ++++++++++++-- .../_components/JudgingHub/TableLocations.tsx | 32 ++++++++++--------- 2 files changed, 38 insertions(+), 18 deletions(-) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss index df202266..ad12f77a 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss @@ -5,14 +5,14 @@ flex-direction: column; background: #f2f2f7; width: 100%; - background-color: aquamarine; height: fit-content; - padding: 5%; + padding: 10%; + position: relative; .header { color: black; font-family: "Proxima Nova"; - font-size: 1.4rem; + font-size: 1.2rem; font-style: normal; line-height: 1.2; letter-spacing: 0.36px; @@ -31,6 +31,24 @@ .vinyl { animation: spin 6s linear infinite; z-index: 1; + position: absolute; + height: auto; + width: auto; + // width: 55%; + } + + .bunny_hand { + position: absolute; + bottom: 0; + width: auto; + right:23%; + height: auto; + z-index: 1; /* If necessary */ + } + + .vinyl_player { + margin-top: 5%; + position: relative; } @keyframes spin { diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx index b81a82d4..69d06833 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx @@ -33,23 +33,25 @@ export default function TableLocations() {
If you have any questions, please ask a HackDavis director (dark blue shirt)!

- Vinyl +
+ Vinyl - Bunny hand + Bunny hand - Vinyl Player + Vinyl Player +
{/*

Sign out

From d4e20b155a8ebc4b3752bc7ae9e1f0285333d867 Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Tue, 24 Sep 2024 13:44:42 -0700 Subject: [PATCH 06/12] Updated vinyl formatting --- .../_components/JudgingHub/TableLocations.module.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss index ad12f77a..fd3d1bc0 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss @@ -6,7 +6,9 @@ background: #f2f2f7; width: 100%; height: fit-content; - padding: 10%; + padding-left: 10%; + padding-right: 10%; + padding-bottom: 10%; position: relative; .header { From 868ef4ca302d87b84c9f10a5b1a00bab87c77f6e Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Tue, 24 Sep 2024 16:36:09 -0700 Subject: [PATCH 07/12] Update ProjectCarousel.tsx --- .../(index-page)/_components/JudgingHub/ProjectCarousel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx b/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx index 5b4a777c..6132a17a 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx @@ -63,7 +63,7 @@ export default function JudgingList({ projects }: { projects: object[] }) { return (
- {/*
+
{projects.map((project, index) => ( @@ -112,7 +112,7 @@ export default function JudgingList({ projects }: { projects: object[] }) { }} /> -
*/} +
); } From 1113f896ac17d954f9719598cc5e19255bfde384 Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Wed, 25 Sep 2024 19:56:08 -0700 Subject: [PATCH 08/12] Removed carousel --- .../(index-page)/_components/JudgingHub/ProjectCarousel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx b/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx index 6132a17a..5b4a777c 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx @@ -63,7 +63,7 @@ export default function JudgingList({ projects }: { projects: object[] }) { return (
-
+ {/*
{projects.map((project, index) => ( @@ -112,7 +112,7 @@ export default function JudgingList({ projects }: { projects: object[] }) { }} /> -
+
*/}
); } From b55b4d54c153b4c1a78839b707d72775005cb0bf Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Wed, 25 Sep 2024 21:08:43 -0700 Subject: [PATCH 09/12] Created blue div at top "View Projects" --- .../JudgingHub/HubHero.module.scss | 2 +- .../_components/JudgingHub/JudgingHub.tsx | 2 ++ .../JudgingHub/ViewProjects.module.scss | 28 +++++++++++++++++++ .../_components/JudgingHub/ViewProjects.tsx | 13 +++++++++ 4 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.module.scss create mode 100644 app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.tsx diff --git a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss index f2c73dbd..0eabd286 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss @@ -28,7 +28,7 @@ } .welcome_text { - padding: 68px 13px 0px 13px; + padding: 50px 5% 0px 5%; display: flex; flex-direction: column; gap: var(--tiny-spacer); diff --git a/app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx b/app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx index ccf7a216..4a321b14 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx @@ -4,6 +4,7 @@ import styles from './JudgingHub.module.scss'; import HubHero from './HubHero'; import JudgingList from './JudgingList'; import TableLocations from './TableLocations'; +import ViewProjects from './ViewProjects'; import { useSubmissions } from '@hooks/useSubmissions'; import { useJudgeGroup } from '@hooks/useJudgeGroup'; @@ -13,6 +14,7 @@ export default function JudgingHub() { const { unjudgedTeams } = useSubmissions(); return (
+ diff --git a/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.module.scss new file mode 100644 index 00000000..ce8d5540 --- /dev/null +++ b/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.module.scss @@ -0,0 +1,28 @@ +.container { + background-color: #f2f2f7; + padding: 68px 5% 0px 5%; + + + h1 { + font-size: 1.5rem; + } + + p { + font-size: 1.2rem; + } + + button { + border: solid 1.5px #005271; + color: black; + background-color: white; + border-radius: 8px; + margin-top: 4%; + width: 100%; + } + + .projects { + background-color: #9EE7E5; + border-radius: 16px; + padding: 7%; + } +} \ No newline at end of file diff --git a/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.tsx b/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.tsx new file mode 100644 index 00000000..292babfd --- /dev/null +++ b/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.tsx @@ -0,0 +1,13 @@ +import styles from './ViewProjects.module.scss'; + +export default function ViewProjects() { + return ( +
+
+

πŸ‘‹ Attention

+

Judging is now live. Please start making your way to the tables.

+ +
+
+ ); +} \ No newline at end of file From a21c1e38d9acb4a67846dee6edde5d6673da94e5 Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Thu, 26 Sep 2024 20:13:48 -0700 Subject: [PATCH 10/12] Removed drop shadow from text and fixed formatting of text --- .../_components/JudgingHub/HubHero.module.scss | 2 +- .../JudgingHub/TableLocations.module.scss | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss index 0eabd286..5e580b24 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.module.scss @@ -56,7 +56,7 @@ font-size: 1.6rem; padding-top: 15px; padding-left: 10px; - text-shadow: 4px 4px 4px rgba(0,0,0,0.31); + // text-shadow: 4px 4px 4px rgba(0,0,0,0.31); } } } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss index fd3d1bc0..d6d0d755 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss @@ -6,20 +6,20 @@ background: #f2f2f7; width: 100%; height: fit-content; - padding-left: 10%; - padding-right: 10%; + padding-left: 7%; + padding-right: 7%; padding-bottom: 10%; position: relative; .header { color: black; font-family: "Proxima Nova"; - font-size: 1.2rem; + font-size: 1.5rem; font-style: normal; line-height: 1.2; letter-spacing: 0.36px; - font-weight: 500; - padding: 5%; + padding-bottom: 20px; + // font-weight: 500; text-align: left; } .map { @@ -41,9 +41,9 @@ .bunny_hand { position: absolute; - bottom: 0; + bottom: -10px; width: auto; - right:23%; + right: 23%; height: auto; z-index: 1; /* If necessary */ } From 63313b42f631f6a15966acf56e428b61c2c69537 Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Thu, 26 Sep 2024 20:18:07 -0700 Subject: [PATCH 11/12] Fixed floating bunny hand --- .../_components/JudgingHub/TableLocations.module.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss index d6d0d755..13547231 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.module.scss @@ -10,6 +10,7 @@ padding-right: 7%; padding-bottom: 10%; position: relative; + overflow: hidden; .header { color: black; @@ -41,6 +42,7 @@ .bunny_hand { position: absolute; + overflow: hidden; bottom: -10px; width: auto; right: 23%; From 9b025b0b4b6721a10ae183f8720efdd11c83e1ba Mon Sep 17 00:00:00 2001 From: Haylie Tan <141064325+haylietan@users.noreply.github.com> Date: Mon, 30 Sep 2024 13:08:25 -0700 Subject: [PATCH 12/12] Fixed errors and removed TableLocations file --- .../_components/JudgingHub/HubHero.tsx | 74 ++--------- .../_components/JudgingHub/JudgingHub.tsx | 8 +- .../_components/JudgingHub/JudgingList.tsx | 33 +---- .../JudgingHub/ProjectCarousel.module.scss | 110 ---------------- .../JudgingHub/ProjectCarousel.tsx | 118 ------------------ .../_components/JudgingHub/TableLocations.tsx | 32 ++--- .../_components/JudgingHub/ViewProjects.tsx | 12 +- 7 files changed, 30 insertions(+), 357 deletions(-) delete mode 100644 app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.module.scss delete mode 100644 app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx diff --git a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx index 87ea7eba..00e730f6 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/HubHero.tsx @@ -1,19 +1,10 @@ import JudgeInt from '@typeDefs/judges'; import styles from './HubHero.module.scss'; - import Image from 'next/image'; - import judgeHeroes from '/public/judges/hub/judgingheroes.svg'; -import judgeCow from '/public/judges/hub/judge-cow.svg'; -import judgeWig from '/public/judges/hub/judge-wig.svg'; -import bg_topleft from '/public/judges/hub/topleft.svg'; -import bg_top from '/public/judges/hub/topright.svg'; -import bg_bottom from '/public/judges/hub/bottom.svg'; export default function HubHero({ - user, loading, - members, }: { user: JudgeInt; loading: boolean; @@ -23,60 +14,27 @@ export default function HubHero({ return 'loading...'; } - const speechBubbleTail = ( - - - - ); - return (
- {/*

Welcome!

*/}
-

Welcome! {/*{user.name}*/}

-

We appreciate you for helping us judge one of California's biggest hackathons!

+

Welcome!

+

+ We appreciate you for helping us judge one of California's biggest + hackathons! +

- -
-
- -
- -
- Judging Animals -
- -
- - {/* +
+ Judging Animals */} - - {/* Judge Cow - Judge Wig */} + />
- {/*
{speechBubbleTail}
-

You're paired with...

+ {/*

You're paired with...

{members.map((member: string, index: number) => (

{member} @@ -84,18 +42,6 @@ export default function HubHero({ ))} */}

- {/*bottom blurb - top blurb - top left blurb */}
); } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx b/app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx index 4a321b14..4c785bda 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx @@ -1,22 +1,18 @@ import { useAuth } from '@hooks/useAuth'; - import styles from './JudgingHub.module.scss'; import HubHero from './HubHero'; -import JudgingList from './JudgingList'; import TableLocations from './TableLocations'; import ViewProjects from './ViewProjects'; -import { useSubmissions } from '@hooks/useSubmissions'; import { useJudgeGroup } from '@hooks/useJudgeGroup'; export default function JudgingHub() { const { user, loading } = useAuth(); const { members } = useJudgeGroup(); - const { unjudgedTeams } = useSubmissions(); return (
- + - + {/* */}
); diff --git a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx index 82850ff9..ad6e7412 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx @@ -1,43 +1,16 @@ -import Link from 'next/link'; import styles from './JudgingList.module.scss'; -import ProjectCarousel from './ProjectCarousel'; -export default function JudgingList({ projects }: { projects: object[] }) { +export default function JudgingList() { return (
-

While you’re waiting, feel free to...

- {/*

- You have {projects.length} team(s) left to judge: -

*/} - +

While you're waiting, feel free to...

-
πŸ”‹ Charge your phone!
+
πŸ”‹ Charge your phone!
πŸ‘‹ Say hi to other judges!
🍿 Grab a snack and water!
- -
- - {/* - View All Projects - - - - */}
); } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.module.scss b/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.module.scss deleted file mode 100644 index dac81b4a..00000000 --- a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.module.scss +++ /dev/null @@ -1,110 +0,0 @@ -.container { - width: 100%; - display: flex; - flex-direction: column; - gap: 25px; - - .viewport { - overflow: hidden; - width: 100%; - - .projects { - display: flex; - flex-direction: row; - gap: 15px; - padding: 0px 17px; - - .card_container { - display: flex; - flex-direction: column; - width: 45%; - flex-shrink: 0; - padding: 10px; - background-color: var(--background-secondary-light); - border-radius: var(--b-radius-large); - gap: var(--tiny-spacer); - - >h2 { - color: var(--hd-orange); - font-size: 2rem; - font-weight: 700; - } - - >p { - color: var(--text-light); - font-size: 1rem; - font-weight: 500; - } - - .project_category { - width: fit-content; - display: flex; - padding: 1.876px 11.257px; - flex-direction: column; - justify-content: center; - align-items: center; - gap: 7.998px; - border-radius: 15.009px; - background: #FFF; - box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.10); - - color: #000; - font-family: "Proxima Nova"; - font-size: 14px; - font-style: normal; - font-weight: 500; - line-height: 125%; /* 17.5px */ - letter-spacing: 0.28px; - } - .category_bubble { - display: flex; - padding: 2px 4px; - justify-content: center; - align-items: center; - gap: 10px; - height: 21px; - width: 26px; - - border-radius: 15.009px; - background: #9EE7E5; - box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.10); - - } - } - } - } - - .controls { - display: flex; - flex-direction: row; - align-items: center; - gap: var(--small-medium-spacer); - padding: 0px 17px; - - >button { - border: none; - background: none; - width: 64px; - aspect-ratio: 1; - flex-grow: 0; - } - - .progress { - position: relative; - flex-grow: 1; - height: 6px; - border-radius: 3px; - background-color: var(--text-gray-light); - - .progress_bar { - position: absolute; - width: 20%; - border-radius: 10px; - top: 0; - bottom: 0; - left: 0%; - background-color: #1FBBC0; - } - } - } -} \ No newline at end of file diff --git a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx b/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx deleted file mode 100644 index 5b4a777c..00000000 --- a/app/(pages)/(index-page)/_components/JudgingHub/ProjectCarousel.tsx +++ /dev/null @@ -1,118 +0,0 @@ -'use client'; - -import Image from 'next/image'; -import { useRef, useCallback } from 'react'; -import styles from './ProjectCarousel.module.scss'; -import useEmblaCarousel from 'embla-carousel-react'; -import { WheelGesturesPlugin } from 'embla-carousel-wheel-gestures'; -import { useCarouselProgress } from '@hooks/useCarouselProgress'; -import Link from 'next/link'; - -function JudgingCard({ project }: { project: any }) { - return ( - -

#{project.number}

-

{project.name}

- - {project.tracks[0] && ( -
{project.tracks[0]}
- )} - - {project.tracks[1] && ( -
{project.tracks[1]}
- )} - - {project.tracks.length > 2 && ( -
{`${ - project.tracks.length - 2 - }+`}
- )} - - ); -} - -export default function JudgingList({ projects }: { projects: object[] }) { - const progressBarRef = useRef(null); - - const [emblaRef, emblaApi] = useEmblaCarousel( - { - loop: false, - align: 'start', - dragFree: true, - skipSnaps: true, - watchDrag: true, - }, - [WheelGesturesPlugin()] - ); - - const { scrollProgress, handleProgressBarClick } = - useCarouselProgress(emblaApi); - - const onPrevButtonClick = useCallback(() => { - if (!emblaApi) return; - emblaApi.scrollPrev(); - }, [emblaApi]); - - const onNextButtonClick = useCallback(() => { - if (!emblaApi) return; - emblaApi.scrollNext(); - }, [emblaApi]); - - return ( -
- {/*
-
- {projects.map((project, index) => ( - - ))} -
-
-
- -
-
event.stopPropagation()} - /> -
- -
*/} -
- ); -} diff --git a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx index 69d06833..8c0dd572 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/TableLocations.tsx @@ -1,12 +1,10 @@ import styles from './TableLocations.module.scss'; -import LogoutButton from '../LogoutButton/LogoutButton'; -import Link from 'next/link'; import Image from 'next/image'; import vinyl from '/public/judges/hub/vinyl.svg'; import bunnyHand from '/public/judges/hub/bunny-hand.svg'; import vinylPlayer from '/public/judges/hub/vinyl-player.svg'; export default function TableLocations() { - const logOutStyle = { + /* const logOutStyle = { zIndex: 1, borderRadius: '15.497px', background: '#9EE7E5', @@ -26,36 +24,24 @@ export default function TableLocations() { }; const figmaLink = 'https://www.figma.com/proto/9frZI5Kc9f2c8o4ZIZG8fX/Judging-Table-Map?page-id=0:1&type=design&node-id=1-4&viewport=134,164,0.69&t=Jfp4HXeR7nRs3B6R-1&scaling=min-zoom&mode=design'; - + */ return (

-

If you have any questions, please ask a HackDavis director (dark blue shirt)!
+
+ If you have any questions, please ask a HackDavis director (dark blue + shirt)! +

-
- Vinyl - - Bunny hand - + Vinyl + Bunny hand Vinyl Player -
- - {/* -

Sign out

-
*/} +
); } diff --git a/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.tsx b/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.tsx index 292babfd..e7fe173b 100644 --- a/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.tsx +++ b/app/(pages)/(index-page)/_components/JudgingHub/ViewProjects.tsx @@ -3,11 +3,11 @@ import styles from './ViewProjects.module.scss'; export default function ViewProjects() { return (
-
-

πŸ‘‹ Attention

-

Judging is now live. Please start making your way to the tables.

- -
+
+

πŸ‘‹ Attention

+

Judging is now live. Please start making your way to the tables.

+ +
); -} \ No newline at end of file +}