Skip to content

Commit

Permalink
Changed existing titles to headings
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWearsHat committed Nov 2, 2024
1 parent 07a8972 commit f9dbdd6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
3 changes: 2 additions & 1 deletion apps/site/src/app/schedule/Assets/Circle.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@

.title {
text-align: center;
font-weight: 600;
font-size: 1.5rem;
width: 200px;
font-weight: bold;
}

.time {
Expand Down
3 changes: 1 addition & 2 deletions apps/site/src/app/schedule/Assets/Circle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const EventCircle: React.FC<CircleProps> = ({
: position
}
>
<h4 className="visually-hidden">{title}</h4>
{title == "Hacking Ends" ? (
<Image src={cross} alt="x" />
) : (
Expand All @@ -60,7 +59,7 @@ const EventCircle: React.FC<CircleProps> = ({
></div>
)}
<div className={styles.textContainer} style={up ? { top: "-160px" } : {}}>
<p className={styles.title}>{title}</p>
<h4 className={styles.title}>{title}</h4>
<p className={styles.location}>{location}</p>
<p className={styles.time}>{convertTime(startTime, endTime)}</p>
{virtual && (
Expand Down
3 changes: 1 addition & 2 deletions apps/site/src/app/schedule/DayOne/DayOne.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const DayOne: React.FC<DayOneProps> = ({ schedule, time }) => {
return (
<>
<div className={styles.mapContainer}>
<h3 className="visually-hidden">Day 1</h3>
<Image src={Map1} alt="zothacks-map" className={styles.map1} />
<Image
src={MobileMap}
Expand Down Expand Up @@ -52,7 +51,7 @@ const DayOne: React.FC<DayOneProps> = ({ schedule, time }) => {
virtual={event?.virtual}
/>
))}
<p className={styles.title}>Day One</p>
<h3 className={styles.title}>Day One</h3>
</div>
</div>
</>
Expand Down
3 changes: 1 addition & 2 deletions apps/site/src/app/schedule/DayThree/DayThree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const DayThree: React.FC<DayThreeProps> = ({ schedule, time }) => {
return (
<>
<div className={styles.mapContainer}>
<h3 className="visually-hidden">Day 3</h3>
<Image src={Map3} alt="zothacks-map" className={styles.map3} />
<div className={styles.mapPath}>
<Image src={Path} alt="zothacks-path" className={styles.pathImage} />
Expand All @@ -57,7 +56,7 @@ const DayThree: React.FC<DayThreeProps> = ({ schedule, time }) => {
virtual={event?.virtual}
/>
))}
<p className={styles.title}>Day Three</p>
<h3 className={styles.title}>Day Three</h3>
</div>
</div>
</>
Expand Down
3 changes: 1 addition & 2 deletions apps/site/src/app/schedule/DayTwo/DayTwo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ const DayTwo: React.FC<DayTwoProps> = ({ schedule, time }) => {
return (
<>
<div className={styles.mapContainer}>
<h3 className="visually-hidden">Day 2</h3>
<Image src={Map2} alt="zothacks-map" className={styles.map2} />
<div className={styles.mapPath}>
<Image src={Path} alt="zothacks-path" className={styles.pathImage} />
Expand All @@ -76,7 +75,7 @@ const DayTwo: React.FC<DayTwoProps> = ({ schedule, time }) => {
virtual={event?.virtual}
/>
))}
<p className={styles.title}>Day Two</p>
<h3 className={styles.title}>Day Two</h3>
</div>
</div>
</>
Expand Down

0 comments on commit f9dbdd6

Please sign in to comment.