2024-03-21 11:44:20 +01:00
< div class = "relative flex flex-col h-full mt-6 bg-clip-border rounded-xl shadow-lg {{ with .Get " class " } } { { . } } { { else } } text-gray-700 bg-white { { end } } " >
2024-02-21 09:12:01 +00:00
< div class = "p-10 h-full" >
2024-02-20 13:51:18 +00:00
{{ .Inner }}
< / div >
2024-03-21 15:01:15 +01:00
< / 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 > }}
*/}}