new card component for brutal theme

This commit is contained in:
Adam Matthiesen 2024-02-13 05:55:46 -08:00
parent c869eb5ca6
commit b170bfcc47
4 changed files with 13 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@matthiesenxyz/astro-ghostcms-brutalbyelian",
"description": "ElianCodes Brutal theme modified to work with Astro-GhostCMS",
"version": "0.0.4",
"version": "0.0.5",
"homepage": "https://astro-ghostcms.xyz/",
"type": "module",
"license": "MIT",

View File

@ -0,0 +1,9 @@
---
import { Card } from "@eliancodes/brutal-ui";
---
<div class="my-10">
<Card>
<slot />
</Card>
</div>

View File

@ -5,4 +5,5 @@ export { default as H4 } from "./H4.astro"
export { default as H5 } from "./H5.astro"
export { default as H6 } from "./H6.astro"
export { default as CodeSlot } from "./CodeSlot.astro"
export { default as Paragraph } from "./Paragraph.astro"
export { default as Paragraph } from "./Paragraph.astro"
export { default as astrocard } from "./astrocard.astro"

View File

@ -41,6 +41,7 @@ invariant(settings, "Settings are required");
h6: C.H6,
pre: C.CodeSlot,
p: C.Paragraph,
astrocard: C.astrocard,
}}
/>
</div>