-
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.
- Loading branch information
1 parent
f296482
commit 39bd420
Showing
10 changed files
with
154 additions
and
153 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
export default function About() { | ||
return ( | ||
<div | ||
className="bg-gray-200 w-full h-[100vh] max-h-[1300px] | ||
flex flex-col justify-center items-center" | ||
className="flex h-[100vh] max-h-[1300px] w-full | ||
flex-col items-center justify-center bg-gray-200" | ||
> | ||
<h1 className="font-extrabold text-5xl"> | ||
About | ||
</h1> | ||
<h1 className="text-5xl font-extrabold">About</h1> | ||
</div> | ||
); | ||
} | ||
} |
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,12 +1,10 @@ | ||
export default function FAQ() { | ||
return ( | ||
<div | ||
className="bg-gray-400 w-full h-[100vh] max-h-[1300px] | ||
flex flex-col justify-center items-center" | ||
className="flex h-[100vh] max-h-[1300px] w-full | ||
flex-col items-center justify-center bg-gray-400" | ||
> | ||
<h1 className="font-extrabold text-5xl"> | ||
FAQ | ||
</h1> | ||
<h1 className="text-5xl font-extrabold">FAQ</h1> | ||
</div> | ||
); | ||
} | ||
} |
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
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,43 +1,48 @@ | ||
import { getSchedule } from "@/app/lib/data"; | ||
import { getSchedule } from '@/app/lib/data'; | ||
|
||
function ScheduleOfTheDay(props: { dayInfo: DayInfo }) { | ||
const { dayInfo } = props; | ||
const { day, times } = dayInfo; | ||
return ( | ||
<div className="flex flex-col w-full my-5"> | ||
<div className="text-5xl md:text-7xl w-full text-center mb-4 font-semibold glow-subtitles text-textSubtitle">{dayInfo.day}</div> | ||
<div className="my-5 flex w-full flex-col"> | ||
<div className="glow-subtitles text-textSubtitle mb-4 w-full text-center text-5xl font-semibold md:text-7xl"> | ||
{dayInfo.day} | ||
</div> | ||
<div className="w-full"> | ||
{times.map((timeInfo, index) => ( | ||
<div className="flex flex-row w-full text-xl my-2 md:my-5 md:px-3 pr-4" | ||
<div | ||
className="my-2 flex w-full flex-row pr-4 text-xl md:my-5 md:px-3" | ||
key={`${day}-${index}`} | ||
> | ||
<div className="w-2/5 h-fit text-right pr-2 font-black">{timeInfo.time}</div> | ||
<div className="w-3/5"> | ||
{timeInfo.event} | ||
<div className="h-fit w-2/5 pr-2 text-right font-black"> | ||
{timeInfo.time} | ||
</div> | ||
|
||
<div className="w-3/5">{timeInfo.event}</div> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
|
||
} | ||
|
||
export default async function Schedule() { | ||
const schedule = await getSchedule(); | ||
|
||
return ( | ||
<div className="w-full flex justify-center px-4 mb-20 relative" | ||
id="Schedule"> | ||
<div className="w-full max-w-7xl h-fit flex flex-col items-center"> | ||
<div className="transparent-black-background w-full text-text rounded-3xl | ||
flex flex-col items-center md:flex-row md:items-start relative"> | ||
<ScheduleOfTheDay dayInfo={schedule["Saturday"]} /> | ||
<div className="w-20 h-2 bg-text md:invisible md:absolute rounded-sm" /> | ||
<ScheduleOfTheDay dayInfo={schedule["Sunday"]} /> | ||
<div | ||
className="relative mb-20 flex w-full justify-center px-4" | ||
id="Schedule" | ||
> | ||
<div className="flex h-fit w-full max-w-7xl flex-col items-center"> | ||
<div | ||
className="transparent-black-background text-text relative flex | ||
w-full flex-col items-center rounded-3xl md:flex-row md:items-start" | ||
> | ||
<ScheduleOfTheDay dayInfo={schedule['Saturday']} /> | ||
<div className="bg-text h-2 w-20 rounded-sm md:invisible md:absolute" /> | ||
<ScheduleOfTheDay dayInfo={schedule['Sunday']} /> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} |
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,12 +1,10 @@ | ||
export default function Sponsors() { | ||
return ( | ||
<div | ||
className="bg-gray-100 w-full h-[100vh] max-h-[1300px] | ||
flex flex-col justify-center items-center" | ||
className="flex h-[100vh] max-h-[1300px] w-full | ||
flex-col items-center justify-center bg-gray-100" | ||
> | ||
<h1 className="font-extrabold text-5xl"> | ||
Sponsors | ||
</h1> | ||
<h1 className="text-5xl font-extrabold">Sponsors</h1> | ||
</div> | ||
); | ||
} | ||
} |
Oops, something went wrong.