Files
WebtreesBockenTheme/resources/views/modules/lightbox/tab.phtml
Alexander Bocken ce11b25da4 Initial commit: Bocken theme for webtrees
Nord-themed dark/light mode family tree theme with:
- Floating glass-morphism header bar
- Auto/light/dark theme toggle with Lucide icons
- Smart SVG logo with theme-aware fill colors
- Active page highlighting with per-menu Nord icon colors
- Language button showing 2-letter abbreviation
- Start page search form
- Mobile responsive icon-only nav
- Custom views inherited from ArgonLight
2026-03-14 09:53:43 +01:00

29 lines
860 B
PHTML

<?php
declare(strict_types=1);
use Fisharebest\Webtrees\Media;
use Illuminate\Support\Collection;
/**
* @var Collection<int,Media> $media_list
*/
?>
<div class="wt-tab-album container px-0 py-4">
<div class="row">
<?php foreach ($media_list as $media) : ?>
<figure class="figure text-center col-sm-6 col-md-4 col-lg-3 col-xl-3 wt-album-tab-figure">
<?php foreach ($media->mediaFiles() as $media_file) : ?>
<?= $media_file->displayImage(100, 100, 'contain', ['class' => 'img-thumbnail wt-album-tab-image']) ?>
<?php endforeach ?>
<figcaption class="figure-caption wt-album-tab-caption">
<a href="<?= e($media->url()) ?>">
<?= $media->fullName() ?>
</a>
</figcaption>
</figure>
<?php endforeach ?>
</div>
</div>