Project-closer+css images projects
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s

This commit is contained in:
Camilledenoray 2026-06-05 12:13:02 +02:00
parent c569fa0140
commit 0badd67b46
8 changed files with 99 additions and 63 deletions

View file

@ -4,8 +4,8 @@
<?php foreach ($categories as $key => $category): ?>
<button data-filter="<?= Str::slug($category) ?>"><?= $category ?></button>
<?php endforeach; ?>
</nav>
<ul class="projects-index">
</nav>
<nav class="projects-index">
<?php foreach ($page->children()->listed()->sortBy('date', 'desc') as $project): ?>
<li data-category="<?= Str::slug($project->category()) ?>" data-slug="<?= $project->slug() ?>">
<div class="fix">
@ -39,7 +39,7 @@
</li>
<?php endforeach; ?>
<button class="all-projects-closer"></button>
</ul>
</nav>
<script src="/assets/js/router.js"></script>
<script src="/assets/js/project-slideshow.js"></script>