Compare commits

..
1 Commits
Author SHA1 Message Date
Gitea Actions [Bot] d7387a01cf chore: release main
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m6s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Successful in 9s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 5s
PR Check / AI code review (opencode) (pull_request) Successful in 17s
2026-10-23 20:40:28 +00:00
14 changed files with 15 additions and 490 deletions

No files matched your search

-3
View File
@@ -12,12 +12,9 @@
* merged main into this branch ([cefdb34](https://github.com/CV_Website/CV_Site_Nuxt/commit/cefdb34d7ec33a176714388a4a0805177e8c4216))
* pixel favicon and complete SEO metadata ([1c3503f](https://github.com/CV_Website/CV_Site_Nuxt/commit/1c3503fed0e6a385fcc98c5cfdcad605cf33e4be))
* set up ESLint and typecheck with @nuxt/eslint ([4e2a03e](https://github.com/CV_Website/CV_Site_Nuxt/commit/4e2a03eab88495cbfa9db861919189da0c4b2889))
* **ui:** build homepage hero, terminal and feature cards ([2673973](https://github.com/CV_Website/CV_Site_Nuxt/commit/26739731ed9e130c65d4530e067d82f17bc0534c))
* **ui:** homepage shell with tailwind theme, self-hosted fonts, layout and header components ([8d53daa](https://github.com/CV_Website/CV_Site_Nuxt/commit/8d53daa4a6e4e9530ccad5c1ae25052e4a811849))
* **ui:** mobile bottom nav on Nuxt Icon, footer hidden on phones ([3396c49](https://github.com/CV_Website/CV_Site_Nuxt/commit/3396c4949ec6f1a16957b6e004cae176126ad5f4))
* **ui:** pixel-art breathing logo and external links ([7b5c97c](https://github.com/CV_Website/CV_Site_Nuxt/commit/7b5c97c84eab5f214c9e84ac79bd6e08642defa1))
* **ui:** simplify terminal and contact bar on mobile ([47f4e64](https://github.com/CV_Website/CV_Site_Nuxt/commit/47f4e64f24c08e2d5b1e13c6f0bd938877b1d0c4))
* **ui:** update homepage copy and import LinkedIn profile ([9a4d79a](https://github.com/CV_Website/CV_Site_Nuxt/commit/9a4d79a050c8d3a0d8bd43f9d473337b07c218b6))
### Bug Fixes
+13 -55
View File
@@ -13,9 +13,6 @@ sources:
- id: gateway-design
resource: ../../OKF_CV_Website/architecture/gateway.md
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
@@ -41,65 +38,28 @@ one boolean-ish answer: is the system up right now.
* 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).
## 2. `GET /api/chapters` — the chapter rows
## 2. `GET /api/chapters` — terminal rows and their footer counters
The terminal lists one row per life chapter:
`chapter=… status=… uptime=…% self_healed=…x`.
```json
[
{ "name": "prezero", "context": "Enterprise", "status": "active", "uptime": 99.98, "selfHealed": 14 },
{ "name": "defifort", "context": "Web3 startup", "status": "finished", "uptime": 100.0, "outcome": { "label": "completed", "value": "2025" } },
{ "name": "alignerr", "context": "AI Developer", "status": "finished", "uptime": 100.0, "outcome": { "label": "completed", "value": "2025" } },
{ "name": "outlier", "context": "AI Developer", "status": "finished", "uptime": 100.0, "outcome": { "label": "completed", "value": "2024" } },
{ "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" } }
{ "name": "prezero", "status": "active", "uptime": 99.98, "selfHealed": 14 },
{ "name": "dreambit", "status": "active", "uptime": 99.95, "selfHealed": 8 },
{ "name": "ongoing-studies", "status": "active", "uptime": 99.91, "selfHealed": 5 },
{ "name": "42-school", "status": "finished", "uptime": 100.0, "graduated": 2023 },
{ "name": "apprenticeship", "status": "finished", "uptime": 100.0, "certified": 2021 }
]
```
* 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.
* The terminal footer totals come from `GET /api/metrics` below, not
from counting this response in the browser.
* "3 Systems Active", "2 Sealed Archetypes", "Cumulative Rebounds: 27"
are **not** endpoints: count `status === "active"`, count the finished
ones, sum `selfHealed` in the frontend.
## 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)
## 3. `POST /api/fall/{chapter}` — the knockdown button (later route)
The core feature on the life-map page: a visitor presses "push", the
chapter pod dies and recovers.
@@ -110,20 +70,18 @@ chapter pod dies and recovers.
* Unauthenticated by design, but rate-limited and restricted to the
gateway by NetworkPolicy (sibling bundle, trust boundaries).
## 5. `GET /api/events` — live stream (later route, when it hurts)
## 4. `GET /api/events` — live stream (later route, when it hurts)
Dev View and live recovery times on the life map need push updates
(SSE, per the sibling-bundle design). **Deliberately not in the first
version:** polling `/api/health` and `/api/metrics` every few seconds is
version:** polling `/api/health` and `/api/chapters` every few seconds is
enough for the homepage; add SSE when the dev view is actually built.
# Not endpoints
* Hero content (name, quote, contact bar, CV button) — static frontend
content. The copy buttons read from local clipboard, no server call.
* 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.
* Aggregated counters (see above) — computed in the browser.
# Related
+1 -2
View File
@@ -9,8 +9,7 @@ released, and what was learned getting there. It is the "why" behind the
config files — the configs say what, these documents say why.
* [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, metrics, knockdown, events.
* [Profile data](profile.md) - The LinkedIn export behind the terminal chapters, what is real vs mock, and how to refresh it.
* [Backend endpoints](backend-endpoints.md) - The smallest API the frontend needs from the Go gateway: health, chapters, knockdown, events.
* [Future updates](future-updates.md) - Pipeline improvement backlog with effort estimates, not yet decided.
* [Update log](log.md) - History of changes to this bundle.
-7
View File
@@ -1,12 +1,5 @@
# 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-23 (PR #16 review checked, three findings applied)
* **Update**: [pr-checker.yml](../.gitea/workflows/pr-checker.yml) - the review prompt now states that `pnpm-lock.yaml` is excluded from `.pr-review-diff.patch` on purpose. The reviewer read the exclusion as an uncommitted lockfile and raised a false BLOCKER; the lockfile is in the PR and matches `package.json`.
* **Fix**: `scripts/generate-favicon.mjs` - `BACKGROUND = null` now writes alpha 0 instead of opaque black, matching the transparency the comment promises. The committed icons are unchanged (regenerated byte-identical).
-82
View File
@@ -1,82 +0,0 @@
---
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.
-47
View File
@@ -1,47 +0,0 @@
<script setup lang="ts">
import type { Chapter } from '~/data/chapters'
const props = defineProps<{ chapter: Chapter }>()
const isActive = computed(() => props.chapter.status === 'active')
// Active rows report recoveries; finished rows report what sealed them.
const detail = computed(() => (isActive.value
? { label: 'self_healed', value: `${props.chapter.rebounds ?? 0}x` }
: props.chapter.outcome))
</script>
<template>
<div
class="grid grid-cols-2 items-center gap-4 rounded px-3 py-2 transition-colors hover:bg-surface-container-lowest lg:min-w-[760px] lg:grid-cols-[10rem_7rem_8.5rem_7.5rem_8.5rem] lg:justify-between lg:py-1.5"
:class="isActive ? 'bg-surface-container-lowest/60' : 'bg-surface-container-lowest/40'"
>
<span
class="hidden whitespace-nowrap font-medium lg:block"
:class="isActive ? 'text-primary-fixed-dim' : 'text-outline'"
>chapter=<span :class="isActive ? 'text-on-surface' : 'text-on-surface-variant'">{{ chapter.name }}</span></span>
<span class="w-fit rounded bg-surface-container-highest/80 px-2 py-1 font-label-mono text-[0.6875rem] uppercase tracking-wider text-on-surface-variant/80 lg:w-full lg:px-1.5 lg:py-0.5 lg:text-center lg:text-[0.625rem]">
{{ chapter.context }}
</span>
<span
v-if="isActive"
class="flex items-center gap-1.5 justify-self-end font-semibold text-secondary lg:justify-self-start"
>
<span class="h-1.5 w-1.5 rounded-full bg-secondary" />
status=active
</span>
<span v-else class="justify-self-end font-medium text-outline lg:justify-self-start">status=finished</span>
<span
class="hidden font-status-badge text-status-badge lg:block"
:class="isActive ? 'text-on-surface-variant' : 'text-on-surface-variant/70'"
>uptime={{ chapter.uptime }}</span>
<span
v-if="detail"
class="hidden font-label-mono text-label-mono lg:block"
:class="isActive ? 'text-tertiary' : 'text-primary-fixed-dim'"
>{{ detail.label }}={{ detail.value }}</span>
</div>
</template>
-23
View File
@@ -1,23 +0,0 @@
<template>
<div class="mb-10 w-full max-w-3xl">
<div class="grid grid-cols-2 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:grid-cols-[1fr_auto_auto] sm:items-center sm:p-2.5">
<HomeContactItem
icon="mail"
value="noel.sabia.05@gmail.com"
copy-value="noel.sabia.05@gmail.com"
class="col-span-2 min-w-0 sm:col-span-1 sm:min-w-[220px]"
/>
<HomeContactItem
icon="link"
value="LinkedIn"
href="https://www.linkedin.com/in/noel-sabia-9738a4339/"
class="min-w-0"
/>
<HomeContactItem
icon="near_me"
value="Heilbronn, Germany"
class="min-w-0"
/>
</div>
</div>
</template>
-70
View File
@@ -1,70 +0,0 @@
<script setup lang="ts">
const props = defineProps<{
icon: string
value: string
/** Omit for a plain chip (no copy button). */
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)
let resetTimer: ReturnType<typeof setTimeout> | undefined
async function copy() {
if (!props.copyValue) return
try {
await navigator.clipboard.writeText(props.copyValue)
copied.value = true
clearTimeout(resetTimer)
resetTimer = setTimeout(() => {
copied.value = false
}, 1800)
} catch {
// Clipboard permission denied: leave the label on COPY.
}
}
onBeforeUnmount(() => clearTimeout(resetTimer))
</script>
<template>
<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="isLink
? 'group justify-between gap-3 transition-colors hover:bg-surface-container-high'
: copyValue
? 'justify-between transition-colors hover:bg-surface-container-high'
: 'justify-center font-body-sm text-body-sm text-on-surface-variant'"
>
<div class="flex min-w-0 items-center gap-2.5">
<span class="material-symbols-outlined text-[1.125rem] text-outline">{{ icon }}</span>
<span
v-if="copyValue || isLink"
class="truncate font-body-sm text-body-sm text-on-surface"
:class="copyValue && !isLink ? 'select-all' : ''"
>{{ value }}</span>
<span v-else class="truncate text-on-surface">{{ value }}</span>
</div>
<button
v-if="copyValue && !isLink"
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"
:aria-label="`Copy ${value}`"
@click="copy"
>
<span>{{ copied ? 'COPIED' : 'COPY' }}</span>
</button>
<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>
-18
View File
@@ -1,18 +0,0 @@
<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>
-34
View File
@@ -1,34 +0,0 @@
<script setup lang="ts">
const features = [
{
icon: 'self_improvement',
iconClass: 'text-primary',
title: 'Humble by Default',
description: 'Strong opinions, loosely held. I treat being wrong as information, not a defeat and I admit it quickly.',
},
{
icon: 'school',
iconClass: 'text-secondary',
title: 'Learning by Doing',
description: 'New stack, new domain, new failure mode: I read, prototype, ask questions, and repeat until it makes sense.',
},
{
icon: 'handshake',
iconClass: 'text-tertiary',
title: 'Helpful as a Feature',
description: 'Good systems and good teams get better when we pull each other up. I try to be that person.',
},
]
</script>
<template>
<section class="relative mx-auto mb-20 w-full max-w-5xl px-6 sm:px-8">
<div class="grid grid-cols-1 gap-4 md:grid-cols-3">
<HomeFeatureCard
v-for="feature in features"
:key="feature.title"
v-bind="feature"
/>
</div>
</section>
</template>
-42
View File
@@ -1,42 +0,0 @@
<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_ARCHITECT // HEILBRONN</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">
System Architect <span class="mx-1.5 text-outline-variant">·</span> Programmer
</p>
<p class="mx-auto mb-12 max-w-4xl font-headline-md text-headline-md italic leading-relaxed text-on-surface-variant">
&ldquo;Falling down is human. Getting up is the standard I hold myself to.&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>
-62
View File
@@ -1,62 +0,0 @@
<script setup lang="ts">
import type { Chapter } from '~/data/chapters'
const props = defineProps<{ chapters: Chapter[] }>()
const activeCount = computed(() => props.chapters.filter((chapter) => chapter.status === 'active').length)
const sealedCount = computed(() => props.chapters.length - activeCount.value)
const rebounds = computed(() => props.chapters.reduce((total, chapter) => total + (chapter.rebounds ?? 0), 0))
</script>
<template>
<section id="system-terminal" class="relative mx-auto mb-24 w-full max-w-4xl px-6 sm:px-8">
<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 gap-2">
<span class="inline-block h-3 w-3 rounded-full bg-[#ff5f57]" />
<span class="inline-block h-3 w-3 rounded-full bg-[#febc2e]" />
<span class="inline-block h-3 w-3 rounded-full bg-[#28c840]" />
</div>
<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>cv --runtime=active</span>
</div>
<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>LIVE</span>
</div>
</div>
<div class="flex flex-col gap-3 overflow-x-auto bg-surface-container-low p-5 font-mono-code text-mono-code text-on-surface sm:p-7">
<div class="mb-1 select-none text-xs tracking-wider text-on-surface-variant/60">
# Resilience telemetry: autonomous remediation logs
</div>
<HomeChapterRow v-for="chapter in chapters" :key="chapter.name" :chapter="chapter" />
<div class="flex items-center gap-2 pt-3 font-label-mono text-sm text-primary">
<span class="text-secondary">$</span>
<span>watch --interval=5s ./chaos_reconcile.sh</span>
<span class="ml-0.5 inline-block h-4 w-2.5 animate-pulse bg-primary" />
</div>
</div>
<div class="flex flex-wrap items-center justify-between gap-3 bg-surface-container px-5 py-3 font-label-mono text-xs text-on-surface-variant">
<div class="flex items-center gap-4">
<span class="flex items-center gap-1.5">
<span class="h-2 w-2 rounded-full bg-secondary" />
{{ activeCount }} {{ activeCount === 1 ? 'System' : 'Systems' }} Active
</span>
<span class="flex items-center gap-1.5">
<span class="h-2 w-2 rounded-full bg-outline" />
{{ sealedCount }} Sealed {{ sealedCount === 1 ? 'Archetype' : 'Archetypes' }}
</span>
</div>
<div class="flex items-center gap-1.5 text-on-tertiary-container">
<span class="material-symbols-outlined text-[0.875rem]">sync_problem</span>
<span>Cumulative Rebounds: {{ rebounds }} events</span>
</div>
</div>
</div>
</section>
</template>
-27
View File
@@ -1,27 +0,0 @@
export interface ChapterOutcome {
label: string
value: string
}
export interface Chapter {
name: string
/** Short context label shown next to the chapter name. */
context: string
status: 'active' | 'finished'
uptime: string
/** Active chapters: how often the workload recovered on its own. */
rebounds?: number
/** Finished chapters: what closed the chapter and when. */
outcome?: ChapterOutcome
}
// 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[] = [
{ name: 'prezero', context: 'Enterprise', status: 'active', uptime: '99.98%', rebounds: 14 },
{ name: 'defifort', context: 'Web3 startup', status: 'finished', uptime: '100.0%', outcome: { label: 'completed', value: '2025' } },
{ name: 'alignerr', context: 'AI Developer', status: 'finished', uptime: '100.0%', outcome: { label: 'completed', value: '2025' } },
{ name: 'outlier', context: 'AI Developer', status: 'finished', uptime: '100.0%', outcome: { label: 'completed', value: '2024' } },
{ 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' } },
]
+1 -18
View File
@@ -1,6 +1,5 @@
<script setup lang="ts">
import { SITE } from '~~/site.config.mjs'
import { chapters } from '~/data/chapters'
// The description and Open Graph basics come from `site` in nuxt.config.ts;
// the page title adds the role so search results are not just a name.
@@ -13,21 +12,5 @@ useHead({ titleTemplate: '%s' })
</script>
<template>
<div class="relative flex w-full flex-col overflow-hidden">
<!-- Backdrop is measured against the hero, as in the mockup, so the two circles stay
close together. It is not clipped at the hero's bottom edge, which lets the
terminal sit on top of the lower circle. Horizontal clipping lives on the root. -->
<div class="relative w-full">
<div class="pointer-events-none absolute inset-0">
<div class="absolute -top-40 left-1/2 h-[32rem] w-[48rem] -translate-x-1/2 bg-gradient-to-b from-primary-container/20 via-surface-container-high/10 to-transparent opacity-70 blur-3xl" />
<div class="absolute left-1/4 top-1/3 h-96 w-96 rounded-full bg-primary/5 blur-3xl" />
<div class="absolute right-1/4 top-2/3 h-80 w-80 rounded-full bg-secondary/5 blur-3xl" />
</div>
<HomeHeroSection />
</div>
<HomeTerminalPanel :chapters="chapters" />
<HomeFeatureCards />
</div>
<div />
</template>