File tree 5 files changed +18
-19
lines changed
5 files changed +18
-19
lines changed Original file line number Diff line number Diff line change 13
13
"start" : " node build" ,
14
14
"check" : " node scripts/update.js && pnpm generate && svelte-kit sync && svelte-check" ,
15
15
"check:watch" : " svelte-kit sync && svelte-check --watch" ,
16
- "format" : " pnpm run check:format -- --write" ,
16
+ "format" : " prettier -- check . --ignore-path .gitignore --plugin-search-dir=. --write" ,
17
17
"check:format" : " prettier --check . --ignore-path .gitignore --plugin-search-dir=."
18
18
},
19
19
"dependencies" : {
Original file line number Diff line number Diff line change @@ -47,16 +47,14 @@ export async function read(sessionid) {
47
47
if ( ! session_cache . get ( sessionid ) ) {
48
48
session_cache . set (
49
49
sessionid ,
50
- await client
51
- . rpc ( 'get_user' , { sessionid } )
52
- . then ( ( { data, error } ) => {
53
- if ( error ) {
54
- session_cache . set ( sessionid , null ) ;
55
- throw new Error ( error . message ) ;
56
- }
50
+ await client . rpc ( 'get_user' , { sessionid } ) . then ( ( { data, error } ) => {
51
+ if ( error ) {
52
+ session_cache . set ( sessionid , null ) ;
53
+ throw new Error ( error . message ) ;
54
+ }
57
55
58
- return data . id && data ;
59
- } )
56
+ return data . id && data ;
57
+ } )
60
58
) ;
61
59
}
62
60
Original file line number Diff line number Diff line change 11
11
12
12
<div class =" hero" >
13
13
<div class =" hero-content" >
14
- <img alt ="Svelte logotype" class ="logotype" src ={SvelteLogotype } />
14
+ <img alt ="Svelte logotype" class ="logotype" src ={SvelteLogotype } width = " 300 " height = " 56 " />
15
15
<strong >
16
- <span style =" white-space: nowrap; " >Cybernetically enhanced</span > <br /> web apps
16
+ <span style =" white-space: nowrap" >Cybernetically enhanced</span > <br /> web apps
17
17
</strong >
18
18
<div class =" buttons" >
19
19
<a href =" https://learn.svelte.dev" rel =" external" class =" cta" >
114
114
115
115
.logotype {
116
116
width : min (45vw , 40em );
117
+ height : auto ;
117
118
}
118
119
119
120
@media (min-width : 800px ) {
Original file line number Diff line number Diff line change 5
5
</script >
6
6
7
7
<Section --background =" var(--sk-back-2" >
8
- <p class =" intro" >
9
- Svelte is made possible by the work of hundreds of supporters.
10
- </p >
8
+ <p class =" intro" >Svelte is made possible by the work of hundreds of supporters.</p >
11
9
12
10
<div class =" layout" >
13
11
<div class =" contributors blurb" >
Original file line number Diff line number Diff line change 14
14
href =" https://survey.stackoverflow.co/2023/#section-admired-and-desired-web-frameworks-and-technologies"
15
15
>most admired JS web framework</a
16
16
>
17
- in one industry survey while drawing the most interest in learning it in <a
18
- href =" https://tsh.io/state-of-frontend/#which-of-the-following-frameworks-would-you-like-to-learn-in-the-future"
19
- >two</a > <a href =" https://2022.stateofjs.com/en-US/libraries/front-end-frameworks/"
20
- >others</a >. We think you'll love it too.
17
+ in one industry survey while drawing the most interest in learning it in
18
+ <a
19
+ href =" https://tsh.io/state-of-frontend/#which-of-the-following-frameworks-would-you-like-to-learn-in-the-future"
20
+ >two</a
21
+ > <a href =" https://2022.stateofjs.com/en-US/libraries/front-end-frameworks/" >others</a >. We
22
+ think you'll love it too.
21
23
</p >
22
24
23
25
<section class ="whos-using-svelte-container" class:dark ={$theme .current === ' dark' }>
You can’t perform that action at this time.
0 commit comments