From 5b08a53cdfbf9a2d10c93aac35a567c63a34aa84 Mon Sep 17 00:00:00 2001 From: Andrew Daniel Date: Sat, 12 Oct 2024 16:40:41 +0700 Subject: [PATCH] Add code and meta improvements --- src/layouts/DarkLayout.astro | 2 +- src/layouts/Layout.astro | 2 +- src/pages/index.astro | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/layouts/DarkLayout.astro b/src/layouts/DarkLayout.astro index 9dc5e55..2e0163e 100644 --- a/src/layouts/DarkLayout.astro +++ b/src/layouts/DarkLayout.astro @@ -10,7 +10,7 @@ const { title } = Astro.props; - + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 74f935e..8fd942d 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -10,7 +10,7 @@ const { title } = Astro.props; - + diff --git a/src/pages/index.astro b/src/pages/index.astro index c89a7a2..8e2b7ea 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,7 +5,7 @@ import Quote from '../components/Quote.astro'; import Layout from '../layouts/Layout.astro'; --- - +
@@ -214,6 +214,7 @@ import Layout from '../layouts/Layout.astro'; } } + // Start animation in onLoad event otherwise animation might not run correctly window.onload = () => { runShuffleTimer(0, 0); };