This commit is contained in:
2025-01-01 23:30:28 +01:00
parent 1106b4d942
commit 82ce2594ac
13 changed files with 444 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
<?php
/**
* @var Category[] $categories
*/
?>
<div class="gallery-grid">
<?php foreach ($categories as $category): ?>
<a href="./<?php echo $category->name; ?>" class="gallery-item">
<img src="<?php echo $category->thumb ?>" alt="<?php echo $category->name; ?>" loading="lazy">
<h3><?php echo $category->name; ?></h3>
</a>
<?php endforeach; ?>
</div>