diff --git a/src/components/ArticleContent.astro b/src/components/ArticleContent.astro index 2afc9fa..4c7474b 100644 --- a/src/components/ArticleContent.astro +++ b/src/components/ArticleContent.astro @@ -8,18 +8,72 @@ type Props = { const { entry } = Astro.props; -const { Content } = await render(entry); +const { Content, headings } = await render(entry); --- - -
- -
-
+
+ + + + + +
+ +
+
+
+ + + + diff --git a/src/components/Container.astro b/src/components/Container.astro index b44de3f..89195d3 100644 --- a/src/components/Container.astro +++ b/src/components/Container.astro @@ -3,9 +3,10 @@ import { cn } from "@/lib/utils"; type Props = { size: "sm" | "md" | "lg" | "xl" | "2xl"; + class?: string; }; -const { size } = Astro.props; +const { size, class: className } = Astro.props; ---