From efc19bc5429860dc753accd196f7ee39bf1f00bc Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Wed, 9 Oct 2024 20:34:45 +0200 Subject: [PATCH] use native transitions --- src/components/BaseHead.astro | 9 +++++---- src/styles/global.css | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index e133591..aa258d5 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -1,5 +1,4 @@ --- -import { ViewTransitions } from 'astro:transitions' import '../styles/fonts.css' import '../styles/global.css' @@ -10,7 +9,7 @@ export interface Props { } const { title, description, permalink } = Astro.props -const socialUrl = Astro.site.href + 'assets/yht_logo.png' +const socialUrl = Astro?.site?.href + 'assets/yht_logo.png' --- @@ -24,6 +23,10 @@ const socialUrl = Astro.site.href + 'assets/yht_logo.png' href={new URL("rss.xml", Astro.site)} /> + + + + {title} | YouHaveTrouble's place @@ -43,8 +46,6 @@ const socialUrl = Astro.site.href + 'assets/yht_logo.png' - -