aboutsummaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-01-25 15:22:02 +0000
committerAndrew Lee <alee14498@protonmail.com>2024-01-25 15:22:02 +0000
commit5542c18af3cebe63bcbd5fd6d54625af3ca4f2fe (patch)
treef6326584d4ba56876f429eb2b0ece3e4a56986c2 /src/layouts
parent5fab0381b308eb5a1c837ffdd5e0ddd757e769d3 (diff)
downloadpersonal-website-5542c18af3cebe63bcbd5fd6d54625af3ca4f2fe.tar.gz
personal-website-5542c18af3cebe63bcbd5fd6d54625af3ca4f2fe.tar.bz2
personal-website-5542c18af3cebe63bcbd5fd6d54625af3ca4f2fe.zip
Now displaying blog posts
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/Default.astro4
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>