diff --git a/src/routes/penang/+page.svelte b/src/routes/penang/+page.svelte index 060550b..b33f42f 100644 --- a/src/routes/penang/+page.svelte +++ b/src/routes/penang/+page.svelte @@ -2,8 +2,8 @@ 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 directionsURL = "https://www.google.com/maps/search/1600+pennsylvania+avenue+washington+dc/" + const contactLink = "mailto:example@daydream.hackclub.com" // Sponsors Configuration const sponsorsEnabled = false; // Set to false to hide the entire sponsors section @@ -17,23 +17,23 @@ { image: "/example/logo7.png", name: "Sponsor 7", url: "https://example7.com" } ]; - const scheduleData = { - saturday: { + const scheduleData: { title: string; items: { event: string; time: string; }[] }[] = [ + { title: "Saturday, September 27th", items: [ { event: "Doors open", time: "9:00 AM" }, - { event: "Opening ceremony", time: "9:15 PM" }, - { event: "Workshop 1", time: "10:30 PM" }, + { event: "Opening ceremony", time: "9:15 AM" }, + { event: "Workshop 1", time: "10:30 AM" }, { event: "Lunch", time: "1:00 PM" }, { event: "Start working on the project", time: "2:00 PM" }, { event: "Workshop 2", time: "4:00 PM" }, { event: "Workshop 3", time: "4:00 PM" }, { event: "Dinner", time: "6:00 PM" }, { event: "Ship the project", time: "8:00 PM" }, - { event: "Closing ceremony", time: "9:00 AM" } + { event: "Closing ceremony", time: "9:00 PM" } ] } - }; + ]; import { onMount } from "svelte"; @@ -963,43 +963,25 @@ Mumbai`.split("\n")
- {#if directionsURL} - Daydream {eventName} is taking place at {eventAddress}! - {:else} - Daydream {eventName} is taking place at {eventAddress}! - {/if} -
+ {#if eventAddress} ++ {#if directionsURL} + Daydream {eventName} is taking place at {eventAddress}! + {:else} + Daydream {eventName} is taking place at {eventAddress}! + {/if} +
+ {/if}