generated from include-davis/Next.js-App-Router-Starter
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from HackDavis/feat/landing-page
Feat/landing page
- Loading branch information
Showing
15 changed files
with
397 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
app/(pages)/(index-page)/_components/JudgingHub/JudgingHub.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 7 additions & 26 deletions
33
app/(pages)/(index-page)/_components/JudgingHub/JudgingList.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +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 ( | ||
<div className={styles.container}> | ||
<div className={styles.top_text}> | ||
<h3>Judging has begun!</h3> | ||
<p> | ||
You have <span>{projects.length}</span> team(s) left to judge: | ||
</p> | ||
<h3>While you're waiting, feel free to...</h3> | ||
<div className={styles.options}> | ||
<div className={styles.box}>🔋 Charge your phone!</div> | ||
<div className={styles.box}>👋 Say hi to other judges!</div> | ||
<div className={styles.box}>🍿 Grab a snack and water!</div> | ||
</div> | ||
</div> | ||
<ProjectCarousel projects={projects} /> | ||
<Link href="/judges/projects" className={styles.projects_button}> | ||
View All Projects | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="21" | ||
height="21" | ||
viewBox="0 0 21 21" | ||
fill="none" | ||
> | ||
<path | ||
d="M5.25156 11.2527L17.2516 11.2527M17.2516 11.2527L12.3104 7.25269M17.2516 11.2527L12.3104 15.2527" | ||
stroke="#173A52" | ||
strokeWidth="1.5" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
</Link> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.