From 2678af8bdeb9d77653b116a01de6bf43feabfc07 Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Mon, 15 Jul 2024 17:28:23 -0500 Subject: [PATCH] feat: add initial view transition --- src/layouts/default/components/nav-link.astro | 9 ++++++++- src/layouts/default/index.astro | 16 ++++++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/layouts/default/components/nav-link.astro b/src/layouts/default/components/nav-link.astro index 9fe4ba2..a067377 100644 --- a/src/layouts/default/components/nav-link.astro +++ b/src/layouts/default/components/nav-link.astro @@ -27,5 +27,12 @@ const isSelected = > - {isSelected ?
: null} + { + isSelected ? ( +
+ ) : null + } diff --git a/src/layouts/default/index.astro b/src/layouts/default/index.astro index 99f24bc..b3617c6 100644 --- a/src/layouts/default/index.astro +++ b/src/layouts/default/index.astro @@ -15,8 +15,14 @@ const canonicalUrl = getCanonicalUrl(Astro.url); --- - + + +