Skip to content

Commit 9d33d14

Browse files
PuruVJRich-HarrisRich Harris
authored
fix(site-2): Home page styles(pt 2) (#8720)
* DocsNav * Push * Nav title on each page * Install jridgewell sourcemap codec. Why it breaking suddenly * Use theme store * Use $nav_title * use $page.data.nav_title * Disable global prerendering * Fix Suppprters section * use new method * Initially hidden nav functionality * Minor fixes * Simplify into one single nav * Accomodate to the bottom nav * Minor fixes * nit * Add selected to other pages as well * New way of passing to navbar * Code cleanup * Directly pass list instead of components * 14 days * Fix comment * Discord icon * Homepage styles * More tweak, extra CTA * Bigger lowercase tagline * Preload overpass for transitions demo * Tweak for ipad air * Remove letter spacing * simplify home page styles (#8738) * simplify * fix * slightly better use of space * tiny bit more room * read the docs * crop image * very minor tweak * another breakpoint * tweak * actually it works down to 1400px --------- Co-authored-by: Rich Harris <[email protected]> --------- Co-authored-by: Rich Harris <[email protected]> Co-authored-by: Rich Harris <[email protected]>
1 parent 62bef80 commit 9d33d14

File tree

8 files changed

+148
-93
lines changed

8 files changed

+148
-93
lines changed

pnpm-lock.yaml

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sites/svelte.dev/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
"@sveltejs/site-kit": "6.0.0-next.1",
3333
"@sveltejs/vite-plugin-svelte": "^2.4.1",
3434
"@types/marked": "^5.0.0",
35-
"@types/node": "^20.2.5",
36-
"@types/prettier": "^2.7.2",
35+
"@types/node": "^20.2.6",
36+
"@types/prettier": "^2.7.3",
3737
"degit": "^2.8.4",
38-
"dotenv": "^16.1.0",
38+
"dotenv": "^16.1.4",
3939
"jimp": "^0.22.8",
4040
"magic-string": "^0.30.0",
41-
"marked": "^5.0.3",
41+
"marked": "^5.1.0",
4242
"node-fetch": "^3.3.1",
4343
"prettier": "^2.8.8",
4444
"prettier-plugin-svelte": "^2.10.1",

sites/svelte.dev/src/routes/_components/Demo.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
let selected = examples[0];
3232
</script>
3333

34+
<svelte:head>
35+
<link rel="prefetch" href="/fonts/overpass/overpass-latin-400.woff2" />
36+
</svelte:head>
37+
3438
<Section --background="var(--sk-back-2)">
3539
<h3>Why Svelte?</h3>
3640

0 commit comments

Comments
 (0)