Skip to content

Commit

Permalink
feat(astro): migrate ViewTransition to ClientRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
nerometa committed Dec 15, 2024
1 parent b6b6ec8 commit 8162ed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import "@styles/style.css";
import Header from "@components/Header.astro";
import Footer from "@components/Footer.astro";
import { ViewTransitions } from "astro:transitions";
import { ClientRouter } from "astro:transitions";
interface Props {
title: string;
}
Expand All @@ -27,7 +27,7 @@ const { title } = Astro.props;
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate" type="application/rss+xml" title="blog.nerometa.dev" href={new URL("rss.xml", Astro.site)}/>
<meta name="generator" content={Astro.generator} />
<ViewTransitions />
<ClientRouter />
<title>{title ? `${title} | nerometa.dev` : "nerometa.dev"}</title>
<script
is:inline
Expand Down

0 comments on commit 8162ed2

Please sign in to comment.