diff --git a/app/(landing)/sections/About.tsx b/app/(landing)/sections/About.tsx index dfecb47..2600992 100644 --- a/app/(landing)/sections/About.tsx +++ b/app/(landing)/sections/About.tsx @@ -1,7 +1,13 @@ -import Image from "next/image"; -import clsx from "clsx"; +import Image from 'next/image'; +import clsx from 'clsx'; -function AboutInfo({ children, title, imageSrc, alt, reverse }: { +function AboutInfo({ + children, + title, + imageSrc, + alt, + reverse, +}: { children: React.ReactNode; title: string; imageSrc: string; @@ -12,15 +18,13 @@ function AboutInfo({ children, title, imageSrc, alt, reverse }: { return (
-

- {title} -

+

{title}

{children}
); @@ -30,20 +34,14 @@ function AboutInfo({ children, title, imageSrc, alt, reverse }: { return (
- {alt} + {alt}
); } @@ -67,8 +65,10 @@ function AboutInfo({ children, title, imageSrc, alt, reverse }: { export default function About() { return ( -
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed diff --git a/app/(landing)/sections/FAQ/FAQ.tsx b/app/(landing)/sections/FAQ/FAQ.tsx index b663291..f402ba0 100644 --- a/app/(landing)/sections/FAQ/FAQ.tsx +++ b/app/(landing)/sections/FAQ/FAQ.tsx @@ -1,9 +1,9 @@ -"use client"; +'use client'; -import React from "react"; -import { Disclosure } from "@headlessui/react"; -import { GoChevronDown } from "react-icons/go"; -import { hackRUFAQ } from "@/app/lib/constants"; +import React from 'react'; +import { Disclosure } from '@headlessui/react'; +import { GoChevronDown } from 'react-icons/go'; +import { hackRUFAQ } from '@/app/lib/constants'; /** * TODO: make it so that only one question can be open at a time. @@ -14,19 +14,21 @@ function Question(props: { question: string; answer: string }) { return ( {({ open }) => ( -

- + + focus-visible:ring-opacity-75" + > {question} - + {answer}
@@ -49,21 +51,15 @@ function QuestionContainer() { } = hackRUFAQ; return ( -
-
+
+
- + - +
- - + + -
+
diff --git a/app/(landing)/sections/GenericSection.tsx b/app/(landing)/sections/GenericSection.tsx index 4f0f18c..5ff0612 100644 --- a/app/(landing)/sections/GenericSection.tsx +++ b/app/(landing)/sections/GenericSection.tsx @@ -1,6 +1,5 @@ -import { type } from "os"; -import SectionTitle from "./SectionTitle"; -import { ReactNode } from "react"; +import SectionTitle from './SectionTitle'; +import { ReactNode } from 'react'; type GenericSectionProps = { children: ReactNode; @@ -8,11 +7,11 @@ type GenericSectionProps = { color: string; }; -export default async function GenericSection(props: GenericSectionProps) { +export default function GenericSection(props: GenericSectionProps) { return (
{props.children} diff --git a/app/(landing)/sections/Hero/Hero.tsx b/app/(landing)/sections/Hero/Hero.tsx index 4b50c22..7231b86 100644 --- a/app/(landing)/sections/Hero/Hero.tsx +++ b/app/(landing)/sections/Hero/Hero.tsx @@ -8,21 +8,21 @@ export default function Hero() {
- - {/*
*/} -
+
-
WELCOME TO OUR
+
+ WELCOME TO OUR +
SCHOOL OF
CODECRAFT &
CIRCUITRY!
diff --git a/app/(landing)/sections/Schedule.tsx b/app/(landing)/sections/Schedule.tsx index c3d14f5..a9e2535 100644 --- a/app/(landing)/sections/Schedule.tsx +++ b/app/(landing)/sections/Schedule.tsx @@ -1,5 +1,5 @@ -import { getSchedule } from "@/app/lib/data"; -import SectionTitle from "./SectionTitle"; +import { getSchedule } from '@/app/lib/data'; +import SectionTitle from './SectionTitle'; function ScheduleOfTheDay(props: { dayInfo: DayInfo }) { const { dayInfo } = props; @@ -35,11 +35,13 @@ export default async function Schedule() { id="Schedule" >
-
- +
+
- +
diff --git a/app/(landing)/sections/SectionTitle.tsx b/app/(landing)/sections/SectionTitle.tsx index 8a085da..51804c5 100644 --- a/app/(landing)/sections/SectionTitle.tsx +++ b/app/(landing)/sections/SectionTitle.tsx @@ -1,19 +1,19 @@ export default function SectionTitle(props: { title: string }) { return ( -
+
-
-
+
+
-
+
-
+
{props.title}
-
-
+
+
-
+
diff --git a/app/(landing)/sections/Sponsors.tsx b/app/(landing)/sections/Sponsors.tsx index b1b57bd..2c7768b 100644 --- a/app/(landing)/sections/Sponsors.tsx +++ b/app/(landing)/sections/Sponsors.tsx @@ -1,7 +1,9 @@ export default function Sponsors() { return ( -
+

Sponsors

);