From 8177edab9cc5c11b6c7250b7e87406b8b2dd2d6c Mon Sep 17 00:00:00 2001 From: Stanley Pang Date: Thu, 20 Nov 2025 23:15:07 -0500 Subject: [PATCH] remove duplicate pages --- app/about/assu/page.tsx | 78 ---------- app/course-unions/unions/page.tsx | 238 ------------------------------ components/layout/Footer.tsx | 4 +- components/layout/Header.tsx | 4 +- 4 files changed, 3 insertions(+), 321 deletions(-) delete mode 100644 app/about/assu/page.tsx delete mode 100644 app/course-unions/unions/page.tsx diff --git a/app/about/assu/page.tsx b/app/about/assu/page.tsx deleted file mode 100644 index f47c3b1..0000000 --- a/app/about/assu/page.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import AssuImage, { OverlayBlock } from "@/components/common/AssuImage"; -import Divider from "@/components/common/Divider"; -import Text from "@/components/common/Text"; -import VerticalTimeline, { - assuTimelineData, -} from "@/components/common/VerticalTimeline"; -import MapSection from "@/components/common/MapSection"; -import ContactInfoGrid from "@/components/layout/ContactInfoGrid"; - -export default function About() { - const overlays: OverlayBlock[] = [ - { - content: ( -
-

- "Education is the bridge between the present and the future. It - molds individuals capable of turning challenges into opportunities - and nurtures the imagination that will one day shape the - world." -

-

- – Maria Montessori -

-
- ), - position: "center", - }, - ]; - - return ( -
-
- - - - About the ASSU - - - - The Arts and Science Students’ Union (ASSU) is the academic student - union for over 27,000 full-time undergraduate students in the Faculty - of Arts & Science at the University of Toronto. Based in Sidney Smith, - 1068, ASSU is made up of over 60 course unions, 7 elected executives, - and 3 staff members. Through our structure of course unions, we - organize with students and community members to hold events, change - policies, improve programs, run successful campaigns, and provide - support for academic grievances. - - - ASSU recognizes that our academic experience is inherently linked to - our lived experience and seeks to support our members in addressing - the systemic barriers that they face, including poverty, racism, - sexism, homophobia, transphobia, ableism, and discrimination based - upon immigration status. We work to ensure that the academic needs and - concerns of all students are fulfilled. - - - - - - - - -
-
- ); -} diff --git a/app/course-unions/unions/page.tsx b/app/course-unions/unions/page.tsx deleted file mode 100644 index 77b3421..0000000 --- a/app/course-unions/unions/page.tsx +++ /dev/null @@ -1,238 +0,0 @@ -"use client"; - -import React from "react"; -import Divider from "@/components/common/Divider"; -import Text from "@/components/common/Text"; -import CardGrid from "@/components/layout/CardGrid"; -import ContentGrid from "@/components/layout/ContentGrid"; -import { ImageCarousel } from "@/components/common/ImageCarousel"; - -const MAX_COLS = 4; -const CARD_W = 300; // ImageCard size="md" -> 300px (sm=280, lg=320) -const GAP = 16; // === Tailwind gap-4 -const CONTENT_MAX = MAX_COLS * CARD_W + (MAX_COLS - 1) * GAP; // px - -type CourseUnion = { - id: string; - name: string; - image: string; - imageAlt: string; - subtitle: string; - desc: React.ReactNode; -}; - -const unions: CourseUnion[] = [ - { - id: "asa", - name: "Anthropology Students’ Association", - image: "/images/unions-asa.webp", - imageAlt: "Anthropology Students’ Association event photo", - subtitle: "(ASA)", - desc: ( -
-

- - http://anthro.sa.utoronto.ca - -
- - asa.students@utoronto.ca - -
- - https://www.facebook.com/groups/ANTHROPOLOGYROCKS - -
- - https://www.instagram.com/utorontoasa/ - -

