aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/layouts/Layout.astro
diff options
context:
space:
mode:
Diffstat (limited to 'apps/website/src/layouts/Layout.astro')
-rw-r--r--apps/website/src/layouts/Layout.astro10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/website/src/layouts/Layout.astro b/apps/website/src/layouts/Layout.astro
index ccce067..d5b61cd 100644
--- a/apps/website/src/layouts/Layout.astro
+++ b/apps/website/src/layouts/Layout.astro
@@ -1,8 +1,9 @@
---
-import '../styles/global.css';
import Footer from '@components/base/Footer.astro';
-import Navbar from '../components/base/navbar/Navbar.astro';
import Favicon from '/media/polyfrost/minimal_bg.svg?url';
+import { ViewTransitions } from 'astro:transitions';
+import Navbar from '../components/base/navbar/Navbar.astro';
+import '../styles/global.css';
interface Props {
title?: string
@@ -32,13 +33,16 @@ const {
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital@0;1&display=swap" rel="stylesheet"/>
<title>{title}</title>
+ <ViewTransitions />
</head>
<body class="bg-gray-50 overflow-x-hidden">
<Navbar/>
- <main class="min-h-screen h-auto">
+
+ <main class="min-h-screen h-auto" transition:animate="fade">
<slot/>
</main>
+
<Footer/>
</body>
</html>