Skip to content

Commit d6d9e1d

Browse files
authored
refactor: update deprecated components
1 parent 3534d70 commit d6d9e1d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

astro.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ import { defineConfig } from "astro/config";
66
// https://astro.build/config
77
export default defineConfig({
88
site: "https://raexera.me",
9+
viewTransitions: true,
910
integrations: [react(), tailwind(), icon()],
1011
});

src/layouts/BaseHead.astro

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
import { ViewTransitions } from "astro:transitions";
3-
42
interface Props {
53
title: string;
64
description: string;
@@ -43,9 +41,6 @@ const { title, description } = Astro.props;
4341
<meta name="title" content={title} />
4442
<meta name="description" content={description} />
4543

46-
<!-- View Transitions -->
47-
<ViewTransitions />
48-
4944
<!-- Theme Toggle -->
5045
<script is:inline>
5146
document.addEventListener("astro:page-load", () => {

0 commit comments

Comments
 (0)