diff --git a/src/app/(site)/_components/landing-page.tsx b/src/app/(site)/_components/landing-page.tsx index f50eeb7..77fbe7e 100644 --- a/src/app/(site)/_components/landing-page.tsx +++ b/src/app/(site)/_components/landing-page.tsx @@ -61,7 +61,7 @@ const LandingPage: React.FC = (props) => {
+ className="relative mx-4 flex max-w-[1048px] flex-col items-center justify-center font-normal md:mt-40 md:text-md">
diff --git a/src/app/api/faqs/faqs.ts b/src/app/api/faqs/faqs.ts index c3ea891..9251161 100644 --- a/src/app/api/faqs/faqs.ts +++ b/src/app/api/faqs/faqs.ts @@ -10,7 +10,7 @@ export const faqs: FAQType[] = [ { id: "faq2", question: "When is FullyHacks?", - answer: "Feb 24th to Feb 25th. The hackathon will be 100% in-person." + answer: "April 12th to April 13th. The hackathon will be 100% in-person." }, { id: "faq3", @@ -28,13 +28,13 @@ export const faqs: FAQType[] = [ id: "faq5", question: "What can I build?", answer: - "Anything your heart desires! Web, mobile, gaming, VR... You name it, we will support it. We offer different tracks that you can be inspired and build your project" + "Anything your heart desires! Web, mobile, gaming, VR... You name it, we will support it. We offer different tracks to inspire you and help you build your project." }, { id: "faq6", question: "Do I need to have a team?", answer: - "Not at all! You can do solo, come with a team (no more than four people), or join some teams at FullyHacks. We will also have team building activities to help you find the right teammates!" + "Not at all! You can go solo, come with a team (no more than four people), or join some teams at FullyHacks. We will also have team building activities to help you find the right teammates!" }, { id: "faq7", @@ -45,17 +45,18 @@ export const faqs: FAQType[] = [ { id: "faq8", question: "What should I bring?", - answer: "Sleeping bag, laptop, chargers, snacks & drinks, hygiene items,..." + answer: + "Bring a sleeping bag, laptop, chargers, snacks and drinks, hygiene items, and anything else you might need for a 24-hour event." }, { id: "faq9", question: "When are applications due?", - answer: "Before 23:59 Feb 10th, 2024" + answer: "Applications are due by 11:59 PM (PDT) on March 24, 2025." }, { id: "faq10", question: "When will I know my application status?", answer: - "All applications will be reviewed on a rolling basis until Feb 10th, you can check application status in your user portal" + "All applications will be reviewed on a rolling basis until March 24th, you can check application status in your user portal." } ]; diff --git a/src/components/faq.tsx b/src/components/faq.tsx index 9a6b4c1..5aa4f19 100644 --- a/src/components/faq.tsx +++ b/src/components/faq.tsx @@ -1,6 +1,7 @@ import { FAQType } from "@/types/interface"; -import React, { useEffect, useState } from "react"; +import React, { useState, useEffect } from "react"; import { FaChevronDown } from "react-icons/fa"; +// import { FaChevronDown } from "react-icons/fa"; interface FAQProps { faqs: FAQType[]; @@ -11,8 +12,10 @@ interface FAQDropDownProps { answer: string; } -export const FAQDropDown: React.FC = (props) => { - const { question, answer } = props; +export const FAQDropDown: React.FC = ({ + question, + answer +}) => { const [opened, setOpen] = useState(false); const [mounted, setMounted] = useState(false); @@ -23,13 +26,16 @@ export const FAQDropDown: React.FC = (props) => { const toggleOpen = () => { setOpen(!opened); }; + return ( - - ); }; @@ -53,9 +59,7 @@ const FAQ: React.FC = (props) => { const { faqs } = props; return ( <> -

- FAQ -

+

FAQ

{faqs.map((faq: FAQType) => { return ( @@ -65,13 +69,22 @@ const FAQ: React.FC = (props) => { ); })}
-

- More questions? Reach out to us at - - {" fullyhacks@gmail.com "} - - and we'll get back to you ASAP! -

+
+
+

+ More questions?  + {/* Add new line on mobile view */} +
+
+ Reach out to us at + +   + fullyhacks@gmail.com +   + + and we'll get back to you ASAP! +

+
{" "} ); }; diff --git a/tailwind.config.js b/tailwind.config.js index 1465361..91f37bb 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -65,6 +65,7 @@ module.exports = { purple_300: "#9EA8FF", purple_hover: "#3b3561", purple_500: "#4F38DF", + purple_shadow_blur: "#6F6795", pink_700: "#B438DF", pink_400: "#FF8F8F", pink_300: "#DF389C", @@ -79,7 +80,8 @@ module.exports = { beige: "#D9D9D9", white: "#FFF", purple_card: "#1E2D79", - cyan: "#46C8E5" + cyan: "#46C8E5", + mint: "#51FFCE" }, textColor: { purple_main: "#EB6EFF", @@ -95,6 +97,9 @@ module.exports = { inter: ["Inter", "sans-serif"], audiowide: ["Audiowide", "sans-serif"], bruno: ["Bruno Ace", "sans-serif"] + }, + borderWidth: { + 5: "5px" } } },