Files
CV_Site_Nuxt/app/components/home/FeatureCard.vue
T
Noel Sabia 26739731ed feat(ui): build homepage hero, terminal and feature cards
Compose pages/index.vue from the desktop homepage mockup: decorative
backdrop scoped to the hero but not clipped at its bottom edge, hero with
status pill, quote and contact chips with copy buttons, terminal panel fed
by a chapter array with derived counters, and the three feature cards.

Split into app/components/home/ (auto-imported with the Home* prefix) and
keep the chapter data in app/data/chapters.ts so GET /api/chapters can
replace the mockup values later.
2026-10-23 21:22:02 +02:00

19 lines
677 B
Vue

<script setup lang="ts">
defineProps<{
icon: string
title: string
description: string
iconClass: string
}>()
</script>
<template>
<div class="rounded-xl bg-surface-container p-6 shadow-sm transition-colors hover:bg-surface-container-high">
<div class="mb-4 flex h-10 w-10 items-center justify-center rounded-lg bg-surface-container-highest" :class="iconClass">
<span class="material-symbols-outlined text-[1.5rem]">{{ icon }}</span>
</div>
<h3 class="mb-2 font-headline-sm text-headline-sm text-on-surface">{{ title }}</h3>
<p class="font-body-sm text-body-sm leading-relaxed text-on-surface-variant">{{ description }}</p>
</div>
</template>