From 5a115374b4b4408db9274d3387432835dc48227a Mon Sep 17 00:00:00 2001 From: Louis Hollingworth Date: Thu, 21 Sep 2023 10:56:48 +0100 Subject: [PATCH] Added view trasitions Signed-off-by: Louis Hollingworth --- .gitignore | 1 + src/layouts/Layout.astro | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 7329a85..c95a43e 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ pnpm-debug.log* # macOS-specific files .DS_Store +dist diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 27206bf..b3c8d51 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -14,11 +14,13 @@ export interface Props { } const { title, navLinks } = Astro.props; +import { ViewTransitions } from 'astro:transitions'; --- +