refactor(ui): remove skills section from index page

Remove the skills section and its associated rendering logic from the
main index template to clean up the layout.
This commit is contained in:
Dejvino 2026-05-20 09:42:31 +02:00
parent ec4780b20b
commit c1df821c5f

View File

@ -238,28 +238,6 @@ $cv_skills = $cvData['skills'] ?? [];
<?php if ($edu['desc']): ?> <?php if ($edu['desc']): ?>
<p class="cv-desc"><?= $edu['desc'] ?></p> <p class="cv-desc"><?= $edu['desc'] ?></p>
<?php endif; ?> <?php endif; ?>
<section class="cv-section skills hidden hidden-toggle">
<h2>Skills</h2>
<div class="skill-categories">
<?php
$global_i = 0;
foreach ($cv_skills as $category => $skills): ?>
<div class="skill-group">
<h3><?= $category ?></h3>
<div class="skill-tags">
<?php foreach ($skills as $skill):
$fontSize = 0.85 + (($global_i * 3) % 5) * 0.2;
$opacity = 0.6 + (($global_i * 2) % 4) * 0.1;
?>
<span class="tag" style="transition-delay: <?= 0.6 + ($global_i * 0.05) ?>s; font-size: <?= $fontSize ?>rem; opacity: <?= $opacity ?>;"><?= $skill ?></span>
<?php $global_i++;
endforeach; ?>
</div>
</div>
<?php endforeach; ?>
</div>
</section>
</article> </article>
<?php endforeach; ?> <?php endforeach; ?>
</section> </section>