Skip to content
Merged
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
24 changes: 12 additions & 12 deletions apps/svelte.dev/src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,21 @@ const nav_links: NavigationLink[] = [
}
];

// const banner: BannerData = {
// id: 'adventofsvelte2024',
// start: new Date('1 December, 2024 00:00:00 UTC'),
// end: new Date('25 December, 2024 23:59:59 UTC'),
// arrow: true,
// content: {
// lg: 'Twenty-four days, twenty-four features: Advent of Svelte 2024',
// sm: 'Advent of Svelte 2024'
// },
// href: '/blog/advent-of-svelte'
// };
const banner: BannerData = {
id: 'barcelona-2025-tickets',
start: new Date('21 April, 2025 00:00:00 UTC'),
end: new Date('6 May, 2025 23:59:59 UTC'),
arrow: true,
content: {
lg: 'Svelte Summit Barcelona and online, May 8-9: Last few days to get tickets!',
sm: 'Svelte Summit May 8-9'
},
href: 'https://www.sveltesummit.com/'
};

export const load = async () => {
return {
nav_links,
banner: undefined
banner
};
};