From 1fdb1f88b3aa9c399b6145f3338bd0256d55a8e2 Mon Sep 17 00:00:00 2001 From: ahmad1368 Date: Sun, 12 Jul 2026 11:49:43 -0700 Subject: [PATCH] fix: update website by credits to Ahmad and Vincent for Toronto summit #142 --- .../TorontoCloudSummitDeveloper2026.test.ts | 20 +++++++++++++++++++ src/lib/content.ts | 16 ++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 src/components/TorontoCloudSummitDeveloper2026.test.ts diff --git a/src/components/TorontoCloudSummitDeveloper2026.test.ts b/src/components/TorontoCloudSummitDeveloper2026.test.ts new file mode 100644 index 0000000..3e6c1e7 --- /dev/null +++ b/src/components/TorontoCloudSummitDeveloper2026.test.ts @@ -0,0 +1,20 @@ +import { describe, it, expect } from "vitest"; +import { websiteCredits } from "../lib/content"; + +describe("Website Credits Unit Tests for Toronto Cloud Summit (#142)", () => { + it("should verify that website credits array contains exactly Ahmad and Vincent with correct profiles", () => { + expect(websiteCredits).toBeDefined(); + + expect(websiteCredits.length).toBe(2); + + expect(websiteCredits[0].name).toBe("Ahmad"); + expect(websiteCredits[0].link).toBe( + "https://www.linkedin.com/in/ahmad-salempoor/", + ); + + expect(websiteCredits[1].name).toBe("Vincent"); + expect(websiteCredits[1].link).toBe( + "https://www.linkedin.com/in/vincent-vincent-360b71104/", + ); + }); +}); diff --git a/src/lib/content.ts b/src/lib/content.ts index 49ff8ff..a106c23 100644 --- a/src/lib/content.ts +++ b/src/lib/content.ts @@ -414,7 +414,10 @@ export interface VenueLogisticsSectionNewVersion { } /** Footer line: Website by … — optional LinkedIn per name (same pattern as aws-community-day). */ -export const websiteCredits: Array<{ name: string; link: string | null }> = [ +export const websiteCredits2026_Vancouver: Array<{ + name: string; + link: string | null; +}> = [ { name: "Nichanun (Luck)", link: "https://www.linkedin.com/in/nichanun-pong/", @@ -433,6 +436,17 @@ export const websiteCredits: Array<{ name: string; link: string | null }> = [ }, ]; +export const websiteCredits: Array<{ name: string; link: string | null }> = [ + { + name: "Ahmad", + link: "https://www.linkedin.com/in/ahmad-salempoor/", + }, + { + name: "Vincent", + link: "https://www.linkedin.com/in/vincent-vincent-360b71104/", + }, +]; + // Helper function to get footer content with city-specific ticket URL export function getFooterContent(city: City) { return {