Skip to content

Commit c070ae4

Browse files
authored
site: remove banner (#9964)
1 parent 50ae709 commit c070ae4

File tree

1 file changed

+1
-46
lines changed

1 file changed

+1
-46
lines changed

sites/kit.svelte.dev/src/routes/+layout.svelte

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
import { Icon, Nav, NavItem, Separator, Shell } from '@sveltejs/site-kit/components';
66
import { Search, SearchBox } from '@sveltejs/site-kit/search';
77
import '@sveltejs/site-kit/styles/index.css';
8-
9-
let banner_height = '48px';
108
</script>
119

12-
<Shell banner_bottom_height={banner_height}>
10+
<Shell>
1311
<Nav slot="top-nav">
1412
<svelte:fragment slot="home">
1513
<span><strong>kit</strong>.svelte.dev</span>
@@ -48,18 +46,6 @@
4846
</Nav>
4947

5048
<slot />
51-
52-
<div class="banner" slot="banner-bottom">
53-
<a target="_blank" rel="noopener noreferrer" href="https://sveltesummit.com/">
54-
<span class="small">
55-
<strong>Svelte Summit</strong> spring conference →
56-
</span>
57-
<span class="large">
58-
<strong>Svelte Summit</strong> The Svelte Conference for everyone →
59-
</span>
60-
</a>
61-
<button on:click={() => (banner_height = '0px')}> ✕ </button>
62-
</div>
6349
</Shell>
6450

6551
{#if browser}
@@ -97,35 +83,4 @@
9783
:global(.toggle) {
9884
bottom: 0 !important;
9985
}
100-
101-
.banner {
102-
--banner-bg: #ff4700;
103-
--banner-color: white;
104-
--banner-strong-color: white;
105-
106-
background-color: var(--banner-bg);
107-
color: var(--banner-color);
108-
position: fixed;
109-
display: flex;
110-
align-items: center;
111-
justify-content: center;
112-
bottom: 0;
113-
width: 100vw;
114-
height: var(--sk-banner-bottom-height);
115-
z-index: 999;
116-
}
117-
118-
.banner strong {
119-
font-weight: bold;
120-
}
121-
122-
.banner span {
123-
color: var(--banner-color);
124-
}
125-
126-
.banner button {
127-
position: absolute;
128-
right: 30px;
129-
font-size: 18px;
130-
}
13186
</style>

0 commit comments

Comments
 (0)