Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,951 changes: 912 additions & 1,039 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@astrojs/sitemap": "^3.7.2",
"astro": "^5.15.9",
"astro": "^6.4.4",
"gsap": "^3.14.2",
"lucide-astro": "^0.556.0",
"lucide-react": "^0.561.0"
Expand Down
Binary file modified public/images/event-map/cloud-summit-floorplan.pdf
Binary file not shown.
Binary file modified public/images/event-map/floor-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/event-map/icons/Workshop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 20 additions & 5 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -211,30 +211,45 @@ function linkOpensInNewTab(href: string): boolean {
import { citySpecificContent } from "../lib/content";
import type { City } from "../lib/content";

// Update ticket URL when city changes
function updateTicketUrl() {
// Update city-dependent footer links when the selected city changes
function updateFooterLinks() {
const cityStore = getCityStore();
const currentCity = cityStore.getCity();

const ticketLinks = document.querySelectorAll(
'.footer-nav a[href*="luma.com"]',
) as NodeListOf<HTMLAnchorElement>;

ticketLinks.forEach((link) => {
link.href = citySpecificContent[currentCity].ticketUrl;
});

const callForSpeakersLinks = Array.from(
document.querySelectorAll('.footer-nav a'),
).filter((link) => {
try {
return new URL(link.href).pathname === '/our-speakers/';
} catch {
return false;
}
});

callForSpeakersLinks.forEach((link) => {
link.href = citySpecificContent[currentCity].callForSpeakersFooterUrl;
});
}

// Initialize and subscribe to city changes
function initCityAwareFooter() {
const cityStore = getCityStore();
cityStore.init();

// Update ticket URL on initial load
updateTicketUrl();
// Update city-specific footer links on initial load
updateFooterLinks();

// Subscribe to city changes
cityStore.subscribe((city: City) => {
updateTicketUrl();
updateFooterLinks();
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/cityContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const cityContent: Record<City, CityContent> = {
activityRoles: ['title', 'meta', 'title', 'meta'],
},
{
startTime: '4:00 PM',
startTime: '3:50 PM',
endTime: '6.30 PM',
activities: [
'AWS Workshop: Introduction to Claude Code on AWS',
Expand Down
13 changes: 12 additions & 1 deletion src/lib/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export interface CitySpecificContent {
time: string;
callForSpeakers: string;
ticketUrl: string;
callForSpeakersFooterUrl: string;
}

export interface HeroContent {
Expand Down Expand Up @@ -111,6 +112,7 @@ export const citySpecificContent: Record<City, CitySpecificContent> = {
time: '2:15 pm - 9 pm',
callForSpeakers: 'February 2026',
ticketUrl: 'https://luma.com/cloudsummit26',
callForSpeakersFooterUrl: '/our-speakers/',
},
toronto: {
cityName: 'Toronto',
Expand All @@ -121,6 +123,7 @@ export const citySpecificContent: Record<City, CitySpecificContent> = {
time: '12pm - 6pm',
callForSpeakers: 'April 2026',
ticketUrl: 'https://luma.com/0xpa2rxj',
callForSpeakersFooterUrl: 'https://tally.so/r/rjBeN5',
},
};

Expand Down Expand Up @@ -381,6 +384,10 @@ export const eventMapContent = {
iconSrc: '/images/event-map/icons/cloud-chamber.png',
title: 'Cloud chamber',
},
{
iconSrc: '/images/event-map/icons/Workshop.png',
title: 'Workshop',
},
],
},
],
Expand Down Expand Up @@ -436,7 +443,11 @@ export function getFooterContent(city: City) {
text: 'Get a Ticket',
href: citySpecificContent[city].ticketUrl,
},
{ col: 1, text: 'Call for Speakers', href: '/our-speakers/' },
{
col: 1,
text: 'Call for Speakers',
href: citySpecificContent[city].callForSpeakersFooterUrl
},
{ col: 1, text: 'Become a Sponsor', href: 'https://tally.so/r/wLqXvO' },
{ col: 1, text: 'Apply to Volunteer', href: 'https://tally.so/r/mBVZjA' },
{ col: 1, text: 'Enter Hackathon', href: 'https://hackerrivals.com/' },
Expand Down