File tree Expand file tree Collapse file tree 4 files changed +65
-23
lines changed
Expand file tree Collapse file tree 4 files changed +65
-23
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export function createCounter() {
124124 return {
125125- subscribe,
126126- increment: () => update((n) => n + 1)
127- + get count { return count },
127+ + get count() { return count },
128128+ increment: () => count += 1
129129 };
130130}
Original file line number Diff line number Diff line change 3030 "@resvg/resvg-js" : " ^2.4.1" ,
3131 "@sveltejs/adapter-vercel" : " ^3.0.3" ,
3232 "@sveltejs/kit" : " ^1.24.1" ,
33- "@sveltejs/site-kit" : " 6.0.0-next.46 " ,
33+ "@sveltejs/site-kit" : " 6.0.0-next.47 " ,
3434 "@sveltejs/vite-plugin-svelte" : " ^2.4.6" ,
3535 "@types/cookie" : " ^0.5.2" ,
3636 "@types/node" : " ^20.5.9" ,
Original file line number Diff line number Diff line change 3232< / svelte: head>
3333
3434< div style: display= {$page .url .pathname !== ' /docs' ? ' contents' : ' none' }>
35- < Shell nav_visible= {$page .url .pathname !== ' /repl/embed' } bind: snapshot= {shell_snapshot}>
35+ < Shell
36+ nav_visible= {$page .url .pathname !== ' /repl/embed' }
37+ bind: snapshot= {shell_snapshot}
38+ banner_bottom_height= " 42px"
39+ >
3640 < Nav slot= " top-nav" title= {data .nav_title } links= {data .nav_links }>
3741 < svelte: fragment slot= " home-large" >
3842 < strong> svelte< / strong> .dev
6872 < / Nav>
6973
7074 < slot / >
75+
76+ < div slot= " banner-bottom" class = " banner-bottom" >
77+ < a href= " /blog/runes" class = " banner-bottom" > Introducing the upcoming Svelte 5 API : Runes< / a>
78+ < / div>
7179 < / Shell>
7280< / div>
7381
8492 height: 100 % ;
8593 width: 100 % ;
8694 }
95+
96+ .banner - bottom {
97+ text- align: center;
98+ background: var (-- sk- theme- 1 - variant);
99+ color: white;
100+ text- decoration: underline;
101+ padding: 8px ;
102+ }
87103< / style>
You can’t perform that action at this time.
0 commit comments