-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from sam-shervin/master
footer changes
- Loading branch information
Showing
8 changed files
with
290 additions
and
92 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
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { motion } from "framer-motion"; | ||
import { Space_Grotesk, Space_Mono } from "next/font/google"; | ||
|
||
const spaceGrotesk = Space_Grotesk({ | ||
subsets: ["latin"], | ||
variable: "--font-space-grotesk", | ||
}); | ||
|
||
const spaceMono = Space_Mono({ | ||
subsets: ["latin"], | ||
variable: "--font-space-mono", | ||
weight: "400", | ||
}); | ||
|
||
export default function FAQ(): JSX.Element { | ||
return ( | ||
<> | ||
<motion.section | ||
id="faqs" | ||
className="relative mt-10 w-full flex py-20 font-bold text-[5rem] min-h-screen" | ||
> | ||
<motion.img | ||
initial={{ opacity: 1 }} | ||
animate={{ opacity: [1, 0.7, 0.3, 0.5, 0, 0.5, 0.3, 0.7, 1] }} // Animate opacity from 1 to 0 | ||
transition={{ duration: 1, repeat: Infinity, yoyo: Infinity }} // Set transition duration and repeat infinitely | ||
src="/dots_full_red.svg" | ||
className="absolute left-[0rem] top-[0rem] w-[18rem] z-0" | ||
></motion.img> | ||
<motion.img | ||
initial={{ opacity: 1 }} | ||
animate={{ opacity: [1, 0.7, 0.3, 0.5, 0, 0.5, 0.3, 0.7, 1] }} // Animate opacity from 1 to 0 | ||
transition={{ duration: 0.8, repeat: Infinity, yoyo: Infinity }} // Set transition duration and repeat infinitely | ||
src="/dots_full_white.svg" | ||
className="absolute left-[3rem] top-[-4rem] w-[22rem] z-0" | ||
></motion.img> | ||
|
||
<div className="p-4 flex flex-col w-[80%] mx-auto items-center justify-center z-10"> | ||
<section className={`flex py-4 ${spaceGrotesk.className}`}> | ||
<section className="text-custom_white">FAQs</section> | ||
</section> | ||
<section | ||
className={`text-[1.2rem] font-normal self-start ${spaceMono.className}`} | ||
> | ||
ADD FAQs | ||
</section> | ||
</div> | ||
</motion.section> | ||
</> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { motion } from "framer-motion"; | ||
import { Space_Grotesk, Space_Mono } from "next/font/google"; | ||
|
||
const spaceGrotesk = Space_Grotesk({ | ||
subsets: ["latin"], | ||
variable: "--font-space-grotesk", | ||
}); | ||
|
||
const spaceMono = Space_Mono({ | ||
subsets: ["latin"], | ||
variable: "--font-space-mono", | ||
weight: "400", | ||
}); | ||
|
||
export default function About(): JSX.Element { | ||
return ( | ||
<> | ||
<div className="w-[70%] ml-24 p-4 z-10"> | ||
<section className={`flex py-4 ${spaceGrotesk.className}`}> | ||
<section className="text-custom_white">About </section> | ||
<section className="text-custom_purple">Hack</section> | ||
<section className="text-custom_red">Hub</section> | ||
</section> | ||
|
||
<section | ||
className={`text-[1.2rem] font-normal self-start ${spaceMono.className}`} | ||
> | ||
Welcome to IEEE Computer Society VIT Chennai, where innovation meets | ||
impact. This event is a vibrant arena for budding technologists, | ||
professionals, and students to collaborate, create, and compete in the | ||
spirit of advancing technology. As part of IEEE CompSoc's student | ||
chapter, our commitment to technological breakouts, our hackathon | ||
challenges makes participants think critically and creatively. We | ||
provide a platform for you to turn your disruptive ideas into | ||
prototypes, and lastly prizes and recognition await. Join us for an | ||
exhilarating journey of learning, innovation, and competition. Unleash | ||
your potential with IEEE CompSoc. | ||
</section> | ||
</div> | ||
</> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import { motion } from "framer-motion"; | ||
import { Space_Grotesk, Space_Mono } from "next/font/google"; | ||
|
||
const spaceGrotesk = Space_Grotesk({ | ||
subsets: ["latin"], | ||
variable: "--font-space-grotesk", | ||
}); | ||
|
||
const spaceMono = Space_Mono({ | ||
subsets: ["latin"], | ||
variable: "--font-space-mono", | ||
weight: "400", | ||
}); | ||
|
||
export default function Domain(): JSX.Element { | ||
return ( | ||
<> | ||
<motion.section | ||
id="domains" | ||
className="relative mt-10 w-full flex py-20 font-bold text-[5rem] min-h-screen" | ||
> | ||
<motion.img | ||
initial={{ opacity: 1 }} | ||
animate={{ opacity: [1, 0.7, 0.3, 0.5, 0, 0.5, 0.3, 0.7, 1] }} // Animate opacity from 1 to 0 | ||
transition={{ duration: 1, repeat: Infinity, yoyo: Infinity }} // Set transition duration and repeat infinitely | ||
src="/dots_full_red.svg" | ||
className="absolute left-[0rem] top-[0rem] w-[18rem] z-0" | ||
></motion.img> | ||
<motion.img | ||
initial={{ opacity: 1 }} | ||
animate={{ opacity: [1, 0.7, 0.3, 0.5, 0, 0.5, 0.3, 0.7, 1] }} // Animate opacity from 1 to 0 | ||
transition={{ duration: 0.8, repeat: Infinity, yoyo: Infinity }} // Set transition duration and repeat infinitely | ||
src="/dots_full_white.svg" | ||
className="absolute left-[1rem] top-[2rem] w-[22rem] z-0" | ||
></motion.img> | ||
|
||
<div className="p-4 flex flex-col w-[80%] mx-auto items-center justify-center z-10"> | ||
<section className={`flex py-4 ${spaceGrotesk.className}`}> | ||
<section className="text-custom_white"> | ||
Domains of the Hackathon | ||
</section> | ||
</section> | ||
<section | ||
className={`text-[1.2rem] font-normal self-start ${spaceMono.className}`} | ||
> | ||
ADD DOMAINS | ||
</section> | ||
</div> | ||
</motion.section> | ||
</> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { motion } from "framer-motion"; | ||
import { Space_Grotesk, Space_Mono } from "next/font/google"; | ||
|
||
const spaceGrotesk = Space_Grotesk({ | ||
subsets: ["latin"], | ||
variable: "--font-space-grotesk", | ||
}); | ||
|
||
const spaceMono = Space_Mono({ | ||
subsets: ["latin"], | ||
variable: "--font-space-mono", | ||
weight: "400", | ||
}); | ||
|
||
export default function Sponsors(): JSX.Element { | ||
return ( | ||
<> | ||
<motion.section | ||
id="sponsors" | ||
className="relative mt-10 w-full flex py-20 font-bold text-[5rem] min-h-screen" | ||
> | ||
<motion.img | ||
initial={{ opacity: 1 }} | ||
animate={{ opacity: [1, 0.7, 0.3, 0.5, 0, 0.5, 0.3, 0.7, 1] }} // Animate opacity from 1 to 0 | ||
transition={{ duration: 1, repeat: Infinity, yoyo: Infinity }} // Set transition duration and repeat infinitely | ||
src="/dots_full_red.svg" | ||
className="absolute left-[0rem] top-[0rem] w-[18rem] z-0" | ||
></motion.img> | ||
<motion.img | ||
initial={{ opacity: 1 }} | ||
animate={{ opacity: [1, 0.7, 0.3, 0.5, 0, 0.5, 0.3, 0.7, 1] }} // Animate opacity from 1 to 0 | ||
transition={{ duration: 0.8, repeat: Infinity, yoyo: Infinity }} // Set transition duration and repeat infinitely | ||
src="/dots_full_white.svg" | ||
className="absolute left-[3rem] top-[-4rem] w-[22rem] z-0" | ||
></motion.img> | ||
|
||
<div className="p-4 flex flex-col w-[80%] mx-auto items-center justify-center z-10"> | ||
<section className={`flex py-4 ${spaceGrotesk.className}`}> | ||
<section className="text-custom_white">Sponsors</section> | ||
</section> | ||
<section | ||
className={`text-[1.2rem] font-normal self-start ${spaceMono.className}`} | ||
> | ||
ADD SPONSORS | ||
</section> | ||
</div> | ||
</motion.section> | ||
</> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import { motion } from "framer-motion"; | ||
import { Space_Grotesk, Space_Mono } from "next/font/google"; | ||
|
||
const spaceGrotesk = Space_Grotesk({ | ||
subsets: ["latin"], | ||
variable: "--font-space-grotesk", | ||
}); | ||
|
||
const spaceMono = Space_Mono({ | ||
subsets: ["latin"], | ||
variable: "--font-space-mono", | ||
weight: "400", | ||
}); | ||
|
||
export default function Timeline(): JSX.Element { | ||
return ( | ||
<> | ||
<motion.section | ||
id="timeline" | ||
className="relative mt-10 w-full flex py-20 font-bold text-[5rem] min-h-screen" | ||
> | ||
<motion.img | ||
initial={{ opacity: 1 }} | ||
animate={{ opacity: [1, 0.7, 0.3, 0.5, 0, 0.5, 0.3, 0.7, 1] }} // Animate opacity from 1 to 0 | ||
transition={{ duration: 1, repeat: Infinity, yoyo: Infinity }} // Set transition duration and repeat infinitely | ||
src="/dots_full_red.svg" | ||
className="absolute left-[0rem] top-[0rem] w-[18rem] z-0" | ||
></motion.img> | ||
<motion.img | ||
initial={{ opacity: 1 }} | ||
animate={{ opacity: [1, 0.7, 0.3, 0.5, 0, 0.5, 0.3, 0.7, 1] }} // Animate opacity from 1 to 0 | ||
transition={{ duration: 0.8, repeat: Infinity, yoyo: Infinity }} // Set transition duration and repeat infinitely | ||
src="/dots_full_white.svg" | ||
className="absolute left-[3rem] top-[-4rem] w-[22rem] z-0" | ||
></motion.img> | ||
|
||
<div className="p-4 flex flex-col w-[80%] mx-auto items-center justify-center z-10"> | ||
<section className={`flex py-4 ${spaceGrotesk.className}`}> | ||
<section className="text-custom_white"> | ||
Timeline of the Hackathon | ||
</section> | ||
</section> | ||
<section | ||
className={`text-[1.2rem] font-normal self-start ${spaceMono.className}`} | ||
> | ||
ADD Timeline | ||
</section> | ||
</div> | ||
</motion.section> | ||
</> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
|
||
const scrollToElement = (elementId: string) => { | ||
const element = document.getElementById(elementId); | ||
if (element) { | ||
const offsetTop = element.offsetTop; | ||
window.scrollTo({ | ||
top: offsetTop, | ||
behavior: "smooth" // Smooth scrolling | ||
}); | ||
} | ||
}; | ||
export default scrollToElement; |
Oops, something went wrong.