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
30 changes: 12 additions & 18 deletions src/app/[locale]/acmm-leaderboard/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
"use client";

import { useState, useMemo, useCallback, useEffect } from "react";
import {
GridLines,
StarField,
Navbar,
Footer,
} from "../../../components/index";
import PageShell from "../../../components/master-page/PageShell";
import { gtagEvent } from "../../../components/GoogleAnalytics";
import { ACMM_PROJECTS, BADGE_PARTICIPANTS, SNAPSHOT_DATE } from "./data";
import {
Expand Down Expand Up @@ -175,15 +170,16 @@ export default function AcmmLeaderboardPage() {
};

return (
<div className="min-h-screen bg-[#0a0a0f] text-white flex flex-col">
<Navbar />

{/* Background effects */}
<div className="fixed inset-0 pointer-events-none">
<GridLines horizontalLines={20} verticalLines={20} strokeColor="rgba(255,255,255,0.03)" />
<StarField density="medium" />
</div>

<PageShell
className="min-h-screen bg-[#0a0a0f] text-white flex flex-col"
contentClassName={null}
background={{
wrapperClassName: "fixed inset-0 pointer-events-none",
baseLayerClassName: false,
grid: { horizontalLines: 20, verticalLines: 20, strokeColor: "rgba(255,255,255,0.03)" },
stars: { density: "medium" },
}}
>
{/* Hero section */}
<section className="relative pt-32 pb-12 px-4 sm:px-6">
<div className="max-w-6xl mx-auto text-center">
Expand Down Expand Up @@ -478,8 +474,6 @@ export default function AcmmLeaderboardPage() {

</div>
</section>

<Footer />
</div>
</PageShell>
);
}
24 changes: 7 additions & 17 deletions src/app/[locale]/programs/[slug]/ProgramPageClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useEffect, useState } from "react";
import Image from "next/image";
import { Program } from "../programs";
import { Navbar, Footer, StarField, GridLines } from "@/components";
import PageShell from "@/components/master-page/PageShell";
import { useTranslations } from "next-intl";
import Link from "next/link";

Expand Down Expand Up @@ -107,19 +107,12 @@ export default function ProgramPageClient({ program }: ProgramPageClientProps) {
};

return (
<div className="bg-[#0a0a0a] text-white min-h-screen">
{/* Navigation */}
<Navbar />

{/* Main Content with full background */}
<PageShell
className="bg-[#0a0a0a] text-white min-h-screen"
contentClassName={null}
>
{/* Main Content */}
<main className="relative min-h-screen">
{/* Background layers */}
<div className="fixed inset-0 z-0">
<div className="absolute inset-0 bg-[#0a0a0a]"></div>
<StarField density="medium" showComets={true} cometCount={3} />
<GridLines horizontalLines={21} verticalLines={18} />
</div>

{/* Hero Section */}
<section className="relative z-20 pt-24 pb-8 border-b border-gray-800/50">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
Expand Down Expand Up @@ -476,9 +469,6 @@ export default function ProgramPageClient({ program }: ProgramPageClientProps) {
</div>
</div>
</main>

{/* Footer */}
<Footer />
</div>
</PageShell>
);
}
Loading