mirror of
https://github.com/Alee14/personal-website.git
synced 2025-01-22 10:51:50 -05:00
Removed view transitions due to it not working properly
This commit is contained in:
parent
c2fca0a2e1
commit
8460e851f9
1 changed files with 2 additions and 3 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue