Skip to content

Commit 53b9332

Browse files
committed
refactor: replace ViewTransitions with ClientRouter and update Owl image import in Layout.astro
1 parent 3de54e2 commit 53b9332

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/src/layouts/Layout.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import "../styles/global.css";
3-
import { ViewTransitions } from "astro:transitions";
4-
import OwlImage from "../assets/Owl.jpg";
3+
import { ClientRouter } from "astro:transitions";
4+
import OwlImage from "../assets/Owl-medium.jpg";
55
66
interface Props {
77
title?: string;
@@ -86,7 +86,7 @@ const ogImageURL = new URL(ogImage.src, Astro.site).href;
8686
<meta name="theme-color" content="#121620" />
8787

8888
<!-- View Transitions for SPA-like navigation -->
89-
<ViewTransitions />
89+
<ClientRouter />
9090

9191
<!-- Optional: Skip to main content link for keyboard users -->
9292
<script>

0 commit comments

Comments
 (0)