-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor section - too lazy to complete lol
- Loading branch information
1 parent
2f667fe
commit 81b4859
Showing
1 changed file
with
169 additions
and
162 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,193 +1,200 @@ | ||
import React from "react"; | ||
import Accordion from "../Accordion"; | ||
import { Accordion } from "@components"; | ||
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, | ||
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 | ||
]; | ||
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...", | ||
}, | ||
]; | ||
|
||
return ( | ||
<div> | ||
<section id="sponsors-section" className="sponsor-section relative z-20"> | ||
<img src={TopBorder} alt="Top Border" className="w-full z-10" /> | ||
<img | ||
src={Hawk} | ||
alt="Bird" | ||
className="absolute left-0 top-0 transform -translate-y-1/4 scale-x-[-1] scale-100 z-[-1]" | ||
/> | ||
<img | ||
src={BirdParts} | ||
alt="Bird Parts" | ||
className="absolute left-0 top-0 transform -translate-y-[42.5%] -translate-x-[1%] scale-x-[-1] scale-100 z-50 lg:translate-x-[5%]" | ||
/> | ||
<div className="relative"> | ||
<img | ||
return ( | ||
<div> | ||
<section id="sponsors-section" className="sponsor-section relative z-20"> | ||
<img src={TopBorder} alt="Top Border" className="w-full z-10" /> | ||
<img | ||
src={Hawk} | ||
alt="Bird" | ||
className="absolute left-0 top-0 transform -translate-y-1/4 scale-x-[-1] scale-100 z-[-1]" | ||
/> | ||
<img | ||
src={BirdParts} | ||
alt="Bird Parts" | ||
className="absolute left-0 top-0 transform -translate-y-[42.5%] -translate-x-[1%] scale-x-[-1] scale-100 z-50 lg:translate-x-[5%]" | ||
/> | ||
<div className="relative"> | ||
<img | ||
src={MiddleBody} | ||
alt="Middle Body" | ||
className="w-full object-cover h-[810px] sm:h-[925px] md:h-[925px] lg:h-[950px] z-10" | ||
/> | ||
<div className="absolute top-6 left-0 right-0 bottom-0 flex flex-col items-center space-y-6 sm:space-y-12 pt-[110px]"> | ||
/> | ||
<div className="absolute top-6 left-0 right-0 bottom-0 flex flex-col items-center space-y-6 sm:space-y-12 pt-[110px]"> | ||
<div className="absolute top-6 left-1/2 transform -translate-x-1/2 "> | ||
<div className="text-center font-raleway font-black text-[50px] leading-[117px] tracking-widest text-[#404040] drop-shadow-lg sm:text-[80px] vs:text-[60px]"> | ||
SPONSORS | ||
</div> | ||
<div className="text-center font-raleway font-black text-[50px] leading-[117px] tracking-widest text-[#404040] drop-shadow-lg sm:text-[80px] vs:text-[60px]"> | ||
SPONSORS | ||
</div> | ||
|
||
</div> | ||
|
||
<div className="flex justify-center items-center sm:space-x-16 space-x-4 px-4"> | ||
<div className="h-14 sm:h-15 flex justify-center items-center"> | ||
<img src={Veritas} alt="Veritas" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Assembly} alt="Assembly" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Soc} alt="Soc" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Fdm} alt="FDM" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Echo3D} alt="Echo3D" className="max-h-full" /> | ||
</div> | ||
<div className="h-14 sm:h-15 flex justify-center items-center"> | ||
<img src={Veritas} alt="Veritas" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Assembly} alt="Assembly" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Soc} alt="Soc" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Fdm} alt="FDM" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Echo3D} alt="Echo3D" className="max-h-full" /> | ||
</div> | ||
</div> | ||
<div className="flex justify-center items-center space-x-6 px-4"> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={LeadingLeaders} alt="Leading" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Ollon} alt="Ollon" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img | ||
src={OnePassword} | ||
alt="1Password" | ||
className="max-h-full" | ||
/> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Roomiez} alt="Roomiez" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Balsamiq} alt="Balsamiq" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={LeadingLeaders} alt="Leading" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Ollon} alt="Ollon" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img | ||
src={OnePassword} | ||
alt="1Password" | ||
className="max-h-full" | ||
/> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Roomiez} alt="Roomiez" className="max-h-full" /> | ||
</div> | ||
<div className="h-12 sm:h-15 flex justify-center items-center"> | ||
<img src={Balsamiq} alt="Balsamiq" className="max-h-full" /> | ||
</div> | ||
</div> | ||
<div className="flex justify-center items-center space-x-6 px-4"> | ||
<div className="h-13 sm:h-16 flex justify-center items-center"> | ||
<img | ||
src={DigitalOcean} | ||
alt="DigitalOcean" | ||
className="max-h-full" | ||
/> | ||
</div> | ||
<div className="h-13 sm:h-16 flex justify-center items-center"> | ||
<img src={Taskade} alt="Taskade" className="max-h-full" /> | ||
</div> | ||
<div className="h-13 sm:h-16 flex justify-center items-center"> | ||
<img | ||
src={DigitalOcean} | ||
alt="DigitalOcean" | ||
className="max-h-full" | ||
/> | ||
</div> | ||
<div className="h-13 sm:h-16 flex justify-center items-center"> | ||
<img src={Taskade} alt="Taskade" className="max-h-full" /> | ||
</div> | ||
</div> | ||
<div className="flex justify-center items-center px-8"> | ||
<div className="h-28 sm:h-32 flex justify-center items-center"> | ||
<img src={Dcl} alt="DCL" className="max-h-full" /> | ||
</div> | ||
<div className="h-28 sm:h-32 flex justify-center items-center"> | ||
<img src={Dcl} alt="DCL" className="max-h-full" /> | ||
</div> | ||
</div> | ||
<div className="mt-20" id="partners-section"> | ||
<div className="text-center font-raleway font-black mt-6 text-[50px] leading-[117px] tracking-widest text-[#404040] drop-shadow-lg sm:text-[80px] vs:text-[60px]"> | ||
PARTNERS | ||
</div> | ||
<div className="flex flex-wrap justify-center items-center gap-3"> | ||
<img | ||
src={StudentsUnion} | ||
alt="Student Union" | ||
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32" | ||
/> | ||
<img | ||
src={CCubed} | ||
alt="Ccubed" | ||
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32" | ||
/> | ||
<img | ||
src={Mlh} | ||
alt="MLH" | ||
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32" | ||
/> | ||
<img | ||
src={Fossa} | ||
alt="Fossa" | ||
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32" | ||
/> | ||
<img | ||
src={Lcs} | ||
alt="LCS" | ||
className="h-16 sm:h-18 md:h-21 lg:h-24 xl:h-24 col-span-2 md:col-span-1 justify-self-center" | ||
/> | ||
</div> | ||
<div className="text-center font-raleway font-black mt-6 text-[50px] leading-[117px] tracking-widest text-[#404040] drop-shadow-lg sm:text-[80px] vs:text-[60px]"> | ||
PARTNERS | ||
</div> | ||
<div className="flex flex-wrap justify-center items-center gap-3"> | ||
<img | ||
src={StudentsUnion} | ||
alt="Student Union" | ||
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32" | ||
/> | ||
<img | ||
src={CCubed} | ||
alt="Ccubed" | ||
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32" | ||
/> | ||
<img | ||
src={Mlh} | ||
alt="MLH" | ||
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32" | ||
/> | ||
<img | ||
src={Fossa} | ||
alt="Fossa" | ||
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32" | ||
/> | ||
<img | ||
src={Lcs} | ||
alt="LCS" | ||
className="h-16 sm:h-18 md:h-21 lg:h-24 xl:h-24 col-span-2 md:col-span-1 justify-self-center" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<img | ||
src={BottomBorder} | ||
alt="Bottom Border" | ||
className="w-full z-10" | ||
/> | ||
</section> | ||
|
||
{/* FAQ Section*/} | ||
</div> | ||
</div> | ||
<img | ||
src={BottomBorder} | ||
alt="Bottom Border" | ||
className="w-full z-10" | ||
/> | ||
</section> | ||
<section | ||
id="faq-section" | ||
className="py-12 lg:py bg-brightUbe bg-faq-image bg-cover" | ||
> | ||
<div className="container mx-auto px-4"> | ||
<div className="text-center mb-10"> | ||
<section | ||
id="faq-section" | ||
className="py-12 lg:py bg-brightUbe bg-faq-image bg-cover" | ||
> | ||
<div className="container mx-auto px-4"> | ||
<div className="text-center mb-10"> | ||
<h2 className="mt-60 text-center text-white font-bold drop-shadow-md"> | ||
FAQ | ||
FAQ | ||
</h2> | ||
</div> | ||
<div className="max-w-6xl mx-auto"> | ||
</div> | ||
<div className="max-w-6xl mx-auto"> | ||
<Accordion items={faqData} /> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</section> | ||
</div> | ||
); | ||
); | ||
}; | ||
|
||
export { SponsorFAQSection }; |