File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 25
25
</ head >
26
26
27
27
< body >
28
- %sveltekit.body%
28
+ < div style =" display: contents " > %sveltekit.body%</ div >
29
29
</ body >
30
30
</ html >
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- export let center: boolean = false ;
2
+ export let center = false ;
3
3
</script >
4
4
5
5
<div class ={center ? ' center' : ' ' }>
Original file line number Diff line number Diff line change 17
17
case ' mailto:' :
18
18
return ' Email' ;
19
19
case ' http:' :
20
- case ' https:' :
20
+ case ' https:' : {
21
21
const hostname = url .hostname .replace (' www.' , ' ' );
22
22
switch (hostname ) {
23
23
case ' linkedin.com' :
31
31
default :
32
32
throw new Error (` Unknown host name: ${hostname } ` );
33
33
}
34
+ }
34
35
default :
35
36
throw new Error (` Unknown protocol: ${url .protocol } ` );
36
37
}
You can’t perform that action at this time.
0 commit comments