feat(ui): update homepage copy and import LinkedIn profile

Contact bar: Gmail, Heilbronn and a LinkedIn link; the phone chip is
removed. Hero: System Architect / Programmer, new pill and quote.
Feature cards: humility, learning and helpfulness instead of the
infrastructure copy.

Terminal: six chapters from the LinkedIn export (PreZero active;
Defifort, Alignerr, Outlier, freelance and 42 finished), each with a
context label. Rows use a fixed grid so names, context badges, status,
uptime and outcome line up vertically; the title bar has red/yellow/green
traffic lights and the footer pluralises its counters (1/5/14).

OKF: new profile data document for the export and chapter mapping;
backend endpoint examples and totals match the real rows.
This commit is contained in:
Noel Sabia committed 2026-10-23 22:26:11 +02:00
1 parent 26739731ed
commit 9a4d79a050
11 files changed
+209 -54

No files matched your search

+55 -13
View File
@@ -13,6 +13,9 @@ sources:
- id: gateway-design - id: gateway-design
resource: ../../OKF_CV_Website/architecture/gateway.md resource: ../../OKF_CV_Website/architecture/gateway.md
title: Gateway architecture (sibling bundle, design level) title: Gateway architecture (sibling bundle, design level)
- id: profile-export
resource: https://www.linkedin.com/in/noel-sabia-9738a4339/
title: LinkedIn profile (exported to Profile.pdf, 2026-10-23)
--- ---
# Decision # Decision
@@ -38,28 +41,65 @@ one boolean-ish answer: is the system up right now.
* The gateway computes this from the cluster (are the chapter pods running). * The gateway computes this from the cluster (are the chapter pods running).
* The frontend polls this (mockup says `watch --interval=5s`; 5-10 s is fine). * The frontend polls this (mockup says `watch --interval=5s`; 5-10 s is fine).
## 2. `GET /api/chapters` — terminal rows and their footer counters ## 2. `GET /api/chapters` — the chapter rows
The terminal lists one row per life chapter: The terminal lists one row per life chapter:
`chapter=… status=… uptime=…% self_healed=…x`. `chapter=… status=… uptime=…% self_healed=…x`.
```json ```json
[ [
{ "name": "prezero", "status": "active", "uptime": 99.98, "selfHealed": 14 }, { "name": "prezero", "context": "Enterprise", "status": "active", "uptime": 99.98, "selfHealed": 14 },
{ "name": "dreambit", "status": "active", "uptime": 99.95, "selfHealed": 8 }, { "name": "defifort", "context": "Web3 startup", "status": "finished", "uptime": 100.0, "outcome": { "label": "completed", "value": "2025" } },
{ "name": "ongoing-studies", "status": "active", "uptime": 99.91, "selfHealed": 5 }, { "name": "alignerr", "context": "AI Developer", "status": "finished", "uptime": 100.0, "outcome": { "label": "completed", "value": "2025" } },
{ "name": "42-school", "status": "finished", "uptime": 100.0, "graduated": 2023 }, { "name": "outlier", "context": "AI Developer", "status": "finished", "uptime": 100.0, "outcome": { "label": "completed", "value": "2024" } },
{ "name": "apprenticeship", "status": "finished", "uptime": 100.0, "certified": 2021 } { "name": "freelance", "context": "Freelance", "status": "finished", "uptime": 100.0, "outcome": { "label": "completed", "value": "2024" } },
{ "name": "42-school", "context": "Education", "status": "finished", "uptime": 100.0, "outcome": { "label": "graduated", "value": "2024" } }
] ]
``` ```
* One chapter = one row. `status` is `active` or `finished`. * One chapter = one row. `status` is `active` or `finished`.
* `context` is a short display label (`Enterprise`, `Web3 startup`,
`AI Developer`, `Freelance`, `Education`), not a status and not an
endpoint.
* Active chapters map to real workloads; finished ones are history entries. * Active chapters map to real workloads; finished ones are history entries.
* "3 Systems Active", "2 Sealed Archetypes", "Cumulative Rebounds: 27" * The terminal footer totals come from `GET /api/metrics` below, not
are **not** endpoints: count `status === "active"`, count the finished from counting this response in the browser.
ones, sum `selfHealed` in the frontend.
## 3. `POST /api/fall/{chapter}` — the knockdown button (later route) ## 3. `GET /api/metrics` — the terminal's numbers in one response
The homepage terminal shows one row per chapter and a footer with three
totals. Today the chapter list lives in `app/data/chapters.ts` (from
`Profile.pdf`), while `uptime` and `rebounds` are still mock values. The
gateway must own all of it once it exists, because uptime and recovery
counts are measurements, not copy.
```json
{
"chapters": [
{ "name": "prezero", "context": "Enterprise", "status": "active", "uptime": 99.98, "selfHealed": 14 },
{ "name": "42-school", "context": "Education", "status": "finished", "uptime": 100.0, "outcome": { "label": "graduated", "value": "2024" } }
],
"totals": { "active": 1, "sealed": 5, "rebounds": 14 }
}
```
The array above is abridged; the totals describe all six rows.
* `chapters` uses the same row shape as `/api/chapters`. The page maps
the response into the existing `Chapter` type in one place, so
`HomeChapterRow` does not know where the data came from.
* `totals.active`, `totals.sealed` and `totals.rebounds` are computed by
the gateway from the same rows the response carries. The footer must
not recompute them client-side, or the rows and the footer can
disagree after a partial update.
* `totals.sealed` counts chapters with `status: "finished"`;
`totals.rebounds` is the sum of `selfHealed`.
* Finished chapters carry `outcome` (`graduated`, `certified`, …)
instead of `selfHealed`.
* Poll it on the same 5-10 s interval as `/api/health`; the SSE stream
below replaces both later.
## 4. `POST /api/fall/{chapter}` — the knockdown button (later route)
The core feature on the life-map page: a visitor presses "push", the The core feature on the life-map page: a visitor presses "push", the
chapter pod dies and recovers. chapter pod dies and recovers.
@@ -70,18 +110,20 @@ chapter pod dies and recovers.
* Unauthenticated by design, but rate-limited and restricted to the * Unauthenticated by design, but rate-limited and restricted to the
gateway by NetworkPolicy (sibling bundle, trust boundaries). gateway by NetworkPolicy (sibling bundle, trust boundaries).
## 4. `GET /api/events` — live stream (later route, when it hurts) ## 5. `GET /api/events` — live stream (later route, when it hurts)
Dev View and live recovery times on the life map need push updates Dev View and live recovery times on the life map need push updates
(SSE, per the sibling-bundle design). **Deliberately not in the first (SSE, per the sibling-bundle design). **Deliberately not in the first
version:** polling `/api/health` and `/api/chapters` every few seconds is version:** polling `/api/health` and `/api/metrics` every few seconds is
enough for the homepage; add SSE when the dev view is actually built. enough for the homepage; add SSE when the dev view is actually built.
# Not endpoints # Not endpoints
* Hero content (name, quote, contact bar, CV button) — static frontend * Hero content (name, quote, contact bar, CV button) — static frontend
content. The copy buttons read from local clipboard, no server call. content. The copy buttons read from local clipboard, no server call.
* Aggregated counters (see above) — computed in the browser. * Per-row presentation (the `chapter=…` labels, colours, the
`self_healed=Nx` suffix) — the browser formats the numbers the API
returns; there is no endpoint per field.
# Related # Related
+2 -1
View File
@@ -9,7 +9,8 @@ released, and what was learned getting there. It is the "why" behind the
config files — the configs say what, these documents say why. config files — the configs say what, these documents say why.
* [Open questions](open-questions.md) - What is still undecided for the Nuxt site. * [Open questions](open-questions.md) - What is still undecided for the Nuxt site.
* [Backend endpoints](backend-endpoints.md) - The smallest API the frontend needs from the Go gateway: health, chapters, knockdown, events. * [Backend endpoints](backend-endpoints.md) - The smallest API the frontend needs from the Go gateway: health, chapters, metrics, knockdown, events.
* [Profile data](profile.md) - The LinkedIn export behind the terminal chapters, what is real vs mock, and how to refresh it.
* [Future updates](future-updates.md) - Pipeline improvement backlog with effort estimates, not yet decided. * [Future updates](future-updates.md) - Pipeline improvement backlog with effort estimates, not yet decided.
* [Update log](log.md) - History of changes to this bundle. * [Update log](log.md) - History of changes to this bundle.
+7
View File
@@ -1,5 +1,12 @@
# Update Log # Update Log
## 2026-10-23 (profile data in the terminal)
* **Creation**: [Profile data](profile.md) - imported the LinkedIn export `Profile.pdf` into `app/data/chapters.ts`: PreZero active; Defifort, Alignerr, Outlier, freelance and 42 finished. Each row carries a context label (Enterprise, Web3 startup, AI Developer, Freelance, Education). The terminal now shows 1 active / 5 sealed / 14 rebounds; the export has no entry for `dreambit`, `ongoing-studies` or `apprenticeship`, so those rows are gone. `uptime` and `rebounds` remain mock.
* **Update**: [backend endpoints](backend-endpoints.md) - examples and totals now match the real six-chapter list; the source frontmatter points at the export.
## 2026-10-23 (homepage metrics contract)
* **Update**: [backend endpoints](backend-endpoints.md) - added `GET /api/metrics`: the chapter rows plus the terminal footer totals (`active`, `sealed`, `rebounds`) in one response. The homepage terminal is meant to show measurements, not mockup copy, so the gateway should own them; `/api/chapters` stays the row list for the life map. The old note that the counters are computed in the browser is gone.
## 2026-10-20 (cheaper review model, cached installs, merged checks) ## 2026-10-20 (cheaper review model, cached installs, merged checks)
* **Update**: [pr-checker.yml](../.gitea/workflows/pr-checker.yml) - the review model is now `opencode-go/claude-haiku-5-5#medium`: cheap per token and, unlike `deepseek-v4.1-flash`, it has a real `#medium` effort level (flash exposes only low/high/max). ESLint and typecheck are merged into one `checks` job with a single `pnpm install`, and the pnpm store plus the opencode binary are restored with `actions/cache@v4.1.0` (v1 cache API, so it also works on a v1-only runner). Cache keys are built from `sha256sum pnpm-lock.yaml`, the pnpm store layout (`v11`) and the opencode version in shell steps, because `hashFiles()` evaluates empty in this act runner. See [AI review setup](decisions/ai-review-setup.md) and [PR pipeline layering](decisions/pr-pipeline-layering.md). * **Update**: [pr-checker.yml](../.gitea/workflows/pr-checker.yml) - the review model is now `opencode-go/claude-haiku-5-5#medium`: cheap per token and, unlike `deepseek-v4.1-flash`, it has a real `#medium` effort level (flash exposes only low/high/max). ESLint and typecheck are merged into one `checks` job with a single `pnpm install`, and the pnpm store plus the opencode binary are restored with `actions/cache@v4.1.0` (v1 cache API, so it also works on a v1-only runner). Cache keys are built from `sha256sum pnpm-lock.yaml`, the pnpm store layout (`v11`) and the opencode version in shell steps, because `hashFiles()` evaluates empty in this act runner. See [AI review setup](decisions/ai-review-setup.md) and [PR pipeline layering](decisions/pr-pipeline-layering.md).
+82
View File
@@ -0,0 +1,82 @@
---
type: Data Source
title: Profile data behind the homepage
description: The LinkedIn export used for the terminal chapters, what is real and what is still mock, and how to refresh it.
tags: [profile, linkedin, chapters, data]
status: draft
generated: { by: opencode-go/deepseek-v4.1-flash, at: 2026-10-23T00:00:00Z }
verified: { by: human:noel, at: not yet }
sources:
- id: linkedin-profile
resource: https://www.linkedin.com/in/noel-sabia-9738a4339/
title: LinkedIn profile (exported to Profile.pdf, 2026-10-23)
---
# Decision
The homepage terminal is driven by `app/data/chapters.ts`. The chapter
names, statuses and outcome years in that file come from the LinkedIn
export `Profile.pdf`; the telemetry values (`uptime`, `rebounds`) are
still mock numbers until `GET /api/metrics` exists.
# Profile facts the site uses
* Name: Noel Sabia
* Location: Heilbronn, Baden-Württemberg, Germany
* Email: noel.sabia.05@gmail.com
* LinkedIn: <https://www.linkedin.com/in/noel-sabia-9738a4339/>
* Current headline: Working for Schwarz Group
* Current role: PreZero Deutschland, Full Stack Developer (September 2025 – present)
* Education: 42 Heilbronn (2023 – 2025)
The hero's `System Architect · Programmer` line, the pill and the quote
are positioning copy chosen by Noel, not LinkedIn fields. The three
cards are soft skills, also not from the export.
# Chapter mapping
| Chapter | Context | Export entry | Terminal status | Terminal detail |
|---|---|---|---|---|
| `prezero` | Enterprise | PreZero Deutschland, Full Stack Developer, 09/2025 – present | active | `self_healed=14x` (mock) |
| `defifort` | Web3 startup | Defifort, Software Developer, 04/2025 – 07/2025 | finished | `completed=2025` |
| `alignerr` | AI Developer | Alignerr, AI Trainer, 10/2024 – 03/2025 | finished | `completed=2025` |
| `outlier` | AI Developer | Outlier, Remote Coding Expert / Freelance Writer, 03/2024 – 09/2024 | finished | `completed=2024` |
| `freelance` | Freelance | Freelance Software Engineer, 06/2023 – 03/2024 | finished | `completed=2024` |
| `42-school` | Education | 42 Heilbronn, 2023 – 2025 | finished | `graduated=2024` |
The `context` labels are Noel's wording for the terminal, not fields in
the export.
The terminal derives its footer from this list: **1 active**, **5 sealed**,
**14 rebounds**. The rebound count is the mock value on `prezero`; the
finished rows carry no rebound number.
The export has no entry for `dreambit`, `ongoing-studies` or
`apprenticeship`, so those rows were removed from the terminal. It also
has no entry before 2023; if the apprenticeship belongs on the life map,
add it back deliberately instead of restoring the mockup text.
# 42 graduation year
The export's education range is **2023 – 2025**. The terminal shows
`graduated=2024` because Noel stated 2024 explicitly. If the export is
right, change the value in `app/data/chapters.ts` to `2025`; this is the
one open discrepancy in the mapping.
# Not imported
The export also contains the summary, the per-role descriptions, top
skills (Docker, Python, Go), languages (German native, English
professional) and the ETHGlobal Prague 3rd place. The homepage does not
show them yet; the life map and the CV can reuse them later.
# Refresh
1. Download a fresh `Profile.pdf` from LinkedIn (More → Save to PDF).
2. Update the table above and `app/data/chapters.ts`; keep the chapter
handles stable so the life-map links do not break.
3. Replace `uptime` and `rebounds` with `GET /api/metrics` when the
gateway exists; the chapter list then comes from the same endpoint.
The PDF export is not committed; only the derived chapter data belongs
in the repository.
+5 -2
View File
@@ -13,13 +13,16 @@ const detail = computed(() => (isActive.value
<template> <template>
<div <div
class="flex min-w-[580px] items-center justify-between gap-4 rounded px-3 py-1.5 transition-colors hover:bg-surface-container-lowest" class="grid min-w-[760px] grid-cols-[10rem_7rem_8.5rem_7.5rem_8.5rem] items-center justify-between gap-4 rounded px-3 py-1.5 transition-colors hover:bg-surface-container-lowest"
:class="isActive ? 'bg-surface-container-lowest/60' : 'bg-surface-container-lowest/40'" :class="isActive ? 'bg-surface-container-lowest/60' : 'bg-surface-container-lowest/40'"
> >
<span <span
class="font-medium" class="whitespace-nowrap font-medium"
:class="isActive ? 'text-primary-fixed-dim' : 'text-outline'" :class="isActive ? 'text-primary-fixed-dim' : 'text-outline'"
>chapter=<span :class="isActive ? 'text-on-surface' : 'text-on-surface-variant'">{{ chapter.name }}</span></span> >chapter=<span :class="isActive ? 'text-on-surface' : 'text-on-surface-variant'">{{ chapter.name }}</span></span>
<span class="w-full rounded bg-surface-container-highest/80 px-1.5 py-0.5 text-center font-label-mono text-[0.625rem] uppercase tracking-wider text-on-surface-variant/80">
{{ chapter.context }}
</span>
<span <span
v-if="isActive" v-if="isActive"
+8 -8
View File
@@ -3,19 +3,19 @@
<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"> <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 <HomeContactItem
icon="mail" icon="mail"
value="noel@noelsabia.dev" value="noel.sabia.05@gmail.com"
copy-value="noel@noelsabia.dev" copy-value="noel.sabia.05@gmail.com"
class="min-w-[200px] flex-1" class="min-w-[220px] flex-1"
/> />
<HomeContactItem <HomeContactItem
icon="call" icon="link"
value="+49 176 12345678" value="LinkedIn"
copy-value="+4917612345678" href="https://www.linkedin.com/in/noel-sabia-9738a4339/"
class="min-w-[190px] flex-1" class="flex-initial"
/> />
<HomeContactItem <HomeContactItem
icon="near_me" icon="near_me"
value="Wesel, Germany" value="Heilbronn, Germany"
class="flex-initial" class="flex-initial"
/> />
</div> </div>
+22 -6
View File
@@ -4,8 +4,12 @@ const props = defineProps<{
value: string value: string
/** Omit for a plain chip (no copy button). */ /** Omit for a plain chip (no copy button). */
copyValue?: string copyValue?: string
/** Renders the chip as an external link instead of a copy chip. */
href?: string
}>() }>()
const isLink = computed(() => Boolean(props.href))
const copied = ref(false) const copied = ref(false)
let resetTimer: ReturnType<typeof setTimeout> | undefined let resetTimer: ReturnType<typeof setTimeout> | undefined
@@ -27,22 +31,30 @@ onBeforeUnmount(() => clearTimeout(resetTimer))
</script> </script>
<template> <template>
<div <component
:is="isLink ? 'a' : 'div'"
:href="isLink ? href : undefined"
:target="isLink ? '_blank' : undefined"
:rel="isLink ? 'noopener noreferrer' : undefined"
:aria-label="isLink ? `Open ${value} in a new tab` : undefined"
class="flex items-center gap-2 rounded-lg bg-surface-container-low/70 px-3 py-2" class="flex items-center gap-2 rounded-lg bg-surface-container-low/70 px-3 py-2"
:class="copyValue :class="isLink
? 'group justify-between gap-3 transition-colors hover:bg-surface-container-high'
: copyValue
? 'justify-between transition-colors hover:bg-surface-container-high' ? 'justify-between transition-colors hover:bg-surface-container-high'
: 'justify-center font-body-sm text-body-sm text-on-surface-variant'" : 'justify-center font-body-sm text-body-sm text-on-surface-variant'"
> >
<div class="flex min-w-0 items-center gap-2.5"> <div class="flex min-w-0 items-center gap-2.5">
<span class="material-symbols-outlined text-[1.125rem] text-outline">{{ icon }}</span> <span class="material-symbols-outlined text-[1.125rem] text-outline">{{ icon }}</span>
<span <span
v-if="copyValue" v-if="copyValue || isLink"
class="select-all truncate font-body-sm text-body-sm text-on-surface" class="truncate font-body-sm text-body-sm text-on-surface"
:class="copyValue && !isLink ? 'select-all' : ''"
>{{ value }}</span> >{{ value }}</span>
<span v-else class="whitespace-nowrap text-on-surface">{{ value }}</span> <span v-else class="whitespace-nowrap text-on-surface">{{ value }}</span>
</div> </div>
<button <button
v-if="copyValue" v-if="copyValue && !isLink"
type="button" type="button"
class="flex items-center gap-1 rounded bg-surface-variant px-2 py-1 text-[0.625rem] font-semibold tracking-wider text-on-surface-variant transition-colors hover:text-on-surface active:scale-95" class="flex items-center gap-1 rounded bg-surface-variant px-2 py-1 text-[0.625rem] font-semibold tracking-wider text-on-surface-variant transition-colors hover:text-on-surface active:scale-95"
:aria-label="`Copy ${value}`" :aria-label="`Copy ${value}`"
@@ -50,5 +62,9 @@ onBeforeUnmount(() => clearTimeout(resetTimer))
> >
<span>{{ copied ? 'COPIED' : 'COPY' }}</span> <span>{{ copied ? 'COPIED' : 'COPY' }}</span>
</button> </button>
</div> <span
v-else-if="isLink"
class="material-symbols-outlined text-[0.875rem] text-outline transition-colors group-hover:text-on-surface"
>open_in_new</span>
</component>
</template> </template>
+9 -9
View File
@@ -1,22 +1,22 @@
<script setup lang="ts"> <script setup lang="ts">
const features = [ const features = [
{ {
icon: 'shield_with_heart', icon: 'self_improvement',
iconClass: 'text-primary', iconClass: 'text-primary',
title: 'Intentional Degrade', title: 'Humble by Default',
description: 'Systems engineered to isolate faults instantly and degrade gracefully rather than collapsing cascade pipelines.', description: 'Strong opinions, loosely held. I treat being wrong as information, not a defeat and I admit it quickly.',
}, },
{ {
icon: 'autorenew', icon: 'school',
iconClass: 'text-secondary', iconClass: 'text-secondary',
title: 'Self-Healing Loops', title: 'Learning by Doing',
description: 'Continuous reconciliation patterns across bare-metal k3s nodes, edge workloads, and AI compute pools.', description: 'New stack, new domain, new failure mode: I read, prototype, ask questions, and repeat until it makes sense.',
}, },
{ {
icon: 'data_thresholding', icon: 'handshake',
iconClass: 'text-tertiary', iconClass: 'text-tertiary',
title: 'Rigorous Telemetry', title: 'Helpful as a Feature',
description: 'Low-overhead eBPF probes and observability pipelines capturing post-mortem clarity before issues materialize.', description: 'Good systems and good teams get better when someone we pull each other up. I try to be that person.',
}, },
] ]
</script> </script>
+3 -3
View File
@@ -5,7 +5,7 @@
<span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-secondary opacity-75" /> <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 class="relative inline-flex h-2 w-2 rounded-full bg-secondary shadow-[0_0_8px_#4ae176]" />
</span> </span>
<span class="uppercase tracking-widest text-on-surface">SYS_ORCHESTRATOR // RESILIENCE LABS</span> <span class="uppercase tracking-widest text-on-surface">SYS_ARCHITECT // HEILBRONN</span>
</div> </div>
<h1 class="mb-4 font-display text-display tracking-tight text-on-surface selection:bg-primary selection:text-on-primary"> <h1 class="mb-4 font-display text-display tracking-tight text-on-surface selection:bg-primary selection:text-on-primary">
@@ -13,11 +13,11 @@
</h1> </h1>
<p class="mb-6 font-label-mono text-mono-code uppercase tracking-wider text-primary-fixed-dim"> <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 System Architect <span class="mx-1.5 text-outline-variant">·</span> Programmer
</p> </p>
<p class="mx-auto mb-12 max-w-2xl font-headline-md text-headline-md italic leading-relaxed text-on-surface-variant"> <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; &ldquo;Falling down is human. Getting up is the standard I hold myself to.&rdquo;
</p> </p>
<HomeContactBar /> <HomeContactBar />
+6 -6
View File
@@ -13,13 +13,13 @@ const rebounds = computed(() => props.chapters.reduce((total, chapter) => total
<div class="overflow-hidden rounded-xl bg-surface-container-low shadow-2xl"> <div class="overflow-hidden rounded-xl bg-surface-container-low shadow-2xl">
<div class="flex items-center justify-between bg-surface-container-lowest px-4 py-2.5"> <div class="flex items-center justify-between bg-surface-container-lowest px-4 py-2.5">
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<span class="inline-block h-3 w-3 rounded-full bg-outline-variant/60" /> <span class="inline-block h-3 w-3 rounded-full bg-[#ff5f57]" />
<span class="inline-block h-3 w-3 rounded-full bg-outline-variant/60" /> <span class="inline-block h-3 w-3 rounded-full bg-[#febc2e]" />
<span class="inline-block h-3 w-3 rounded-full bg-outline-variant/60" /> <span class="inline-block h-3 w-3 rounded-full bg-[#28c840]" />
</div> </div>
<div class="flex items-center gap-1.5 font-label-mono text-[0.6875rem] tracking-wide text-on-surface-variant/80"> <div class="flex items-center gap-1.5 font-label-mono text-[0.6875rem] tracking-wide text-on-surface-variant/80">
<span class="material-symbols-outlined text-[0.875rem] text-primary">terminal</span> <span class="material-symbols-outlined text-[0.875rem] text-primary">terminal</span>
<span>~/noelsabia: cv$ --runtime=active</span> <span>cv --runtime=active</span>
</div> </div>
<div class="flex items-center gap-1.5 font-status-badge text-[0.625rem] text-secondary"> <div class="flex items-center gap-1.5 font-status-badge text-[0.625rem] text-secondary">
<span class="inline-block h-1.5 w-1.5 rounded-full bg-secondary" /> <span class="inline-block h-1.5 w-1.5 rounded-full bg-secondary" />
@@ -45,11 +45,11 @@ const rebounds = computed(() => props.chapters.reduce((total, chapter) => total
<div class="flex items-center gap-4"> <div class="flex items-center gap-4">
<span class="flex items-center gap-1.5"> <span class="flex items-center gap-1.5">
<span class="h-2 w-2 rounded-full bg-secondary" /> <span class="h-2 w-2 rounded-full bg-secondary" />
{{ activeCount }} Systems Active {{ activeCount }} {{ activeCount === 1 ? 'System' : 'Systems' }} Active
</span> </span>
<span class="flex items-center gap-1.5"> <span class="flex items-center gap-1.5">
<span class="h-2 w-2 rounded-full bg-outline" /> <span class="h-2 w-2 rounded-full bg-outline" />
{{ sealedCount }} Sealed Archetypes {{ sealedCount }} Sealed {{ sealedCount === 1 ? 'Archetype' : 'Archetypes' }}
</span> </span>
</div> </div>
<div class="flex items-center gap-1.5 text-on-tertiary-container"> <div class="flex items-center gap-1.5 text-on-tertiary-container">
+10 -6
View File
@@ -5,6 +5,8 @@ export interface ChapterOutcome {
export interface Chapter { export interface Chapter {
name: string name: string
/** Short context label shown next to the chapter name. */
context: string
status: 'active' | 'finished' status: 'active' | 'finished'
uptime: string uptime: string
/** Active chapters: how often the workload recovered on its own. */ /** Active chapters: how often the workload recovered on its own. */
@@ -13,11 +15,13 @@ export interface Chapter {
outcome?: ChapterOutcome outcome?: ChapterOutcome
} }
// Mockup data. Replaced by GET /api/chapters once the gateway exists. // Chapter list from Profile.pdf (LinkedIn export, 2026-10-23).
// uptime and rebounds are mock telemetry; replaced by GET /api/metrics.
export const chapters: Chapter[] = [ export const chapters: Chapter[] = [
{ name: 'prezero', status: 'active', uptime: '99.98%', rebounds: 14 }, { name: 'prezero', context: 'Enterprise', status: 'active', uptime: '99.98%', rebounds: 14 },
{ name: 'dreambit', status: 'active', uptime: '99.95%', rebounds: 8 }, { name: 'defifort', context: 'Web3 startup', status: 'finished', uptime: '100.0%', outcome: { label: 'completed', value: '2025' } },
{ name: 'ongoing-studies', status: 'active', uptime: '99.91%', rebounds: 5 }, { name: 'alignerr', context: 'AI Developer', status: 'finished', uptime: '100.0%', outcome: { label: 'completed', value: '2025' } },
{ name: '42-school', status: 'finished', uptime: '100.0%', outcome: { label: 'graduated', value: '2023' } }, { name: 'outlier', context: 'AI Developer', status: 'finished', uptime: '100.0%', outcome: { label: 'completed', value: '2024' } },
{ name: 'apprenticeship', status: 'finished', uptime: '100.0%', outcome: { label: 'certified', value: '2021' } }, { name: 'freelance', context: 'Freelance', status: 'finished', uptime: '100.0%', outcome: { label: 'completed', value: '2024' } },
{ name: '42-school', context: 'Education', status: 'finished', uptime: '100.0%', outcome: { label: 'graduated', value: '2024' } },
] ]