From 2bb7c2ce2c9580c206ad8a283f8b7a36a81f7729 Mon Sep 17 00:00:00 2001 From: Nicholai Date: Mon, 8 Dec 2025 04:17:39 -0700 Subject: [PATCH] Refactor BlogPost layout by removing animations for improved performance - Removed animation classes from the BlogPost layout to enhance loading speed and user experience. - Added eager loading for the hero image to prioritize its display. - Streamlined the main content section by eliminating unnecessary animations. --- src/layouts/BlogPost.astro | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index a852dbd..6593aee 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -78,7 +78,7 @@ const readTime = '5 min read';
-
+
@@ -121,13 +121,14 @@ const readTime = '5 min read'; {heroImage && ( -
+
@@ -140,12 +141,12 @@ const readTime = '5 min read';
-
+
-