From 8e93333072fea335dce22961cce01dc70e93f656 Mon Sep 17 00:00:00 2001 From: Addison Bartelli Date: Fri, 30 Jan 2026 19:09:44 -0600 Subject: [PATCH] archive addition and ipc link fix --- .astro/settings.json | 2 +- src/components/RadioButtons.tsx | 2 +- src/data/archive.ts | 29 +++++++++++++++++++++++------ src/pages/ipc26.astro | 2 +- 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/.astro/settings.json b/.astro/settings.json index 436f84f..5f8ce4e 100644 --- a/.astro/settings.json +++ b/.astro/settings.json @@ -1,5 +1,5 @@ { "_variables": { - "lastUpdateCheck": 1768720957419 + "lastUpdateCheck": 1769820972528 } } \ No newline at end of file diff --git a/src/components/RadioButtons.tsx b/src/components/RadioButtons.tsx index 621cb76..9c20e32 100644 --- a/src/components/RadioButtons.tsx +++ b/src/components/RadioButtons.tsx @@ -17,7 +17,7 @@ const RadioButtons = ({buttonIDs, buttonText, inputElementName, stateSetter} : R return (
{ buttonProps.map((btn, idx) => ( diff --git a/src/data/archive.ts b/src/data/archive.ts index 5855a82..7f38c0e 100644 --- a/src/data/archive.ts +++ b/src/data/archive.ts @@ -5,10 +5,16 @@ Parsed date strings are in ISO format (YYYY-MM-DD) */ // be sure to edit these at the same time. not sure of a great way to couple them with code. +export type ArchiveYear = "25-26"; export const ARCHIVE_YEARS: ArchiveYear[] = [ "25-26" ]; -export type ArchiveYear = "25-26"; + +// be sure to edit these at the same time. not sure of a great way to couple them with code. +export type ArchiveEntryType = "Meetings" | "Bugsmashers" | "HackKU" | "Miscellaneous"; +export const ALL_ENTRY_TYPES: ArchiveEntryType[] = [ + "Meetings", "Bugsmashers", "HackKU", "Miscellaneous" +]; // Modify as needed. export type ArchiveTag = "Test" | @@ -29,11 +35,6 @@ export type ArchiveTag = "Test" | "Intro" | "Web"; -export const ALL_ENTRY_TYPES: ArchiveEntryType[] = [ - "Meetings", "Bugsmashers", "HackKU", "Miscellaneous" -]; -export type ArchiveEntryType = "Meetings" | "Bugsmashers" | "HackKU" | "Miscellaneous"; - export type ArchiveItem = { name: string; description?: string; @@ -355,4 +356,20 @@ export const ALL_ARCHIVE_ITEMS: ArchiveItem[] = [ } ] }, + // Bugsmashers SP26 + { + name: 'BugSmashers: C and C++', + semester: 'Spring', + date: new Date('January 29, 2026'), + description: 'BugSmashers host a workshop on C and C++, critical low-level languages.', + tags: ["Workshops"], + entryType: "Bugsmashers", + year: "25-26", + links: [ + { + name: "Slides", + url: new URL("https://docs.google.com/presentation/d/1HW7KIK---Vk6yaaHbwwXtd5jwJJwGwZE1ow_6m3OoH4/edit?usp=sharing") + } + ] + }, ]; \ No newline at end of file diff --git a/src/pages/ipc26.astro b/src/pages/ipc26.astro index 814b856..9b931bc 100644 --- a/src/pages/ipc26.astro +++ b/src/pages/ipc26.astro @@ -34,7 +34,7 @@ const metadata = {

More information is available on the Devpost!

-