diff options
Diffstat (limited to 'src/layouts/Default.astro')
| -rw-r--r-- | src/layouts/Default.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index 185a807..b2e383b 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -5,7 +5,7 @@ interface Props { } const { title = "Andrew Lee", description = "Andrew Lee Website" } = Astro.props; -import { ViewTransitions, slide } from 'astro:transitions'; +import { ViewTransitions } from 'astro:transitions'; import Navbar from '../components/Navbar.vue'; --- @@ -38,7 +38,7 @@ import Navbar from '../components/Navbar.vue'; </head> <body> <Navbar client:load /> - <div transition:animate={slide({ duration: '0.2s' })}> + <div transition:name="initial"> <slot /> <footer> <p>Made with {Astro.generator} and Hosted on Vercel</p> |
