Update +page.svelte

This commit is contained in:
Chee Yong 2025-08-09 14:25:01 +08:00 committed by GitHub
parent 42de48a686
commit f35e4e85cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,20 +1,13 @@
<script lang="ts">
const eventName = "DayDream Penang";
const eventLocation = "Penang";
const eventAddress = "";
const directionsURL = "https://www.google.com/maps/search/1600+pennsylvania+avenue+washington+dc/"
const contactLink = "mailto:example@daydream.hackclub.com"
const eventAddress = "Wisma Yeap Chor Ee, 37, Gat Lebuh China, Georgetown, 10200 George Town, Penang";
const directionsURL = "https://www.google.com/maps/place/PSC@Heritage+(Penang+Science+Cluster)/@5.4153623,100.3397381,17z/data=!3m1!4b1!4m6!3m5!1s0x304ac38e9e1ad7e9:0xdb5c3a2cdee5013c!8m2!3d5.415357!4d100.342313!16s%2Fg%2F11clvx6mkl?entry=ttu&g_ep=EgoyMDI1MDgwNi4wIKXMDSoASAFQAw%3D%3D"
const contactLink = "mailto:info@daydreampenang.com"
// Sponsors Configuration
const sponsorsEnabled = false; // Set to false to hide the entire sponsors section
const sponsorsEnabled = true;
const sponsors = [
{ image: "/example/logo1.png", name: "Sponsor 1", url: "https://example1.com" },
{ image: "/example/logo2.png", name: "Sponsor 2", url: "https://example2.com" },
{ image: "/example/logo3.png", name: "Sponsor 3", url: "https://example3.com" },
{ image: "/example/logo4.png", name: "Sponsor 4", url: "https://example4.com" },
{ image: "/example/logo5.png", name: "Sponsor 5", url: "https://example5.com" },
{ image: "/example/logo6.png", name: "Sponsor 6", url: "https://example6.com" },
{ image: "/example/logo7.png", name: "Sponsor 7", url: "https://example7.com" }
{ image: "https://storage.jukeboxprint.com/s/images/jukebox-logo.svg", name: "Jukebox", url: "https://www.jukeboxprint.com/custom-stickers" }
];
const scheduleData: { title: string; items: { event: string; time: string; }[] }[] = [
@ -48,7 +41,7 @@
// Get current URL for dynamic metadata
$: currentUrl = `https://daydream.hackclub.com${$page.url.pathname}`;
$: pageTitle = `Daydream ${eventName} - ${eventLocation} Game Jam`;
$: pageTitle = `${eventName} - Game Jam in ${eventLocation}`;
$: pageDescription = `Join Daydream ${eventName} in ${eventLocation}! A teen-led game jam where you'll build amazing games with other high schoolers. Food, workshops, and prizes included!`;
$: pageKeywords = `game jam, hackathon, teen coding, Hack Club, game development, ${eventLocation}, ${eventName}`;