-
- ), - }, - { - id: "ascu", - name: "African Studies Course Union", - image: "/images/unions-ascu.webp", - imageAlt: "African Studies Course Union photo", - subtitle: "(ASCU)", - desc: ( -
-

- - asc.union@gmail.com - -
- - https://www.instagram.com/uoftascu/ - -

-
- ), - }, - { - id: "bus", - name: "Biochemistry Undergraduate Students’ Society", - image: "/images/unions-buss.webp", - imageAlt: "Biochemistry Undergraduate Students’ Society photo", - subtitle: "(BUSS)", - desc: ( -
-

- - http://buss.biochemistry.utoronto.ca - -
- - uoftbuss@gmail.com - -
- - https://www.facebook.com/groups/2219352191 - -
- - https://www.instagram.com/uoftbuss/ - -

-
- ), - }, - { - id: "bcbsa", - name: "Bioinformatics & Computational Biology Students' Association", - image: "/images/unions-bcbsa.webp", - imageAlt: "Bioinformatics & Computational Biology Students' Association", - subtitle: "(BCBSA)", - desc: ( -
-

- - bcbsa.uoft@gmail.com - -
- - https://www.instagram.com/bcbsa.uoft/ - -

-
- ), - }, -]; - -export default function CourseUnionsPage() { - const gridItems = unions.map((u) => ({ - id: u.id, - imageSrc: u.image, - imageAltText: u.imageAlt, - title: u.name, - subtitle: u.subtitle, - description: u.desc, - })); - - return ( -
-
- - -
- - Course Unions - -
- - - -
- , - }, - { - id: "unionsText", - ariaLabel: - "Course Unions are the core of the Arts and Science Students’ Union. From A to Z, Anthropology to Women & Gender Studies, these academic unions represent the students in disciplines within the Faculty of Arts and Science and by taking any course you are automatically a part of them. We have nearly 55 active Course Unions offering several academic and social services for their members. While each Course Union is unique, both in vision and in form, all share the common goals of meeting students’ needs and representing students’ views.", - node: ( - - Course Unions are the core of the Arts and Science Students’ - Union. From A to Z, Anthropology to Women & Gender Studies, - these academic unions represent the students in disciplines - within the Faculty of Arts and Science and by taking any - course you are automatically a part of them. -
-
- We have nearly 55 active Course Unions offering several - academic and social services for their members. While each - Course Union is unique, both in vision and in form, all - share the common goals of meeting students’ needs and - representing students’ views. -
- ), - }, - ]} - /> -
- - - -
-
- -
-
- -
-
-
-
- -
- -
-
- ); -} diff --git a/components/layout/Footer.tsx b/components/layout/Footer.tsx index d0a5ae7..428cbbf 100644 --- a/components/layout/Footer.tsx +++ b/components/layout/Footer.tsx @@ -44,7 +44,7 @@ export default function Footer() { className="hover:text-gray-300 transition-colors" >

- 101 St.George Street
Sidney Smith Hall, Room 1068 + 100 St.George Street
Sidney Smith Hall, Room 1068

@@ -129,7 +129,7 @@ export default function Footer() { rel="noopener noreferrer" className="inline-block min-h-[44px] py-3 px-3 hover:text-gray-300 transition-colors text-lg leading-relaxed" > - 101 St.George Street
Sidney Smith Hall, Room 1068 + 100 St.George Street
Sidney Smith Hall, Room 1068 diff --git a/components/layout/Header.tsx b/components/layout/Header.tsx index 901c3c8..cea61e4 100644 --- a/components/layout/Header.tsx +++ b/components/layout/Header.tsx @@ -92,13 +92,12 @@ export default function Header() { }; const aboutItems = [ - { label: "About ASSU", href: "/about/assu" }, { label: "ASSU Executives", href: "/about/executives" }, { label: "ASSU Staff", href: "/about/staff" }, + { label: "Documents", href: "/services-and-resources/documents" }, ]; const courseUnionsItems = [ - { label: "Unions", href: "/course-unions/unions" }, { label: "Resources for Unions", href: "/course-unions/union-resources" }, ]; @@ -123,7 +122,6 @@ export default function Header() { label: "Free Academic Resources", href: "/services-and-resources/resources", }, - { label: "Documents", href: "/services-and-resources/documents" }, { label: "Academic Handbook", href: "/services-and-resources/handbook" }, { label: "Useful Links", href: "/services-and-resources/misc" }, ];