Replace images in cards with svg placeholder

This commit is contained in:
Alex Shpak
2025-08-09 12:38:34 +02:00
parent 2b389f96ea
commit ea6e43ddfc
2 changed files with 4 additions and 2 deletions
@@ -3,12 +3,12 @@
## Example ## Example
{{% columns %}} {{% columns %}}
- {{< card image="https://images.pexels.com/photos/346529/pexels-photo-346529.jpeg" >}} - {{< card image="docs/shortcodes/cards/placeholder.svg" >}}
### Line 1 ### Line 1
Line 2 Line 2
{{< /card >}} {{< /card >}}
- {{< card image="https://images.pexels.com/photos/346529/pexels-photo-346529.jpeg" >}} - {{< card image="docs/shortcodes/cards/placeholder.svg" >}}
This is tab MacOS content. This is tab MacOS content.
{{< /card >}} {{< /card >}}
{{% /columns %}} {{% /columns %}}
@@ -0,0 +1,2 @@
<svg xmlns="http://www.w3.org/2000/svg" width="680.764" height="528.354" viewBox="0 0 180.119 139.794"><g transform="translate(-13.59 -66.639)" paint-order="fill markers stroke"><path fill="#d0d0d0" d="M13.591 66.639H193.71v139.794H13.591z"/><path d="m118.507 133.514-34.249 34.249-15.968-15.968-41.938 41.937H178.726z" opacity=".675" fill="#fff"/><circle cx="58.217" cy="108.555" r="11.773" opacity=".675" fill="#fff"/><path fill="none" d="M26.111 77.634h152.614v116.099H26.111z"/></g></svg>
<!-- By Flanoz - Own work, CC0, https://commons.wikimedia.org/w/index.php?curid=94184060 -->

After

Width:  |  Height:  |  Size: 585 B