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.
This commit is contained in:
Noel Sabia committed 2026-10-23 21:22:02 +02:00
1 parent db04d441c9
commit 26739731ed
9 files changed
+321 -1

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
<template>
<div class="relative mx-auto flex max-w-5xl flex-col items-center px-6 pb-20 pt-16 text-center sm:px-8 sm:pt-24 lg:px-12">
<div class="mb-8 inline-flex items-center gap-2.5 rounded-full bg-surface-container-high/80 px-3 py-1.5 font-label-mono text-label-mono text-on-surface-variant shadow-sm backdrop-blur-md">
<span class="relative inline-flex h-2 w-2">
<span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-secondary opacity-75" />
<span class="relative inline-flex h-2 w-2 rounded-full bg-secondary shadow-[0_0_8px_#4ae176]" />
</span>
<span class="uppercase tracking-widest text-on-surface">SYS_ORCHESTRATOR // RESILIENCE LABS</span>
</div>
<h1 class="mb-4 font-display text-display tracking-tight text-on-surface selection:bg-primary selection:text-on-primary">
Noel Sabia
</h1>
<p class="mb-6 font-label-mono text-mono-code uppercase tracking-wider text-primary-fixed-dim">
Systems Engineer <span class="mx-1.5 text-outline-variant">·</span> Infrastructure &amp; AI
</p>
<p class="mx-auto mb-12 max-w-2xl font-headline-md text-headline-md italic leading-relaxed text-on-surface-variant">
&ldquo;I build systems that fall down and stand back up — on purpose.&rdquo;
</p>
<HomeContactBar />
<div class="flex flex-wrap items-center justify-center gap-4">
<a
href="#"
class="inline-flex items-center gap-2.5 rounded-lg bg-on-surface px-6 py-3 font-label-mono text-label-mono font-semibold text-surface shadow-lg transition-all hover:bg-inverse-surface hover:shadow-xl active:scale-[0.98]"
>
<span class="material-symbols-outlined text-[1.25rem]">arrow_downward</span>
<span>Download CV (PDF)</span>
</a>
<a
href="#system-terminal"
class="inline-flex items-center gap-2 rounded-lg bg-surface-container-high px-5 py-3 font-label-mono text-label-mono text-on-surface shadow-sm transition-colors hover:bg-surface-variant"
>
<span>See the life map</span>
<span class="material-symbols-outlined text-[1rem]">south</span>
</a>
</div>
</div>
</template>