We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57f248e commit 3474eafCopy full SHA for 3474eaf
sites/kit.svelte.dev/src/routes/Banner.svelte
@@ -15,8 +15,10 @@
15
16
<header class="banner" class:visible>
17
<p>
18
- <a href="https://www.youtube.com/watch?v=N4BRVkQVoMc">
19
- <strong>LIVE NOW:</strong> announcing SvelteKit 1.0!
+ <a href="https://svelte.dev/blog/announcing-sveltekit-1.0">
+ <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>
22
</a>
23
</p>
24
</header>
@@ -45,6 +47,20 @@
45
47
color: inherit;
46
48
}
49
50
+ .large {
51
+ display: none;
52
+ }
53
+
54
+ @media (min-width: 440px) {
55
+ .small {
56
57
58
59
60
+ display: initial;
61
62
63
64
@media (max-width: 800px) {
65
.banner:not(.visible) {
66
transform: translate(0, calc(-100% - 1rem));
0 commit comments