Skip to content

Commit 379f58a

Browse files
committed
Push
1 parent c517e42 commit 379f58a

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

apps/svelte.dev/src/routes/banner.json/+server.js

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,15 @@ export const GET = async () => {
99
return json(
1010
defineBanner([
1111
{
12-
id: 'advent2023',
13-
start: new Date('1 Dec, 2023 00:00:00 UTC'),
14-
end: new Date('24 Dec, 2023 23:59:59 UTC'),
12+
id: 'sveltehack2024',
13+
start: new Date('22 Oct, 2024 00:00:00 UTC'),
14+
end: new Date('10 January, 2025 23:59:59 UTC'),
1515
arrow: true,
1616
content: {
17-
lg: 'Advent of Svelte 2023 is here!',
18-
sm: 'Advent of Svelte'
17+
lg: 'Svelte Hack 2024 (Runes edition) is here!',
18+
sm: 'Svelte Hack 2024'
1919
},
2020
href: 'https://advent.sveltesociety.dev/'
21-
},
22-
23-
// This one skips the blog post and just changes the link
24-
{
25-
id: 'advent2023-finished',
26-
start: new Date('25 Dec, 2023 00:00:00 UTC'),
27-
end: new Date('1 Jan, 2024 00:00:00 UTC'),
28-
arrow: true,
29-
content: {
30-
lg: 'Advent of Svelte 2023 is over. See you next year!',
31-
sm: 'Advent of Svelte 2023 is over!'
32-
},
33-
href: 'https://advent.sveltesociety.dev/'
34-
// scope: ['svelte.dev, kit.svelte.dev'] // Dont show on learn.svelte.dev by not adding it to the array
3521
}
3622
])
3723
);

0 commit comments

Comments
 (0)