yes yes yes
Some checks failed
test / cargo test (push) Failing after 1m6s

This commit is contained in:
2024-09-26 12:19:45 +02:00
parent 20d1314925
commit dc1a01c352
9 changed files with 26 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{% macro social_card_start(svg, heading, img) %}
<section class="border rounded-md bg-pink-200 m-4 p-4 max-w-[440px]">
<section class="border rounded-md bg-pink-200 m-4 p-4 max-w-[392px]">
<header class="flex text-center justify-center items-center gap-2 mb-2">
<svg aria-hidden="true" class="h-7 w-7 fill-blue-950">
<use xlink:href="/svg/icons-sprite.svg#{{svg}}" />
@ -9,7 +9,7 @@
</header>
{% let alt_text = format!("{svg} thumbnail") %}
{{ crate::picture_generator::picture_markup_generator::generate_picture_markup(img, 394, 160, alt_text, Some("h-auto mx-auto"), true).unwrap_or("thumbnail not found".to_string())|safe }}
{{ crate::picture_generator::picture_markup_generator::generate_picture_markup(img, 360, 128, alt_text, Some("h-auto mx-auto rounded-sm"), true).unwrap_or("thumbnail not found".to_string())|safe }}
</section>
{% endmacro %}