From 52ea263b05046abda390c5101a72e9fea534f32d Mon Sep 17 00:00:00 2001 From: Antoine Phan Date: Thu, 8 Jan 2026 21:39:06 -0500 Subject: [PATCH] Misc. fix: Affiliated Groups instead of 'Clubs' --- .../homepage/AffiliatedClubs.svelte | 133 ---------------- .../homepage/AffiliatedGroups.svelte | 150 ++++++++++++++++++ src/routes/+page.svelte | 4 +- 3 files changed, 152 insertions(+), 135 deletions(-) delete mode 100644 src/components/homepage/AffiliatedClubs.svelte create mode 100644 src/components/homepage/AffiliatedGroups.svelte diff --git a/src/components/homepage/AffiliatedClubs.svelte b/src/components/homepage/AffiliatedClubs.svelte deleted file mode 100644 index 9cbe7c8..0000000 --- a/src/components/homepage/AffiliatedClubs.svelte +++ /dev/null @@ -1,133 +0,0 @@ - - -
- -
-

- Affiliated Clubs & Labs -

-

- Explore opportunities to enhance your skills, build innovative projects, and connect with the - engineering community through our affiliated organizations. -

-
- - -
- {#each clubs as club, i (club.name)} - {@const Icon = club.icon} -
- -
- -
- -
-
-
-

- {club.name} -

-
- - -

- {club.description} -

- - -
    - {#each club.features as feature (feature)} -
  • - - - {feature} - -
  • - {/each} -
- - - - Visit Website - -
-
- {/each} -
- - -
-

- Want to get involved? Visit their websites to learn about upcoming events and how to join! -

-
-
diff --git a/src/components/homepage/AffiliatedGroups.svelte b/src/components/homepage/AffiliatedGroups.svelte new file mode 100644 index 0000000..c2d546e --- /dev/null +++ b/src/components/homepage/AffiliatedGroups.svelte @@ -0,0 +1,150 @@ + + +
+ +
+

+ Subcommittees & Affiliated Groups +

+

+ Explore opportunities to enhance your skills, build innovative projects, and connect with the + engineering community through our subcommittees and affiliated groups. +

+
+ + +
+ {#each groups as group, i (group.name)} + {@const Icon = group.icon} +
+ +
+ +
+ +
+
+
+
+

+ {group.name} +

+
+ +
+ + + {#if group.instagram} + + + {/if} +
+
+ + +

+ {group.description} +

+ + +
    + {#each group.features as feature (feature)} +
  • + + + {feature} + +
  • + {/each} +
+
+
+ {/each} +
+ + +
+

+ Want to get involved? Visit their websites and social media pages to learn about upcoming events and how to join! +

+
+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index acf39df..2a7e261 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -5,7 +5,7 @@ import OhSchedule from 'components/officehour/OHSchedule.svelte'; import Link from 'components/Link.svelte'; import SeoMetaTags from 'components/layout/SeoMetaTags.svelte'; - import AffiliatedClubs from 'components/homepage/AffiliatedClubs.svelte'; + import AffiliatedGroups from 'components/homepage/AffiliatedGroups.svelte'; import { fade } from 'svelte/transition'; /** loading things from the server side */ @@ -52,7 +52,7 @@
- +