fixes and delays
This commit is contained in:
parent
92d0011d79
commit
e8bf2bde91
2 changed files with 5 additions and 3 deletions
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
let loaded = false;
|
||||
onMount(() => {
|
||||
loaded = true;
|
||||
const handleVisibilityChange = () => loaded = document.visibilityState === 'visible';
|
||||
document.addEventListener('visibilitychange', handleVisibilityChange);
|
||||
handleVisibilityChange();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@
|
|||
<nav class="py-2 px-4 backdrop-blur rounded-t-3xl border-ctp-base hover:border-ctp-sky">
|
||||
{#if webring}
|
||||
<a href="https://nixwebr.ing" class="no-underline">nixwebr.ing:</a>
|
||||
<a href="https://nixwebr.ing/prev/" class="no-underline">←</a>
|
||||
<a href="https://nixwebr.ing/prev/satr14" class="no-underline">←</a>
|
||||
<a href="https://nixwebr.ing/rand/" class="no-underline">?</a>
|
||||
<a href="https://nixwebr.ing/next/" class="no-underline">→</a>
|
||||
<a href="https://nixwebr.ing/next/satr14" class="no-underline">→</a>
|
||||
{:else}
|
||||
<p class="animate-pulse italic text-base">
|
||||
<span class="hidden sm:block">Press [Enter] to continue.</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue