Skip to content

Commit

Permalink
5.0 to 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rohittp0 committed Sep 13, 2023
1 parent b534f33 commit f08ff87
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 52 deletions.
5 changes: 1 addition & 4 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Home: NextPage = () => {
<AnimatePresence>
<ScrollerMotion ref={scrollerMotion}>
<HeadMeta
title="Make-a-ton 5.0 | CITTIC"
title="Make-a-ton 6.0 | CITTIC"
description="A 24 hour flagship hackathon from Cochin University of Science and Technology
for University students to embrace the spirit of innovation."
image="https://makeaton.in/ograph.jpg"
Expand All @@ -55,14 +55,11 @@ const Home: NextPage = () => {
<>
<Hero />
<Reasons />
<Schedule />
<Sponsors />
<FAQ />
<Footer />
</>
)}
</ScrollerMotion>
{!loading && <Devfolio />}
</AnimatePresence>
</AnimateSharedLayout>
);
Expand Down
1 change: 0 additions & 1 deletion pages/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ const Team: NextPage = () => {
</div>
</section>
</ScrollerMotion>
<Devfolio />
</AnimatePresence>
);
};
Expand Down
6 changes: 3 additions & 3 deletions presentation/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const Footer = () => {
</a>
</p>
<p className="copyright-text">
<a href="tel:9188692836" style={{ textDecoration: "none" }}>
Ajal - 9188692836
<a href="tel:9020277399" style={{ textDecoration: "none" }}>
Rohit T.P - 9020277399
</a>
</p>
<br />
Expand Down Expand Up @@ -91,7 +91,7 @@ const Footer = () => {
<Link href="/team">
<span className="cursor-pointer">Meet the team &hearts;</span>
</Link>{" "}
| Code of conduct CITTIC &copy; 2022
| Code of conduct CITTIC &copy; 2023
</p>
</div>
</div>
Expand Down
13 changes: 1 addition & 12 deletions presentation/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,6 @@ import * as React from "react";
import { motion, Variants } from "framer-motion";

const Hero = () => {
React.useEffect(() => {
const script = document.createElement("script");
script.src = "https://apply.devfolio.co/v2/sdk.js";
script.async = true;
script.defer = true;
document.body.appendChild(script);
return () => {
document.body.removeChild(script);
};
}, []);

const container: Variants = {
hidden: { opacity: 0 },
show: {
Expand Down Expand Up @@ -77,7 +66,7 @@ const Hero = () => {
Make-a-ton
</h1>
<span className="absolute font-semibold text-[18px] md:text-[72px] right-[-1.6em] top-[-0.1em] text-primary-light z-[10]">
5.o
6.o
</span>
</motion.div>
<motion.p
Expand Down
33 changes: 1 addition & 32 deletions presentation/Reasons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,12 @@ const Reasons = () => {
Reasons to join
</h2>
<h3 className="text-white leading-[30px] md:leading-[50px] z-20 font-bold text-2xl md:text-4xl uppercase pb-[10px]">
Make-A-Ton 5.0
Make-A-Ton 6.0
</h3>
{ReasonsContent.map((item, key) => (
<BulletPoints key={key}>{item}</BulletPoints>
))}
</div>
<div className="py-[60px] md:py-[120px] mx-auto w-full max-w-[1440px] px-[32px] md:px-[64px] lg:px-[120px]">
<div className="flex justify-end">
<h2 className="font-montserrat leading-[50px] md:leading-[78px] text-4xl md:text-6xl font-extrabold gradient-primary gradient-text">
Prizes worth ₹400K+
</h2>
</div>
<div className="flex flex-col mt-[60px]">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-[24px]">
{Prizes.map(({ sponsor, amount, byDevfolio }, key) => (
<Prize
key={key}
sponsor={sponsor}
amount={amount}
byDevfolio={byDevfolio}
/>
))}
</div>
<div className="pt-[60px] flex flex-col">
<p className="text-white text-lg md:text-2xl pb-[10px]">
Swags from Make-a-ton, GDG Cloud, GitHub, GCP, AWS and more!
</p>
<p className="text-white text-lg md:text-2xl pb-[10px]">
Eligibility to apply for internships and full-time roles at
Polygon & Replit!
</p>
<small className="text-white text-md md:text-lg">
* - Prizes given by Devfolio
</small>
</div>
</div>
</div>
</div>
);
};
Expand Down

0 comments on commit f08ff87

Please sign in to comment.