From 0f557819adf55ce16d6596214d748c8c29bb268c Mon Sep 17 00:00:00 2001 From: prototypa Date: Fri, 12 Apr 2024 11:51:08 -0400 Subject: [PATCH] Activate ViewTransitions by default --- package-lock.json | 4 ++-- package.json | 2 +- src/layouts/Layout.astro | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index e909173..1d56314 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@onwidget/astrowind", - "version": "1.0.0-beta.25", + "version": "1.0.0-beta.26", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@onwidget/astrowind", - "version": "1.0.0-beta.25", + "version": "1.0.0-beta.26", "dependencies": { "@astro-community/astro-embed-youtube": "^0.5.2", "@astrojs/rss": "^4.0.5", diff --git a/package.json b/package.json index 69de07e..f412bda 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onwidget/astrowind", - "version": "1.0.0-beta.25", + "version": "1.0.0-beta.26", "description": "AstroWind: A free template using Astro 4.0 and Tailwind CSS. Astro starter theme.", "type": "module", "private": true, diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 73aca00..ec3b577 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -12,8 +12,8 @@ import SiteVerification from '~/components/common/SiteVerification.astro'; import Analytics from '~/components/common/Analytics.astro'; import BasicScripts from '~/components/common/BasicScripts.astro'; -// Uncomment line below to activate View Transitions -// import { ViewTransitions } from 'astro:transitions'; +// Comment the line below to disable View Transitions +import { ViewTransitions } from 'astro:transitions'; import type { MetaData as MetaDataType } from '~/types'; @@ -36,8 +36,8 @@ const { language, textDirection } = I18N; - - + +