From 353ef191ccf7b6767bfe91fceeb82f5077f2cb94 Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Thu, 6 Feb 2025 01:38:24 +0800 Subject: [PATCH] fix: style error --- src/components/note/Note.astro | 121 +++------------------------------ 1 file changed, 11 insertions(+), 110 deletions(-) diff --git a/src/components/note/Note.astro b/src/components/note/Note.astro index 6e1c64b..5e57a1c 100644 --- a/src/components/note/Note.astro +++ b/src/components/note/Note.astro @@ -3,7 +3,7 @@ import { type CollectionEntry, render } from "astro:content"; import FormattedDate from "@/components/FormattedDate.astro"; import type { HTMLTag, Polymorphic } from "astro/types"; import GiscusComment from "@/components/componentsBefore/GiscusComment"; -import { Icon } from "astro-icon/components"; +import ArticleContainer from "../ArticleContainer.astro"; type Props = Polymorphic<{ as: Tag }> & { note: CollectionEntry<"note">; isPreview?: boolean | undefined; @@ -33,12 +33,10 @@ if (modifiedDate && modifiedDate.toDateString() === date.toDateString()) { } --- -
{ @@ -65,109 +63,12 @@ if (modifiedDate && modifiedDate.toDateString() === date.toDateString()) { ) } -
- -
- - - +