Skip to content

Commit 3474eaf

Browse files
authored
Announcement (sveltejs#8147)
* live now * announcement * tweak
1 parent 57f248e commit 3474eaf

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

sites/kit.svelte.dev/src/routes/Banner.svelte

+18-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515

1616
<header class="banner" class:visible>
1717
<p>
18-
<a href="https://www.youtube.com/watch?v=N4BRVkQVoMc">
19-
<strong>LIVE NOW:</strong> announcing SvelteKit 1.0!
18+
<a href="https://svelte.dev/blog/announcing-sveltekit-1.0">
19+
<strong>SvelteKit 1.0 is here!</strong>
20+
<span class="small">Learn more</span>
21+
<span class="large">Read the blog post to learn more</span>
2022
</a>
2123
</p>
2224
</header>
@@ -45,6 +47,20 @@
4547
color: inherit;
4648
}
4749
50+
.large {
51+
display: none;
52+
}
53+
54+
@media (min-width: 440px) {
55+
.small {
56+
display: none;
57+
}
58+
59+
.large {
60+
display: initial;
61+
}
62+
}
63+
4864
@media (max-width: 800px) {
4965
.banner:not(.visible) {
5066
transform: translate(0, calc(-100% - 1rem));

0 commit comments

Comments
 (0)