chore: add image example for cards

* updated compiled CSS
This commit is contained in:
Xin
2023-08-20 23:09:59 +01:00
parent 5f6b31310f
commit aa1305099d
3 changed files with 63 additions and 0 deletions

View File

@ -11,6 +11,11 @@ linkTitle: Cards
{{< card link="/" title="No Icon" >}}
{{< /cards >}}
{{< cards >}}
{{< card link="/" title="Image Card" image="https://source.unsplash.com/featured/800x600?landscape" subtitle="Unsplash Landscape" >}}
{{< /cards >}}
## Usage
```
@ -20,3 +25,9 @@ linkTitle: Cards
{{</* card link="/" title="No Icon" */>}}
{{</* /cards */>}}
```
```
{{</* cards */>}}
{{</* card link="/" title="Image Card" image="https://source.unsplash.com/featured/800x600?landscape" subtitle="Unsplash Landscape" */>}}
{{</* /cards */>}}
```