interests in CV mode

This commit is contained in:
Dejvino 2026-05-24 18:38:15 +02:00
parent 3c0cc155dc
commit 64efd8ebce

View File

@ -228,7 +228,7 @@ $cv_skills = $cvData['cv']['skills'] ?? [];
</div> </div>
</section> </section>
<?php if ($interests_showcase): ?> <?php if (!$isCvPath && $interests_showcase): ?>
<?php // Hardcoded palette of dark, varied tints <?php // Hardcoded palette of dark, varied tints
$bg_palette = [ $bg_palette = [
'#1e2a33', // Dark Blue '#1e2a33', // Dark Blue
@ -287,6 +287,17 @@ $cv_skills = $cvData['cv']['skills'] ?? [];
</section> </section>
<?php endif; ?> <?php endif; ?>
<?php if ($isCvPath && $interests_showcase): ?>
<section class="card personal">
<h2>Interests</h2>
<div class="personal-tags">
<?php foreach ($interests_showcase as $item): ?>
<span class="personal-tag"><?= htmlspecialchars($item['name']) ?></span>
<?php endforeach; ?>
</div>
</section>
<?php endif; ?>
<?php if ($isCvPath): ?> <?php if ($isCvPath): ?>
<section class="card cv-container"> <section class="card cv-container">
<div class="cv-content"> <div class="cv-content">