diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f8e65be..9b4bb27 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -18,13 +18,16 @@ { title: 'FAQ', url: '#faq', hidden: true } ]; + const homepageAnimation = () => { + const collection = document.getElementsByClassName('animation-crypt') + for (const el of collection) { + animateText({ target: el }) + } + } + onMount(async () => { - setTimeout(() => { - const collection = document.getElementsByClassName('animation-crypt') - for (const el of collection) { - animateText({ target: el }) - } - }, 0) + setTimeout(homepageAnimation, 0) + //setInterval(homepageAnimation, 5000) let lastScrollTop = null @@ -83,7 +86,7 @@ {#if navbar}
- {#each menu as mi} + {#each menu.filter(i => !i.hidden) as mi}
navbar = false}>
@@ -95,7 +98,7 @@
-
+
{data.config.shortname.toUpperCase()}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 50f7026..298a6bb 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -29,7 +29,7 @@
-
Key themes
+
Key themes
{#each data.config.themes as ti}
@@ -45,7 +45,7 @@
-
Speakers
+
Speakers
@@ -56,7 +56,7 @@
-
Hosts
+
Hosts