From 76e55f71154fb19b7f160fa0fc19c541f60583b9 Mon Sep 17 00:00:00 2001 From: prototypa Date: Mon, 7 Aug 2023 07:47:08 -0400 Subject: [PATCH] Revert (remove) astro View Transitions until stable --- astro.config.mjs | 4 ---- src/layouts/Layout.astro | 3 --- src/layouts/PageLayout.astro | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 7f4cb66..18ab365 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -69,10 +69,6 @@ export default defineConfig({ remarkPlugins: [readingTimeRemarkPlugin], }, - experimental: { - viewTransitions: true, - }, - vite: { resolve: { alias: { diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 468cf72..a04140b 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,6 +1,4 @@ --- -import { ViewTransitions } from 'astro:transitions'; - import '~/assets/styles/tailwind.css'; import { I18N_CONFIG } from "~/utils/config"; @@ -35,7 +33,6 @@ const { language, textDirection } = I18N_CONFIG; - diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro index 6e871b2..7f5a47b 100644 --- a/src/layouts/PageLayout.astro +++ b/src/layouts/PageLayout.astro @@ -22,7 +22,7 @@ const { metadata } = Astro.props;
-
+