Skip to content

Commit 8c2cbb8

Browse files
hanszoonsbenmccann
andauthored
site: remove banner (#9620)
Co-authored-by: Ben McCann <[email protected]>
1 parent 75295ac commit 8c2cbb8

File tree

3 files changed

+21
-33
lines changed

3 files changed

+21
-33
lines changed

pnpm-lock.yaml

+16-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sites/svelte.dev/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"start": "node build",
1414
"check": "node scripts/update.js && pnpm generate && svelte-kit sync && svelte-check",
1515
"check:watch": "svelte-kit sync && svelte-check --watch",
16-
"format": "prettier --check . --ignore-path .gitignore --plugin-search-dir=. --write",
17-
"check:format": "prettier --check . --ignore-path .gitignore --plugin-search-dir=."
16+
"format": "prettier --check . --write",
17+
"check:format": "prettier --check ."
1818
},
1919
"dependencies": {
2020
"@jridgewell/sourcemap-codec": "^1.4.15",
@@ -41,8 +41,8 @@
4141
"lightningcss": "^1.21.8",
4242
"magic-string": "^0.30.3",
4343
"marked": "^9.0.0",
44-
"prettier": "^3.0.3",
45-
"prettier-plugin-svelte": "^3.0.3",
44+
"prettier": "^3.1.0",
45+
"prettier-plugin-svelte": "^3.1.2",
4646
"sass": "^1.67.0",
4747
"satori": "^0.10.4",
4848
"satori-html": "^0.3.2",

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

+1-19
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@
3232
</svelte:head>
3333
3434
<div style:display={$page.url.pathname !== '/docs' ? 'contents' : 'none'}>
35-
<Shell
36-
nav_visible={$page.url.pathname !== '/repl/embed'}
37-
bind:snapshot={shell_snapshot}
38-
banner_bottom_height="42px"
39-
>
35+
<Shell nav_visible={$page.url.pathname !== '/repl/embed'} bind:snapshot={shell_snapshot}>
4036
<Nav slot="top-nav" title={data.nav_title} links={data.nav_links}>
4137
<svelte:fragment slot="home-large">
4238
<strong>svelte</strong>.dev
@@ -72,12 +68,6 @@
7268
</Nav>
7369
7470
<slot />
75-
76-
<div slot="banner-bottom" class="banner-bottom">
77-
<a href="https://www.sveltesummit.com/2023/fall" class="banner-bottom"
78-
>Join us at Svelte Summit on Nov 11</a
79-
>
80-
</div>
8171
</Shell>
8272
</div>
8373
@@ -94,12 +84,4 @@
9484
height: 100%;
9585
width: 100%;
9686
}
97-
98-
.banner-bottom {
99-
text-align: center;
100-
background: var(--sk-theme-1-variant);
101-
color: white;
102-
text-decoration: underline;
103-
padding: 8px;
104-
}
10587
</style>

0 commit comments

Comments
 (0)