From 07a897283b840b61a679c7c0ecd2657692f3db41 Mon Sep 17 00:00:00 2001 From: IanWearsHat Date: Sat, 2 Nov 2024 10:00:22 -0700 Subject: [PATCH] Added visually-hidden heading elements to schedule page --- apps/site/src/app/schedule/Assets/Circle.tsx | 1 + apps/site/src/app/schedule/DayOne/DayOne.tsx | 1 + apps/site/src/app/schedule/DayThree/DayThree.tsx | 1 + apps/site/src/app/schedule/DayTwo/DayTwo.tsx | 1 + apps/site/src/app/schedule/Header/Header.tsx | 4 +++- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/site/src/app/schedule/Assets/Circle.tsx b/apps/site/src/app/schedule/Assets/Circle.tsx index 772cbc02..1330c174 100644 --- a/apps/site/src/app/schedule/Assets/Circle.tsx +++ b/apps/site/src/app/schedule/Assets/Circle.tsx @@ -44,6 +44,7 @@ const EventCircle: React.FC = ({ : position } > +

{title}

{title == "Hacking Ends" ? ( x ) : ( diff --git a/apps/site/src/app/schedule/DayOne/DayOne.tsx b/apps/site/src/app/schedule/DayOne/DayOne.tsx index d6419c8d..87610eac 100644 --- a/apps/site/src/app/schedule/DayOne/DayOne.tsx +++ b/apps/site/src/app/schedule/DayOne/DayOne.tsx @@ -24,6 +24,7 @@ const DayOne: React.FC = ({ schedule, time }) => { return ( <>
+

Day 1

zothacks-map = ({ schedule, time }) => { return ( <>
+

Day 3

zothacks-map
zothacks-path diff --git a/apps/site/src/app/schedule/DayTwo/DayTwo.tsx b/apps/site/src/app/schedule/DayTwo/DayTwo.tsx index 965314d5..fde2cb4c 100644 --- a/apps/site/src/app/schedule/DayTwo/DayTwo.tsx +++ b/apps/site/src/app/schedule/DayTwo/DayTwo.tsx @@ -54,6 +54,7 @@ const DayTwo: React.FC = ({ schedule, time }) => { return ( <>
+

Day 2

zothacks-map
zothacks-path diff --git a/apps/site/src/app/schedule/Header/Header.tsx b/apps/site/src/app/schedule/Header/Header.tsx index 6a72b07e..73f37167 100644 --- a/apps/site/src/app/schedule/Header/Header.tsx +++ b/apps/site/src/app/schedule/Header/Header.tsx @@ -18,7 +18,8 @@ const Header: React.FC = ({ time }) => { return ( <>
- title +

Schedule

+ {time < hackingEnds.getTime() && Chest} {time >= hackingEnds.getTime() && Chest} = ({ time }) => { } isHackingStarted={time >= hackingStarts.getTime()} /> +

Events

);