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>
|
<div style="display: contents">%sveltekit.body%</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -3,8 +3,10 @@
|
||||||
import { fade } from 'svelte/transition';
|
import { fade } from 'svelte/transition';
|
||||||
|
|
||||||
let visible = false;
|
let visible = false;
|
||||||
|
let time = 0;
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
|
time = 0;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
visible = false;
|
visible = false;
|
||||||
}, time);
|
}, time);
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
immediate: true,
|
immediate: true,
|
||||||
onRegistered(r) {
|
onRegistered(r) {
|
||||||
console.log(`SW Registered: ${r}`)
|
console.log(`SW Registered: ${r}`)
|
||||||
|
console.log(JSON.stringify(r));
|
||||||
},
|
},
|
||||||
onRegisterError(error) {
|
onRegisterError(error) {
|
||||||
console.log('SW registration error', error)
|
console.log('SW registration error', error)
|
||||||
|
|
|
@ -13,6 +13,7 @@ const config = {
|
||||||
start_url: '/',
|
start_url: '/',
|
||||||
background_color: "#213c8b",
|
background_color: "#213c8b",
|
||||||
theme_color: "#de0e1b",
|
theme_color: "#de0e1b",
|
||||||
|
lang: 'it',
|
||||||
name: "PianelloExperience",
|
name: "PianelloExperience",
|
||||||
display: "fullscreen",
|
display: "fullscreen",
|
||||||
short_name: "PianelloExperience",
|
short_name: "PianelloExperience",
|
||||||
|
|
Loading…
Reference in a new issue