smooth transition

This commit is contained in:
2025-10-19 09:23:24 -04:00
parent fe56ea1906
commit d2abff988a
3 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -1,4 +1,6 @@
---
import { ClientRouter } from 'astro:transitions';
import '../global.css';
import Header from '@components/Header/Header.astro';
@@ -29,6 +31,7 @@ const title = Astro.props.title || Astro.props.frontmatter?.title || 'Unknown';
title="ghall.space - RSS"
href={`${Astro.site}rss.xml`}
/><title>{`ghall.space - ${title}`}</title>
<ClientRouter />
</head>
<body
class="layout-simple"
@@ -36,7 +39,7 @@ const title = Astro.props.title || Astro.props.frontmatter?.title || 'Unknown';
:class="drawerOpen ? 'lock-scroll' : ''"
>
<Header />
<main>
<main transition:animate="initial">
<slot />
</main>
<Footer />