new card component for brutal theme
This commit is contained in:
parent
c869eb5ca6
commit
b170bfcc47
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@matthiesenxyz/astro-ghostcms-brutalbyelian",
|
"name": "@matthiesenxyz/astro-ghostcms-brutalbyelian",
|
||||||
"description": "ElianCodes Brutal theme modified to work with Astro-GhostCMS",
|
"description": "ElianCodes Brutal theme modified to work with Astro-GhostCMS",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"homepage": "https://astro-ghostcms.xyz/",
|
"homepage": "https://astro-ghostcms.xyz/",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"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 H6 } from "./H6.astro"
|
||||||
export { default as CodeSlot } from "./CodeSlot.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"
|
|
@ -41,6 +41,7 @@ invariant(settings, "Settings are required");
|
||||||
h6: C.H6,
|
h6: C.H6,
|
||||||
pre: C.CodeSlot,
|
pre: C.CodeSlot,
|
||||||
p: C.Paragraph,
|
p: C.Paragraph,
|
||||||
|
astrocard: C.astrocard,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue