Removed view transitions due to it not working properly

This commit is contained in:
Andrew Lee 2025-01-11 01:46:24 -05:00
parent c2fca0a2e1
commit 8460e851f9
Signed by: andrew
SSH key fingerprint: SHA256:bbGg1DYG5CuKl2jo1DqzvUsaTeyvhM3tjCsej5lYMg4

View file

@ -5,7 +5,6 @@ interface Props {
} }
const { title = "Andrew Lee", description = "Andrew Lee Website" } = Astro.props; const { title = "Andrew Lee", description = "Andrew Lee Website" } = Astro.props;
import { ClientRouter } from 'astro:transitions';
import Navbar from '../components/Navbar.svelte'; import Navbar from '../components/Navbar.svelte';
const date = new Date(); const date = new Date();
--- ---
@ -41,12 +40,12 @@ const date = new Date();
<script defer data-domain="alee14.me" data-api="/plausible/api/event" src="/plausible/js/script.js"/> <script defer data-domain="alee14.me" data-api="/plausible/api/event" src="/plausible/js/script.js"/>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script> <script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
<ClientRouter fallback="animate" /> <!--<ClientRouter fallback="animate" />-->
<title>{title}</title> <title>{title}</title>
</head> </head>
<body> <body>
<Navbar client:load /> <Navbar client:load />
<div transition:name="main" transition:animate="fade"> <div>
<slot /> <slot />
<footer> <footer>
<p class="small">Made with {Astro.generator} and Hosted on Vercel</p> <p class="small">Made with {Astro.generator} and Hosted on Vercel</p>