Update Astro core and fix ViewTransitions import
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { ViewTransitions } from 'astro:transitions';
|
||||
import { ClientRouter } from 'astro:transitions';
|
||||
import Header from '../components/Header/Header';
|
||||
import Footer from '../components/Footer/Footer.astro';
|
||||
import '../styles/index.scss';
|
||||
@@ -57,7 +57,7 @@ const path = Astro.url.pathname;
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
|
||||
<link rel="manifest" href="site.webmanifest" />
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<ViewTransitions />
|
||||
<ClientRouter />
|
||||
</head>
|
||||
<body>
|
||||
<Header path={path} client:load />
|
||||
|
||||
Reference in New Issue
Block a user