Skip to content

Commit

Permalink
site: remove banner (#9620)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
  • Loading branch information
hanszoons and benmccann authored Nov 29, 2023
1 parent 75295ac commit 8c2cbb8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 33 deletions.
26 changes: 16 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions sites/svelte.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"start": "node build",
"check": "node scripts/update.js && pnpm generate && svelte-kit sync && svelte-check",
"check:watch": "svelte-kit sync && svelte-check --watch",
"format": "prettier --check . --ignore-path .gitignore --plugin-search-dir=. --write",
"check:format": "prettier --check . --ignore-path .gitignore --plugin-search-dir=."
"format": "prettier --check . --write",
"check:format": "prettier --check ."
},
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.4.15",
Expand All @@ -41,8 +41,8 @@
"lightningcss": "^1.21.8",
"magic-string": "^0.30.3",
"marked": "^9.0.0",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.0.3",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.1.2",
"sass": "^1.67.0",
"satori": "^0.10.4",
"satori-html": "^0.3.2",
Expand Down
20 changes: 1 addition & 19 deletions sites/svelte.dev/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@
</svelte:head>
<div style:display={$page.url.pathname !== '/docs' ? 'contents' : 'none'}>
<Shell
nav_visible={$page.url.pathname !== '/repl/embed'}
bind:snapshot={shell_snapshot}
banner_bottom_height="42px"
>
<Shell nav_visible={$page.url.pathname !== '/repl/embed'} bind:snapshot={shell_snapshot}>
<Nav slot="top-nav" title={data.nav_title} links={data.nav_links}>
<svelte:fragment slot="home-large">
<strong>svelte</strong>.dev
Expand Down Expand Up @@ -72,12 +68,6 @@
</Nav>
<slot />
<div slot="banner-bottom" class="banner-bottom">
<a href="https://www.sveltesummit.com/2023/fall" class="banner-bottom"
>Join us at Svelte Summit on Nov 11</a
>
</div>
</Shell>
</div>
Expand All @@ -94,12 +84,4 @@
height: 100%;
width: 100%;
}
.banner-bottom {
text-align: center;
background: var(--sk-theme-1-variant);
color: white;
text-decoration: underline;
padding: 8px;
}
</style>

1 comment on commit 8c2cbb8

@vercel
Copy link

@vercel vercel bot commented on 8c2cbb8 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svelte-5-preview – ./sites/svelte-5-preview

svelte-octane.vercel.app
svelte-5-preview-svelte.vercel.app
svelte-5-preview.vercel.app
svelte-5-preview-git-main-svelte.vercel.app

Please sign in to comment.