Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import AboutSection from "@/components/AboutSection";
import Footer from "@/components/Footer";
import HeroSection from "@/components/HeroSection";
import TeamSection from "@/components/TeamSection";
import ChallengesSection from "@/components/ChallengesSection"

export default function Home() {
return (
Expand All @@ -22,8 +23,10 @@ export default function Home() {

{/* START OF THE CHALLENGES SECTION */}
<section id="challenges" className="min-h-screen w-full flex flex-col items-center">
{/* Challenges code goes here */}
<h2>Challenges</h2>
<h2 className="text-4xl font-bold p-16 m-16 h-16 gap-16">
Monthly Challenges
</h2>
<ChallengesSection />
</section>

{/* START OF THE TEAM SECTION */}
Expand All @@ -39,4 +42,4 @@ export default function Home() {
</footer>
</>
);
}
}
58 changes: 58 additions & 0 deletions components/ChallengesSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import WinnersSection, { Winner } from "./WinnersSection"
import ChallengeCard, { ChallengeCardProps } from "./ChallengeCard";

// Each project title here must have a unique key
const WINNERS: Winner[] = [
{
name: "test",
challengeTitle: "test",
projectTitle: "test1",
deadline: new Date(2026, 8, 20),
placement: 1,
},
{
name: "test",
challengeTitle: "test",
projectTitle: "test2",
deadline: new Date(2026, 8, 20),
placement: 2,
},
{
name: "test",
challengeTitle: "test",
projectTitle: "test3",
deadline: new Date(2026, 8, 20),
placement: 2,
},
{
name: "test",
challengeTitle: "test",
projectTitle: "test4",
deadline: new Date(2025, 7, 20),
placement: 2,
},
{
name: "test",
challengeTitle: "test",
projectTitle: "test5",
deadline: new Date(2025, 6, 20),
placement: 2,
},
];

const CHALLENGE: ChallengeCardProps = {
name: "Creative Loading Screen",
desc: "An animated progress bar, spinning 3D model, particle effects, ASCII loading sequence, or mini-game with a fall theme.",
tags: ["fall", "gamedev", "loadingscreen"],
deadline: new Date(2026, 8, 30),
link: "somelink",
}

export default function Challenges() {
return (
<section className="w-full flex flex-col gap-16">
<ChallengeCard {...CHALLENGE} />
<WinnersSection winners={WINNERS} />
</section>
)
}
Loading