fix: add blur effect when the img is loading

This commit is contained in:
KazooTTT
2025-02-06 00:16:03 +08:00
parent 6d9c280a84
commit 14438ca123
3 changed files with 33 additions and 3 deletions

View File

@ -3,7 +3,8 @@ 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 ArticleContainer from "./ArticleContainer.astro";
import ArticleContainer from "../ArticleContainer.astro";
type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & {
note: CollectionEntry<"note">;
isPreview?: boolean | undefined;