Story 3.5: projets secondaires

This commit is contained in:
2026-02-04 17:14:37 +01:00
parent 475a8f5457
commit d3e699d00e
5 changed files with 111 additions and 16 deletions

View File

@@ -4,6 +4,7 @@ $pageDescription = 'Découvrez mes réalisations web : sites vitrines, e-commerc
$currentPage = 'projects';
$featuredProjects = getProjectsByCategory('vedette');
$secondaryProjects = getProjectsByCategory('secondaire');
include_template('header', compact('pageTitle', 'pageDescription'));
include_template('navbar', compact('currentPage'));
@@ -30,6 +31,19 @@ include_template('navbar', compact('currentPage'));
Projets à venir...
</p>
<?php endif; ?>
<?php if (!empty($secondaryProjects)): ?>
<hr class="border-border my-16">
<section>
<h2 class="text-heading mb-8">Autres projets</h2>
<div class="space-y-4">
<?php foreach ($secondaryProjects as $project): ?>
<?php include_template('project-card-compact', ['project' => $project]); ?>
<?php endforeach; ?>
</div>
</section>
<?php endif; ?>
</div>
</section>
</main>