Skip to content

Commit

Permalink
site: remove banner (#8353)
Browse files Browse the repository at this point in the history
* remove banner

* bump site-kit

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
  • Loading branch information
Rich-Harris and benmccann authored Jan 17, 2023
1 parent 3961431 commit 1f3e1f1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 78 deletions.
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion sites/kit.svelte.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/adapter-vercel": "workspace:^1.0.4",
"@sveltejs/amp": "workspace:^",
"@sveltejs/kit": "workspace:^",
"@sveltejs/site-kit": "^3.0.3",
"@sveltejs/site-kit": "^3.1.0",
"@types/d3-geo": "^3.0.2",
"@types/node": "^16.18.6",
"flexsearch": "^0.7.31",
Expand Down
3 changes: 0 additions & 3 deletions sites/kit.svelte.dev/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import Search from '$lib/search/Search.svelte';
import SearchBox from '$lib/search/SearchBox.svelte';
import Logo from './home/svelte-logo.svg';
import Banner from './Banner.svelte';
</script>

<Icons />
Expand All @@ -22,8 +21,6 @@

<SkipLink href="#main" />

<Banner />

<Nav {page} logo={Logo}>
<svelte:fragment slot="nav-center">
{#if $page.url.pathname !== '/search'}
Expand Down
69 changes: 0 additions & 69 deletions sites/kit.svelte.dev/src/routes/Banner.svelte

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
return heading.getBoundingClientRect().top - parseFloat(style.scrollMarginTop) - top;
});
height = window.innerHeight - 50 /* bottom banner height */;
height = window.innerHeight;
}
function highlight() {
Expand Down

0 comments on commit 1f3e1f1

Please sign in to comment.