From 52484caf704728682c455ebff2c98a4be3f49d07 Mon Sep 17 00:00:00 2001 From: aamoghS Date: Fri, 1 May 2026 16:10:25 -0400 Subject: [PATCH] Add Events, History, and Status pages Create pages for Events, History, and Status navigation links. Update Navbar to include new pages. Update Footer with new navigation links. Remove GreenLight branding. Redirect Hacklytics nav to /hackathons. --- sites/mainweb/app/events/page.tsx | 30 +++++++++++ sites/mainweb/app/history/page.tsx | 51 +++++++++++++++++++ sites/mainweb/app/status/page.tsx | 46 +++++++++++++++++ sites/mainweb/components/Footer/index.tsx | 9 ++-- sites/mainweb/components/Navbar/index.tsx | 8 ++- .../mainweb/components/portal/AdminHeader.tsx | 4 +- .../components/portal/AdminSidebar.tsx | 2 +- 7 files changed, 143 insertions(+), 7 deletions(-) create mode 100644 sites/mainweb/app/events/page.tsx create mode 100644 sites/mainweb/app/history/page.tsx create mode 100644 sites/mainweb/app/status/page.tsx diff --git a/sites/mainweb/app/events/page.tsx b/sites/mainweb/app/events/page.tsx new file mode 100644 index 00000000..61e76d04 --- /dev/null +++ b/sites/mainweb/app/events/page.tsx @@ -0,0 +1,30 @@ +"use client"; + +import Navbar from "@/components/Navbar"; +import Footer from "@/components/Footer"; +import Section from "@/components/Section"; + +export default function EventsPage() { + return ( +
+ +
+
+
+

Events

+

+ Track upcoming hackathons, workshops, and community gatherings. +

+
+

Upcoming Events

+

+ No upcoming events scheduled. Check back soon! +

+
+
+
+
+
+
+ ); +} diff --git a/sites/mainweb/app/history/page.tsx b/sites/mainweb/app/history/page.tsx new file mode 100644 index 00000000..794b0e10 --- /dev/null +++ b/sites/mainweb/app/history/page.tsx @@ -0,0 +1,51 @@ +"use client"; + +import Navbar from "@/components/Navbar"; +import Footer from "@/components/Footer"; +import Section from "@/components/Section"; +import Image from "next/image"; + +export default function HistoryPage() { + return ( +
+ +
+
+
+

History

+

+ Our journey through five years of data science excellence. +

+
+
+

2020-2021

+

Foundation year. First official hackathon.

+
+
+

2021-2022

+

First major sponsorship partnerships secured.

+
+
+

2022-2023

+

Expanded to include AI/ML workshops.

+
+
+

2023-2024

+

Record-breaking member growth.

+
+
+

2024-2025

+

Current era of innovation and community building.

+
+
+

Future

+

Building toward Hacklytics 2026 and beyond.

+
+
+
+
+
+
+
+ ); +} diff --git a/sites/mainweb/app/status/page.tsx b/sites/mainweb/app/status/page.tsx new file mode 100644 index 00000000..a3fb970b --- /dev/null +++ b/sites/mainweb/app/status/page.tsx @@ -0,0 +1,46 @@ +"use client"; + +import Navbar from "@/components/Navbar"; +import Footer from "@/components/Footer"; +import Section from "@/components/Section"; + +export default function StatusPage() { + return ( +
+ +
+
+
+

Status

+

+ System status and operational updates. +

+
+
+ Database + Operational +
+
+ API + Operational +
+
+ Auth Service + Operational +
+
+ Discord Bot + Operational +
+
+
+

Last Updated

+

System check completed successfully.

+
+
+
+
+
+
+ ); +} diff --git a/sites/mainweb/components/Footer/index.tsx b/sites/mainweb/components/Footer/index.tsx index eeb114cb..28767b11 100644 --- a/sites/mainweb/components/Footer/index.tsx +++ b/sites/mainweb/components/Footer/index.tsx @@ -6,7 +6,7 @@ import Link from "next/link"; import logo from "@/assets/images/dsgt/apple-touch-icon.png"; interface FooterProps { - screen_width: number; + screen_width?: number; className?: string; } @@ -33,13 +33,16 @@ const Footer = ({ screen_width: _screen_width, className = "" }: FooterProps) =>

- {/* COMPANY COLUMN */} + {/* NAVIGATION COLUMN */}
-

Organization

+

Navigation

diff --git a/sites/mainweb/components/Navbar/index.tsx b/sites/mainweb/components/Navbar/index.tsx index 854e7662..9551c286 100644 --- a/sites/mainweb/components/Navbar/index.tsx +++ b/sites/mainweb/components/Navbar/index.tsx @@ -37,10 +37,13 @@ export default function Navbar({ screen_width: _screen_width, page, className = const homeMenuItems = [ { name: "About", to: "about", link: false }, { name: "Bootcamp", to: "bootcamp", link: false }, - { name: "Hacklytics", to: "golden-byte", link: false }, + { name: "Hacklytics", to: "/hackathons", link: false }, { name: "Projects", to: "projects", link: false }, { name: "Get Involved", to: "getinvolved", link: false }, { name: "Team", to: "/team", link: true }, + { name: "Events", to: "/events", link: false }, + { name: "History", to: "/history", link: false }, + { name: "Status", to: "/status", link: false }, ]; const otherPageMenuItems = [ @@ -48,6 +51,9 @@ export default function Navbar({ screen_width: _screen_width, page, className = { name: "Bootcamp", to: "/bootcamp", link: true }, { name: "Team", to: "/team", link: true }, { name: "Projects", to: "/projects", link: true }, + { name: "Events", to: "/events", link: true }, + { name: "History", to: "/history", link: true }, + { name: "Status", to: "/status", link: true }, ]; const menuItems = isHomePage ? homeMenuItems : otherPageMenuItems; diff --git a/sites/mainweb/components/portal/AdminHeader.tsx b/sites/mainweb/components/portal/AdminHeader.tsx index b95ee14b..d196f3fb 100644 --- a/sites/mainweb/components/portal/AdminHeader.tsx +++ b/sites/mainweb/components/portal/AdminHeader.tsx @@ -93,10 +93,10 @@ export default function AdminHeader() { {/* Logo */}
- GL + DS
- GreenLight + DSGT Portal diff --git a/sites/mainweb/components/portal/AdminSidebar.tsx b/sites/mainweb/components/portal/AdminSidebar.tsx index 949417b0..8dac755a 100644 --- a/sites/mainweb/components/portal/AdminSidebar.tsx +++ b/sites/mainweb/components/portal/AdminSidebar.tsx @@ -31,7 +31,7 @@ export default function AdminSidebar() { - GreenLight + DSGT Portal )}