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()) { ) } -
- -
- - - +