✨ Story 3.5: projets secondaires
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user