Files
blog-eleventy-indiekit/_includes/components/sections/cv-interests.njk
Ricardo d0360dbdf7 feat: add CV section partials for homepage builder
- cv-experience.njk: work history timeline with highlights
- cv-skills.njk: skills grid grouped by category
- cv-education.njk: education cards + language pills
- cv-projects.njk: project cards with status badges and tech tags
- cv-interests.njk: interest tag cloud
- Update homepage-builder.njk to include cv-education and cv-interests

Part of indiekit-endpoint-cv plugin integration (Phase 2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 16:01:01 +01:00

21 lines
753 B
Plaintext

{#
CV Interests Section - interest tags
Data fetched from /cv/data.json via homepage plugin
#}
{% if cv and cv.interests and cv.interests.length %}
<section class="mb-8 sm:mb-12" id="interests">
<h2 class="text-xl sm:text-2xl font-bold text-surface-900 dark:text-surface-100 mb-4 sm:mb-6">
{{ section.config.title or "Interests" }}
</h2>
<div class="flex flex-wrap gap-2">
{% for interest in cv.interests %}
<span class="px-3 py-1.5 bg-white dark:bg-surface-800 border border-surface-200 dark:border-surface-700 rounded-full text-sm text-surface-700 dark:text-surface-300 hover:border-primary-400 dark:hover:border-primary-600 transition-colors">
{{ interest }}
</span>
{% endfor %}
</div>
</section>
{% endif %}