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:
1 parent
db04d441c9
commit
26739731ed
9 files changed
+321
-1
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div class="mb-10 w-full max-w-3xl">
|
||||
<div class="flex flex-wrap items-center justify-between gap-2 rounded-xl bg-surface-container/90 p-2 font-label-mono text-label-mono text-on-surface shadow-md backdrop-blur-md sm:p-2.5">
|
||||
<HomeContactItem
|
||||
icon="mail"
|
||||
value="noel@noelsabia.dev"
|
||||
copy-value="noel@noelsabia.dev"
|
||||
class="min-w-[200px] flex-1"
|
||||
/>
|
||||
<HomeContactItem
|
||||
icon="call"
|
||||
value="+49 176 12345678"
|
||||
copy-value="+4917612345678"
|
||||
class="min-w-[190px] flex-1"
|
||||
/>
|
||||
<HomeContactItem
|
||||
icon="near_me"
|
||||
value="Wesel, Germany"
|
||||
class="flex-initial"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user