added Kommentar mit Beispielen zur Benutzung

This commit is contained in:
Andreas Hnida 2024-03-21 15:01:15 +01:00
commit 1729f02bfb
3 changed files with 58 additions and 7 deletions

View file

@ -2,4 +2,17 @@
<div class="p-10 h-full">
{{ .Inner }}
</div>
</div>
</div>
{{/*
This shortcode is a wrapper for a card component. It has a default class of "text-gray-700 bg-white" but can be overridden by passing a class attribute.
Attributes:
1. class - The class of the card
Usage:
{{< card class="text-gray-700 bg-white" >}}
This is the content of the card
{{< /card >}}
*/}}