Activate ViewTransitions by default

This commit is contained in:
prototypa
2024-04-12 11:51:08 -04:00
parent e017fbf529
commit 0f557819ad
3 changed files with 7 additions and 7 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@onwidget/astrowind", "name": "@onwidget/astrowind",
"version": "1.0.0-beta.25", "version": "1.0.0-beta.26",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@onwidget/astrowind", "name": "@onwidget/astrowind",
"version": "1.0.0-beta.25", "version": "1.0.0-beta.26",
"dependencies": { "dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.2", "@astro-community/astro-embed-youtube": "^0.5.2",
"@astrojs/rss": "^4.0.5", "@astrojs/rss": "^4.0.5",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@onwidget/astrowind", "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.", "description": "AstroWind: A free template using Astro 4.0 and Tailwind CSS. Astro starter theme.",
"type": "module", "type": "module",
"private": true, "private": true,

View File

@@ -12,8 +12,8 @@ import SiteVerification from '~/components/common/SiteVerification.astro';
import Analytics from '~/components/common/Analytics.astro'; import Analytics from '~/components/common/Analytics.astro';
import BasicScripts from '~/components/common/BasicScripts.astro'; import BasicScripts from '~/components/common/BasicScripts.astro';
// Uncomment line below to activate View Transitions // Comment the line below to disable View Transitions
// import { ViewTransitions } from 'astro:transitions'; import { ViewTransitions } from 'astro:transitions';
import type { MetaData as MetaDataType } from '~/types'; import type { MetaData as MetaDataType } from '~/types';
@@ -36,8 +36,8 @@ const { language, textDirection } = I18N;
<SiteVerification /> <SiteVerification />
<Analytics /> <Analytics />
<!-- Uncomment line below to activate View Transitions --> <!-- Comment the line below to disable View Transitions -->
<!-- <ViewTransitions fallback="swap" /> --> <ViewTransitions fallback="swap" />
</head> </head>
<body class="antialiased text-default bg-page tracking-tight"> <body class="antialiased text-default bg-page tracking-tight">