diff --git a/src/components/index.tsx b/src/components/index.tsx index 96368b1f..42ea83ec 100644 --- a/src/components/index.tsx +++ b/src/components/index.tsx @@ -17,6 +17,5 @@ export { HeroSection } from "./sections/Hero.section" export { AboutSection } from './sections/About.section'; export { TeamSection } from './sections/Team.section'; export { ContactSection } from './sections/Contact.section'; -export { SponsorSection } from './sections/Sponsor.section'; export { FooterSection } from './sections/Footer.section'; -export { FAQSection } from './sections/FAQ.section'; \ No newline at end of file +export { SponsorFAQSection } from './sections/SponsorFAQ.section'; \ No newline at end of file diff --git a/src/components/sections/FAQ.section.tsx b/src/components/sections/FAQ.section.tsx deleted file mode 100644 index b41c143a..00000000 --- a/src/components/sections/FAQ.section.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import React from 'react'; -import Accordion from '../Accordion'; - -const FAQSection: React.FC = () => { - const faqData = [ - { question: 'So, what exactly is a hackathon?', answer: 'Our product is...' }, - { question: 'Do I need a team?', answer: 'Our product is...' }, - { question: 'When and where is HawkHacks happening?', answer: 'Our product is...' }, - { question: 'Are there any prizes?', answer: 'Our product is...' }, - { question: 'How much does it cost?', answer: 'Our product is...' }, - { question: 'Who can attend? Do I need to be a skilled leet programmer?', answer: 'Our product is...' }, - { question: 'This is a cool FAQ but I still have questions!', answer: 'Our product is...' }, - // Add more FAQ items as needed - ]; - - - return ( -
-
-

- FAQ -

-
- -
-
-
- ); -}; - - -export { FAQSection}; diff --git a/src/components/sections/Sponsor.section.tsx b/src/components/sections/Sponsor.section.tsx deleted file mode 100644 index 7ae0f54f..00000000 --- a/src/components/sections/Sponsor.section.tsx +++ /dev/null @@ -1,86 +0,0 @@ -import React from 'react'; -import { TopBorder, BottomBorder, MiddleBody, Hawk, BirdParts} from '@assets'; -import { Veritas, Assembly, SOC, FDM, Echo3D, LeadingLeaders, Ollon, OnePassword, Roomiez, Balsamiq, DigitalOcean, Taskade, DCL } from '@assets'; -import { StudentsUnion, CCubed, MLH, FOSSA, LCS } from '@assets'; - -const SponsorSection: React.FC = () => { - return ( -
- Top Border - Bird - Bird Parts -
- Middle Body -
-
-
- SPONSORS -
-
-
-
- Veritas -
-
- Assembly -
-
- Soc -
-
- FDM -
-
- Echo3D -
-
-
-
- Leading -
-
- Ollon -
-
- 1Password -
-
- Roomiez -
-
- Balsamiq -
-
-
-
- DigitalOcean -
-
- Taskade -
-
-
-
- DCL -
-
-
-
- PARTNERS -
-
- Student Union - Ccubed - MLH - Fossa - LCS -
-
-
-
- Bottom Border -
- ); -}; - -export { SponsorSection }; diff --git a/src/components/sections/SponsorFAQ.section.tsx b/src/components/sections/SponsorFAQ.section.tsx new file mode 100644 index 00000000..1f60fed8 --- /dev/null +++ b/src/components/sections/SponsorFAQ.section.tsx @@ -0,0 +1,192 @@ +import React from "react"; +import Accordion from "../Accordion"; +import { TopBorder, BottomBorder, MiddleBody, Hawk, BirdParts } from "@assets"; + +import { + Veritas, + Assembly, + SOC, + FDM, + Echo3D, + LeadingLeaders, + Ollon, + OnePassword, + Roomiez, + Balsamiq, + DigitalOcean, + Taskade, + DCL, + StudentsUnion, + CCubed, + MLH, + FOSSA, + LCS, +} from "@assets"; + +const SponsorFAQSection = () => { + const faqData = [ + { + question: "So, what exactly is a hackathon?", + answer: "Our product is...", + }, + { question: "Do I need a team?", answer: "Our product is..." }, + { + question: "When and where is HawkHacks happening?", + answer: "Our product is...", + }, + { question: "Are there any prizes?", answer: "Our product is..." }, + { question: "How much does it cost?", answer: "Our product is..." }, + { + question: "Who can attend? Do I need to be a skilled leet programmer?", + answer: "Our product is...", + }, + { + question: "This is a cool FAQ but I still have questions!", + answer: "Our product is...", + }, + // Add more FAQ items as needed + ]; + + return ( +
+
+ Top Border + Bird + Bird Parts +
+ Middle Body +
+
+
+ SPONSORS +
+
+
+
+ Veritas +
+
+ Assembly +
+
+ Soc +
+
+ FDM +
+
+ Echo3D +
+
+
+
+ Leading +
+
+ Ollon +
+
+ 1Password +
+
+ Roomiez +
+
+ Balsamiq +
+
+
+
+ DigitalOcean +
+
+ Taskade +
+
+
+
+ DCL +
+
+
+
+ PARTNERS +
+
+ Student Union + Ccubed + MLH + Fossa + LCS +
+
+ + {/* FAQ Section*/} +
+
+ Bottom Border +
+
+
+
+

+ FAQ +

+
+
+ +
+
+
+
+ ); +}; + +export { SponsorFAQSection }; \ No newline at end of file diff --git a/src/pages/Landing.tsx b/src/pages/Landing.tsx index 26c08143..73d05a07 100644 --- a/src/pages/Landing.tsx +++ b/src/pages/Landing.tsx @@ -1,4 +1,4 @@ -import { Navbar, HeroSection, AboutSection, TeamSection, FAQSection, ContactSection, SponsorSection, FooterSection } from '@components'; +import { Navbar, HeroSection, AboutSection, TeamSection, ContactSection, SponsorSection, SponsorFAQSection, FooterSection } from '@components'; const Landing: React.FC = () => { return ( @@ -10,8 +10,7 @@ const Landing: React.FC = () => { - - +