new card component for brutal theme
This commit is contained in:
parent
c869eb5ca6
commit
b170bfcc47
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
import { Card } from "@eliancodes/brutal-ui";
|
||||
|
||||
---
|
||||
<div class="my-10">
|
||||
<Card>
|
||||
<slot />
|
||||
</Card>
|
||||
</div>
|
|
@ -6,3 +6,4 @@ 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 astrocard } from "./astrocard.astro"
|
|
@ -41,6 +41,7 @@ invariant(settings, "Settings are required");
|
|||
h6: C.H6,
|
||||
pre: C.CodeSlot,
|
||||
p: C.Paragraph,
|
||||
astrocard: C.astrocard,
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue