From 46ea4cab966d08e6127b7b51fffa3119a0c85f1d Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Sat, 12 Oct 2024 12:51:18 +0800 Subject: [PATCH] feat: add ViewTransitions --- src/components/BaseHead.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index fb8ab5d..b2fe72f 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -7,7 +7,7 @@ import type { SiteMeta } from '@/types' import { siteConfig } from '@/site-config' type Props = SiteMeta - +import { ViewTransitions } from 'astro:transitions' const { articleDate, description, ogImage, title } = Astro.props const titleSeparator = '•' @@ -87,3 +87,5 @@ const socialImageURL = new URL(ogImage ? ogImage : '/social-card.png', Astro.url + +