Compare commits
4 commits
cc1e20dde9
...
ba2a25f088
Author | SHA1 | Date | |
---|---|---|---|
ba2a25f088 | |||
c5484536a3 | |||
27452b23e9 | |||
8cf8b74a26 |
4 changed files with 6 additions and 2 deletions
|
@ -45,4 +45,4 @@
|
|||
<div style="display: contents">%sveltekit.body%</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -3,8 +3,10 @@
|
|||
import { fade } from 'svelte/transition';
|
||||
|
||||
let visible = false;
|
||||
|
||||
let time = 0;
|
||||
|
||||
onMount(() => {
|
||||
time = 0;
|
||||
setTimeout(() => {
|
||||
visible = false;
|
||||
}, time);
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
immediate: true,
|
||||
onRegistered(r) {
|
||||
console.log(`SW Registered: ${r}`)
|
||||
console.log(JSON.stringify(r));
|
||||
},
|
||||
onRegisterError(error) {
|
||||
console.log('SW registration error', error)
|
||||
|
|
|
@ -13,6 +13,7 @@ const config = {
|
|||
start_url: '/',
|
||||
background_color: "#213c8b",
|
||||
theme_color: "#de0e1b",
|
||||
lang: 'it',
|
||||
name: "PianelloExperience",
|
||||
display: "fullscreen",
|
||||
short_name: "PianelloExperience",
|
||||
|
|
Loading…
Reference in a new issue