four col thing

This commit is contained in:
2025-06-17 10:16:50 -07:00
parent 9365f9dbe8
commit afbd34b051

View File

@@ -38,7 +38,7 @@ class McCansHelpers
$output = "";
foreach ($content as $i => $c) {
$svg = site()->getAssetContents($icons[$i]);
$svg = site()->getAssetContents($icons[$i] . ".svg");
$output .= site()->renderTemplate(<<<HTML
<div class="col">
<div class="icon-wrapper">{{{ icon }}}</div>
@@ -48,7 +48,7 @@ class McCansHelpers
</div>
</div>
HTML, [
"icon" => "$svg.svg",
"icon" => "$svg",
"headline" => $c["headline"],
"content" => $c["sub_headline"],
]);