Compare commits

...
27 Commits
Author SHA1 Message Date
Noel 0c937e6f80 Merge pull request 'chore: release main' (#22) from release-please--branches--main into main
release-please / release-please (push) Successful in 7s
Publish image / Build and push image (push) Canceled after 0s
Reviewed-on: #22
2026-10-27 11:12:15 +00:00
Gitea Actions [Bot] e8ce629e1b chore: release main
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m10s
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 19s
2026-10-27 11:07:55 +00:00
Noel f9ddbb7e1a Merge pull request 'fix(ci): create the release-please labels before the action runs' (#23) from fix/release_please into main
release-please / release-please (push) Successful in 9s
Reviewed-on: #23
2026-10-27 11:07:45 +00:00
Noel Sabia 0a3c90cc74 fix(ci): create the release-please labels before the action runs
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m11s
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 4s
PR Check / AI code review (opencode) (pull_request) Successful in 38s
release-please finds merged release PRs by the 'autorelease: pending'
label. Gitea resolves label names with GetLabelIDsInRepoByNames, a SQL IN
filter that silently drops unknown names, so on a repository without the
labels the PR is created unlabeled and every run finds zero merged release
PRs: no tag, no release, and the next release PR instead - with a green
run each time. That is what happened to #20 and #21.

The workflow now ensures both labels exist (idempotent: list, create the
missing ones) and gained workflow_dispatch so a missed release can be
replayed.
2026-10-24 20:21:50 +02:00
Noel 08eb042ad7 Merge pull request 'chore: release main' (#21) from release-please--branches--main into main
release-please / release-please (push) Successful in 10s
Reviewed-on: #21
2026-10-24 17:54:44 +00:00
Gitea Actions [Bot] 75f8a2c675 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 22s
2026-10-24 17:51:22 +00:00
Noel 4e8aa28fd6 Merge pull request 'chore: release main' (#20) from release-please--branches--main into main
release-please / release-please (push) Successful in 10s
Reviewed-on: #20
2026-10-24 17:51:09 +00:00
Gitea Actions [Bot] 028b629152 chore: release main
PR Check / Lint + typecheck (pull_request) Successful in 1m5s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Security scan (Snyk) (pull_request) Skipped
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 18s
2026-10-24 17:34:48 +00:00
Noel 67cf2328c6 Merge pull request 'chore: release main' (#12) from release-please--branches--main into main
release-please / release-please (push) Successful in 11s
Reviewed-on: #12
2026-10-24 17:34:26 +00:00
Gitea Actions [Bot] ced3d8dab4 chore: release main
PR Check / Secret scan (gitleaks) (pull_request) Canceled after 0s
PR Check / Lint + typecheck (pull_request) Canceled after 34s
PR Check / Dependency audit (pull_request) Canceled after 0s
PR Check / Dockerfile lint (droast) (pull_request) Canceled after 0s
PR Check / AI code review (opencode) (pull_request) Canceled after 0s
PR Check / Security scan (Snyk) (pull_request) Skipped
2026-10-24 17:34:00 +00:00
Noel 8150cd689f Merge pull request 'ci: publish image to the own registry on release tag' (#19) from feat/registry into main
release-please / release-please (push) Successful in 33s
Reviewed-on: #19
2026-10-24 17:33:25 +00:00
Noel Sabia c3445ad55d Merge remote-tracking branch 'origin/main' into feat/registry
PR Check / Lint + typecheck (pull_request) Successful in 1m8s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Dependency audit (pull_request) Successful in 8s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 5s
PR Check / AI code review (opencode) (pull_request) Successful in 49s
# Conflicts:
#	OKF_Nuxt/log.md
2026-10-24 19:30:38 +02:00
Noel Sabia eebd6ca697 fix(ci): publish on a dedicated runner label, immutable version tags
PR Check / AI code review (opencode) (pull_request) Successful in 48s
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
The review's blocker was real: runs-on: ubuntu-latest is the label
pr-checker.yml uses, and the job needs a runner-wide Docker socket, so the
only working configuration violated the trust boundary in the decision
doc. The job now runs on a dedicated 'publish' label that only a second
act_runner registration (docker_host: automount) may carry.

Version tags are now immutable: before building, the registry v2 API is
asked for manifests/<version> and 200 aborts the run. docker manifest
inspect cannot do this job - the pinned Debian 20.10 client fails on OCI
indexes for existing and missing tags alike (measured).

Also: the smoke test requires a rendered body (10 kB floor) on top of the
2xx, .github/actionlint.yaml declares the custom label, and the actionlint
hook passes that config explicitly because this repo keeps workflows in
.gitea/workflows, where actionlint does not auto-discover it.
2026-10-24 19:24:47 +02:00
Noel Sabia 435be63ae0 fix(ci): harden the release publish workflow after the PR review
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / AI code review (opencode) (pull_request) Successful in 48s
PR Check / Lint + typecheck (pull_request) Successful in 1m5s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Successful in 8s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 5s
Applied the findings that held up against the code:
- strict vMAJOR.MINOR.PATCH guard; v[0-9]* accepted v1, v1-foo and
  prereleases, all valid registry tags
- latest now follows the newest release, so replaying an older tag cannot
  drag it backwards; skipped with a warning if the tag list is unavailable
- smoke test starts the built image and requires 2xx on / before pushing
- timeout-minutes: 20 on the job, so a hung build cannot hold the
  capacity-1 runner indefinitely
- the decision doc records the socket's blast radius: root-equivalent,
  runner-wide, only on a label PR jobs cannot use

Rejected with evidence: the .dockerignore leak (.env*, *.pem, .git are
excluded) and the Docker client/daemon API mismatch (20.10.24 client
against a 29.9.2 daemon builds over the socket).
2026-10-24 19:15:55 +02:00
Noel Sabia f3d3e196d0 Merge remote-tracking branch 'origin/main' into feat/registry
# Conflicts:
#	OKF_Nuxt/log.md
2026-10-24 19:13:41 +02:00
Noel Sabia c3cf1dfc47 ci: publish image to the own registry on release tag
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m16s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Successful in 10s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 5s
PR Check / AI code review (opencode) (pull_request) Successful in 41s
Build Dockerfile on every v* tag push (created by release-please when the
release PR merges) and push registry.noelsabia.dev/cv_website/nuxt as the
version, sha-<12> and latest. Main pushes do not build: the registry holds
releases, not commits.

The job runs in node:22-bookworm and needs only the Docker client, so the
act_runner must expose its host socket (container.docker_host: automount);
a preflight step fails with that cause when it does not.
2026-10-24 19:02:54 +02:00
Noel ab022c9b57 Merge pull request 'feat: index.vue' (#18) from feat/index.vue into main
release-please / release-please (push) Successful in 8s
Reviewed-on: #18
2026-10-23 21:10:18 +00:00
Noel Sabia f1c4227375 Merge remote-tracking branch 'origin/main' into feat/index.vue
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m4s
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 42s
2026-10-23 23:05:59 +02:00
Noel Sabia ccb3459e4f Merge origin/main into feat/index.vue
Conflicts:
- app/pages/index.vue: kept main's SEO setup (SITE, useSeoMeta,
  titleTemplate) alongside the branch's chapters import.
- OKF_Nuxt/log.md: both sides prepended entries; kept the profile and
  metrics entries above main's PR #16, SEO, favicon and icon entries.

Also takes main's @nuxtjs/seo and @nuxt/icon setup, favicon/OG assets,
site.config.mjs and the CI review changes. lint, typecheck and build pass
after a frozen-lockfile install.
2026-10-23 22:55:30 +02:00
Noel Sabia 47f4e64f24 feat(ui): simplify terminal and contact bar on mobile
PR Check / Lint + typecheck (pull_request) Successful in 52s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Dependency audit (pull_request) Successful in 9s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 6s
PR Check / AI code review (opencode) (pull_request) Successful in 47s
Below lg the chapter rows show only the context badge and the status, so
the terminal no longer needs 760px on a phone; the desktop grid is
unchanged. The contact bar stacks the email full width and puts LinkedIn
and the location side by side.

Contact values truncate instead of forcing the bar wider. Also fixes the
"someone we pull" typo in the third feature card and lets the hero quote
use the wider column.
2026-10-23 22:51:29 +02:00
Noel ce941cad2d Merge pull request 'feat(i18n): add five locales and a header language switcher' (#17) from feat/language_support into main
release-please / release-please (push) Successful in 8s
Reviewed-on: #17
2026-10-23 20:40:17 +00:00
Noel Sabia e4b30ad944 fix(i18n): keep root links in the active locale and fix switcher a11y
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m7s
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 55s
AppNav, AppLogo and AppBottomNav used NuxtLink to "/", which resolves to the English root under prefix_except_default; they now use NuxtLinkLocale and drop the hardcoded aria-current. Bottom-nav labels go through $t as well. The switcher's accessible name now contains the visible locale code, aria-haspopup is gone in favour of a plain disclosure with aria-controls, and Escape returns focus to the trigger.
2026-10-23 22:34:09 +02:00
Noel Sabia 9a4d79a050 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.
2026-10-23 22:26:11 +02:00
Noel Sabia 078a49d14e Merge remote-tracking branch 'origin/main' into feat/language_support
PR Check / AI code review (opencode) (pull_request) Successful in 39s
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m8s
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
Resolved: nuxt.config modules now carry @nuxt/icon and @nuxtjs/seo alongside @nuxtjs/i18n; package.json keeps both dependency sets; pnpm-lock.yaml regenerated. Also set i18n.baseUrl from site.config.mjs so sitemap alternates and future hreflang links are absolute.
2026-10-23 22:12:15 +02:00
Noel Sabia 93ab0c0d79 feat(i18n): add five locales and a header language switcher
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 58s
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 6s
PR Check / AI code review (opencode) (pull_request) Successful in 42s
Locale files in i18n/locales for en, de, es, it and pl; English stays at / and the others are prefixed. One flag dropdown after the GitHub link on desktop, logo plus the language button on phones. Nav, quick links and footer strings go through $t, and the footer line drops "self-healing on purpose".
2026-10-23 22:00:34 +02:00
Noel 9b7222dd4d Merge pull request 'feat: rootpage' (#16) from feat/rootpage into main
release-please / release-please (push) Successful in 8s
Reviewed-on: #16
2026-10-23 19:53:14 +00:00
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
38 changed files with 2587 additions and 39 deletions

No files matched your search

+230
View File
@@ -0,0 +1,230 @@
name: Publish image
# Fires on the version tag release-please creates when the release PR is
# merged (vX.Y.Z, plain tags - see OKF_Nuxt/decisions/release-engineering.md).
# A push to main does NOT build: an image tag always maps to a released
# version, so what runs in the cluster is traceable to a release, not to an
# arbitrary commit.
on:
push:
tags:
- 'v*'
# The runner has capacity 1, so releases already serialize. This keeps a
# manual re-run from racing a fresh release on the same tags.
concurrency:
group: publish-image
cancel-in-progress: false
env:
# Registry host + repository path. The path segment is the Gitea
# organisation, so k3s pulls registry.noelsabia.dev/cv_website/nuxt:<tag>.
IMAGE: registry.noelsabia.dev/cv_website/nuxt
APP_DIR: .
jobs:
publish:
name: Build and push image
# Dedicated label, NOT ubuntu-latest: this job needs the host Docker
# socket, and `docker_host` is a runner-wide setting. Sharing a label
# with pr-checker.yml would hand PR code (from a branch) a root-
# equivalent socket on the host that also runs Gitea and k3s.
# Register a second act_runner with `--labels publish:docker://node:22-bookworm`
# and `container.docker_host: automount` in its config, before the first
# tag: an unmatched label leaves the job queued indefinitely.
runs-on: publish
# A hung build would hold the capacity-1 runner and, through it, every
# other job on this server. Gitea's instance default is not a contract.
timeout-minutes: 20
# Same base image as the other jobs. The build runs on the runner's
# Docker daemon (not in a nested daemon), so this container only needs
# the CLI - see OKF_Nuxt/decisions/registry-publishing.md.
container: node:22-bookworm
steps:
- uses: actions/checkout@v4
- name: Install Docker CLI
# Debian's docker.io, not a curl-piped binary from GitHub: apt is a
# signed channel, and bookworm ships an arm64 build. Only the client
# is needed; the daemon lives on the host.
run: |
apt-get update
apt-get install -y --no-install-recommends docker.io
docker --version
- name: Check daemon access
# Fail here, with the cause, instead of halfway through a build.
# An unreachable daemon means the runner was started without the
# host socket mounted: set `docker_host: automount` in the
# act_runner config and restart the service.
#
# The socket is root-equivalent on the host, and automount is a
# runner-wide setting - it applies to every job on that runner,
# including PR jobs. Only enable it on a runner label that
# PR-triggered jobs cannot use; see the trust boundary in
# OKF_Nuxt/decisions/registry-publishing.md.
run: |
echo "DOCKER_HOST=${DOCKER_HOST:-<unset - the default socket path>}"
if ! docker info > /dev/null 2>&1; then
echo "::error::no Docker daemon reachable from this job - the act_runner needs the host Docker socket (docker_host: automount)"
exit 1
fi
- name: Resolve version and tags
id: version
run: |
# GITHUB_REF_NAME is the tag on a tag push. The git fallback keeps
# this working if a runner version does not set it.
version="${GITHUB_REF_NAME:-$(git describe --tags --exact-match HEAD)}"
# Strict semver, not a `v[0-9]*` prefix match: that would accept
# `v1`, `v1-anything` and prereleases, all valid registry tags.
if ! printf '%s' "$version" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+$'; then
echo "::error::expected a vMAJOR.MINOR.PATCH tag, got '${version}'"
exit 1
fi
sha="$(git rev-parse --short=12 HEAD)"
# `latest` follows the newest release, not the newest build. A
# re-run of an older tag (Gitea can replay any run) must not drag
# `latest` backwards, while a re-run of the newest tag may set it:
# that release had not produced an image yet.
# A tag comparison needs the other tags, which a depth-1 tag
# checkout does not have. If the fetch fails, skip `latest` and
# say so - a wrong tag is worse than a missing one.
if git fetch --tags --force --quiet origin 2>/dev/null; then
newest="$(git tag -l | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n 1)"
if [ "$version" = "$newest" ]; then
latest=true
else
latest=false
echo "::warning::${version} is not the newest release (${newest}) - not moving :latest"
fi
else
latest=false
echo "::warning::could not list tags - not moving :latest"
fi
# Short SHA tag alongside the version: OKF_CV_Website/architecture/
# delivery.md asks for SHA-tagged images so every deploy is
# traceable to a commit even after a tag is moved.
{
echo "version=${version}"
echo "sha=${sha}"
echo "latest=${latest}"
} >> "$GITHUB_OUTPUT"
echo "Building ${version} from ${sha} (latest: ${latest})"
- name: Log in to the registry
env:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: |
# Missing secrets must fail loudly: an anonymous `docker push`
# would answer 401 with a message most people misread as a
# missing repository.
[ -n "$REGISTRY_USERNAME" ] || { echo "::error::secret REGISTRY_USERNAME is empty"; exit 1; }
[ -n "$REGISTRY_PASSWORD" ] || { echo "::error::secret REGISTRY_PASSWORD is empty"; exit 1; }
printf '%s' "$REGISTRY_PASSWORD" \
| docker login registry.noelsabia.dev -u "$REGISTRY_USERNAME" --password-stdin
- name: Refuse to overwrite a published version
env:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
VERSION: ${{ steps.version.outputs.version }}
run: |
# A version tag is immutable once published. Gitea can replay any
# run, and `docker push` would silently replace :vX.Y.Z with a
# rebuilt image, so the release would change content after the
# fact. A missing tag (first attempt, or a run that failed before
# pushing) is fine - nothing was published.
#
# Registry v2 API instead of `docker manifest inspect`: the
# Debian 20.10 client fails that command on OCI indexes with
# "unsupported manifest media type and no default available",
# for existing and missing tags alike.
url="https://registry.noelsabia.dev/v2/cv_website/nuxt/manifests/${VERSION}"
code=$(curl -s -o /dev/null -w '%{http_code}' \
-u "${REGISTRY_USERNAME}:${REGISTRY_PASSWORD}" \
-H 'Accept: application/vnd.docker.distribution.manifest.v2+json' \
-H 'Accept: application/vnd.oci.image.index.v1+json' \
-H 'Accept: application/vnd.oci.image.manifest.v1+json' \
"$url")
echo "GET /v2/cv_website/nuxt/manifests/${VERSION}: HTTP ${code}"
case "$code" in
200) echo "::error::${VERSION} is already published and version tags are immutable - delete that tag in the registry deliberately to replace it"; exit 1 ;;
404) echo "${VERSION} is not published yet - continuing" ;;
401|403) echo "::error::registry rejected the credentials (HTTP ${code}) - check REGISTRY_USERNAME/REGISTRY_PASSWORD"; exit 1 ;;
*) echo "::error::unexpected answer from the registry (HTTP ${code})"; exit 1 ;;
esac
- name: Build image
env:
VERSION: ${{ steps.version.outputs.version }}
SHA: ${{ steps.version.outputs.sha }}
run: |
# --platform is explicit so a build on the wrong architecture fails
# instead of silently producing an amd64 image the arm64 node
# cannot run. Native here, no QEMU involved.
docker build \
--platform linux/arm64 \
--label "org.opencontainers.image.version=${VERSION}" \
--label "org.opencontainers.image.revision=${SHA}" \
-t "${IMAGE}:${VERSION}" \
-t "${IMAGE}:sha-${SHA}" \
"${APP_DIR}"
- name: Smoke-test the image
env:
VERSION: ${{ steps.version.outputs.version }}
run: |
# Start the real server inside the built image and require a 2xx
# with a real SSR body, not an empty shell. Cheaper than
# publishing a broken release, and the only step that proves the
# Nitro output actually runs. Done inside the container because
# the app's port is not reachable from this job container - the
# daemon publishes on the host, not here.
#
# The size floor is deliberately loose: the rendered homepage was
# 97 kB on 2026-10-24, so 10 kB catches "200 but nothing rendered"
# without failing on a future copy change.
docker run --rm "${IMAGE}:${VERSION}" sh -c '
node .output/server/index.mjs &
server=$!
i=0
while [ "$i" -lt 30 ]; do
if out=$(node -e "fetch(\"http://127.0.0.1:3000/\").then(async r => { const body = await r.text(); if (!r.ok || body.length < 10000) process.exit(1); console.log(r.status + \" \" + body.length + \" bytes\") }).catch(() => process.exit(1))" 2>/dev/null); then
echo "homepage rendered after ${i}s: HTTP ${out}"
kill "$server"
exit 0
fi
i=$((i + 1))
sleep 1
done
echo "no 2xx homepage with a rendered body within 30s"
kill "$server"
exit 1
'
- name: Tag latest
if: steps.version.outputs.latest == 'true'
env:
VERSION: ${{ steps.version.outputs.version }}
run: docker tag "${IMAGE}:${VERSION}" "${IMAGE}:latest"
- name: Push image
env:
VERSION: ${{ steps.version.outputs.version }}
SHA: ${{ steps.version.outputs.sha }}
LATEST: ${{ steps.version.outputs.latest }}
run: |
# Explicit per tag, not `--all-tags`: --all-tags would also push
# stale local tags left on the shared daemon by earlier runs.
docker push "${IMAGE}:${VERSION}"
docker push "${IMAGE}:sha-${SHA}"
if [ "$LATEST" = "true" ]; then
docker push "${IMAGE}:latest"
echo "Pushed ${IMAGE}:${VERSION}, :sha-${SHA}, :latest"
else
echo "Pushed ${IMAGE}:${VERSION}, :sha-${SHA} (:latest untouched)"
fi
+36
View File
@@ -2,6 +2,10 @@ on:
push: push:
branches: branches:
- main - main
# Manual trigger so a missed release can be replayed without waiting for
# the next push. The job is idempotent: it tags only merged release PRs
# that carry the pending label.
workflow_dispatch:
permissions: permissions:
contents: write contents: write
@@ -13,6 +17,38 @@ jobs:
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# release-please marks its release PR with `autorelease: pending` and
# later finds the merged PR by that label. Gitea's label API resolves
# names and *silently ignores unknown ones* (GetLabelIDsInRepoByNames
# filters by name in SQL), so on a repository without these labels the
# PR is created unlabeled, the release phase finds no merged release PR
# and creates no tag - while the run still reports success. That is the
# bug this step prevents: make the labels exist first, every run.
- name: Ensure release-please labels exist
env:
GITEA_TOKEN: ${{ secrets.PR_GITEA_TOKEN }}
run: |
set -eu
existing="$(curl -sS -H "Authorization: token ${GITEA_TOKEN}" \
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/labels?limit=50")"
for name in "autorelease: pending" "autorelease: tagged"; do
if printf '%s' "$existing" | grep -qF "\"name\":\"${name}\""; then
echo "label exists: ${name}"
continue
fi
code="$(curl -sS -o /tmp/label.json -w '%{http_code}' -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H 'Content-Type: application/json' \
-d "{\"name\":\"${name}\",\"color\":\"ededed\",\"description\":\"release-please state\"}" \
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/labels")"
if [ "$code" != "201" ]; then
echo "::error::could not create label '${name}' (HTTP ${code})"
cat /tmp/label.json
exit 1
fi
echo "created label: ${name}"
done
- uses: joaquinjsb/gitea-release-please-action@v4 - uses: joaquinjsb/gitea-release-please-action@v4
with: with:
# One well-scoped token for all workflow API work (see # One well-scoped token for all workflow API work (see
+9
View File
@@ -0,0 +1,9 @@
# actionlint configuration.
#
# `publish` is the label of the second act_runner registration (the one with
# the host Docker socket). actionlint only knows GitHub's hosted labels, so
# custom self-hosted labels have to be declared here or every workflow using
# them fails the lint hook.
self-hosted-runner:
labels:
- publish
+6
View File
@@ -55,6 +55,12 @@ repos:
hooks: hooks:
- id: actionlint - id: actionlint
files: \.gitea/workflows/.*\.ya?ml$ files: \.gitea/workflows/.*\.ya?ml$
# actionlint only auto-loads its config when the file is
# .github/actionlint.yaml *and* it recognises a project root by
# .github/workflows, which this repo does not have (it uses
# .gitea/workflows). Pass the config explicitly, or the custom
# `publish` runner label is reported as unknown.
args: [-config-file, .github/actionlint.yaml]
# --------------------------------------------------------- ESLint (Nuxt) - # --------------------------------------------------------- ESLint (Nuxt) -
# Local hook: needs `pnpm install` to have run in this repo. --fix makes # Local hook: needs `pnpm install` to have run in this repo. --fix makes
+1 -1
View File
@@ -1,3 +1,3 @@
{ {
".": "1.0.0" ".": "1.4.0"
} }
+209
View File
@@ -1,5 +1,214 @@
# Changelog # Changelog
## [1.4.0](https://github.com/CV_Website/CV_Site_Nuxt/compare/v1.3.0...v1.4.0) (2026-10-27)
### Features
* add nuxt application shell ([5caa345](https://github.com/CV_Website/CV_Site_Nuxt/commit/5caa3457aa8f97dfca94059b15f8330e97bfb041))
* added dockerignore, a development docker image and a qa/prod docker image ([1a78935](https://github.com/CV_Website/CV_Site_Nuxt/commit/1a78935c23ef2c756912d9f561a69569c2f45d2f))
* extend ESLint config with default rule set ([e4ea5c3](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4ea5c3e7c74c4d2c700ced71372da13e031eb6c))
* **i18n:** add five locales and a header language switcher ([93ab0c0](https://github.com/CV_Website/CV_Site_Nuxt/commit/93ab0c0d79ac3de8f551d919798027f27bb819a8))
* 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
* **ci:** address AI review findings (credentials, supply chain) ([85f488a](https://github.com/CV_Website/CV_Site_Nuxt/commit/85f488a94dd8796ea5f11c292edddd32e21398cd))
* **ci:** apply review findings round two ([a3e6aef](https://github.com/CV_Website/CV_Site_Nuxt/commit/a3e6aef901086f5f8b416e2aa7d29596517f9550))
* **ci:** close the fail-open gate, enforce read-only sandbox ([3e68e63](https://github.com/CV_Website/CV_Site_Nuxt/commit/3e68e630dff92a7abd791b7a8808eb682f37a060))
* **ci:** create the release-please labels before the action runs ([0a3c90c](https://github.com/CV_Website/CV_Site_Nuxt/commit/0a3c90cc7489b7657a9a142fb2b6248ae0738a63))
* **ci:** deny write tools, never swallow review errors ([f8d1287](https://github.com/CV_Website/CV_Site_Nuxt/commit/f8d128705faa9493202cf724ae0a451d4dc6d1e5))
* **ci:** gate the ai review to pull_request events, restore route announcer ([9be6298](https://github.com/CV_Website/CV_Site_Nuxt/commit/9be62982a4a2494351006463ae71bd99f4e49fe4))
* **ci:** give release-please git credentials for the release-branch push ([a27bbbb](https://github.com/CV_Website/CV_Site_Nuxt/commit/a27bbbb2abf0fa8ddedd20c05bba2128e88faa3a))
* **ci:** hand review diff to agent as file, not argv ([16b9291](https://github.com/CV_Website/CV_Site_Nuxt/commit/16b9291a5111b93d6e7da244f821589fa3432d87))
* **ci:** harden the release publish workflow after the PR review ([435be63](https://github.com/CV_Website/CV_Site_Nuxt/commit/435be63ae0bd0fdac49e83f9ef5a21e9182efa16))
* **ci:** install opencode v2 for the review job ([783c9cc](https://github.com/CV_Website/CV_Site_Nuxt/commit/783c9ccda369fe5ec05ea5085488998de125045c))
* **ci:** JSON-encode review with node instead of jq ([a061fad](https://github.com/CV_Website/CV_Site_Nuxt/commit/a061fad9b1933414faa7e6a26bd3182c0ce6c9d7))
* **ci:** make droast job actually run ([cf6f209](https://github.com/CV_Website/CV_Site_Nuxt/commit/cf6f209ebf03c3a4faf4e32971ba036d60ddb36b))
* **ci:** pass --all-projects to snyk test ([7197f75](https://github.com/CV_Website/CV_Site_Nuxt/commit/7197f757a6447cf29a11f60914d89939bd647040))
* **ci:** pick gitleaks binary by CPU architecture ([88dadd5](https://github.com/CV_Website/CV_Site_Nuxt/commit/88dadd584627e963b4dee719768644626e343488))
* **ci:** point release-please at PR_GITEA_TOKEN (write scopes) ([e1192a2](https://github.com/CV_Website/CV_Site_Nuxt/commit/e1192a2014da8acfea37c5319f0b612f9f5a392e))
* **ci:** publish on a dedicated runner label, immutable version tags ([eebd6ca](https://github.com/CV_Website/CV_Site_Nuxt/commit/eebd6ca69782f4e77b598078397c4e84881ce98d))
* **ci:** pull gitleaks from GHCR and pin version ([ce9c090](https://github.com/CV_Website/CV_Site_Nuxt/commit/ce9c090a150e448919205f9386ff61bfe77dfdb9))
* **ci:** run app jobs from repo root ([bb13f1a](https://github.com/CV_Website/CV_Site_Nuxt/commit/bb13f1a187d482b9bb55dafa303356114ece42ae))
* **ci:** run gitleaks as binary in node image ([779cf20](https://github.com/CV_Website/CV_Site_Nuxt/commit/779cf20f45ec8db009065197140067a531649401))
* **ci:** run Snyk CLI via npm on arm64 runner ([8d2a000](https://github.com/CV_Website/CV_Site_Nuxt/commit/8d2a00062e6381cbba9bdb703b210c8eb2201d92))
* **ci:** switch review model to deepseek-v4.1-flash, pause snyk via workflow_dispatch ([9b0f89e](https://github.com/CV_Website/CV_Site_Nuxt/commit/9b0f89ef38c189905869567be513dbf72e694b2d))
* **ci:** tell the reviewer the lockfile is excluded on purpose ([ad4e8d7](https://github.com/CV_Website/CV_Site_Nuxt/commit/ad4e8d7bd9e394d6c9f1b157f6cc71b28e62dcaa))
* **ci:** use opencode-go plan model for AI review ([8b6bcb6](https://github.com/CV_Website/CV_Site_Nuxt/commit/8b6bcb6d70d123dda551f08ef2c05dc3d50733f2))
* **ci:** use pnpm 11 in runner ([ecd0192](https://github.com/CV_Website/CV_Site_Nuxt/commit/ecd0192466f8d72b9f8532e32b1aea63ff9dd640))
* **deps:** force patched postcss-selector-parser 7.1.6 (GHSA-rj75-hqrm-r3gf) ([9995fc7](https://github.com/CV_Website/CV_Site_Nuxt/commit/9995fc75ed521ab54af59498dab7afa33f01ac23))
* **favicon:** keep the ICO transparent when BACKGROUND is null ([2f9f236](https://github.com/CV_Website/CV_Site_Nuxt/commit/2f9f236f13b318216784606901d008c8522bc65f))
* **i18n:** keep root links in the active locale and fix switcher a11y ([e4b30ad](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4b30ad9447e6117686a73b7b66a627d258a510d))
* pass staged filenames to the eslint pre-commit hook ([81d658a](https://github.com/CV_Website/CV_Site_Nuxt/commit/81d658a87105434835016ae20b24ef3cb7617d86))
* remove leftover merge conflict marker from pr-checker.yml ([8f36f14](https://github.com/CV_Website/CV_Site_Nuxt/commit/8f36f14720a4826fe4b4cebdf591994fa0961ae3))
* unblock the release PR - real production image, reviewed audit ignores ([f32ad07](https://github.com/CV_Website/CV_Site_Nuxt/commit/f32ad076486127a1132b754eb8258105754355bb))
## [1.3.0](https://github.com/CV_Website/CV_Site_Nuxt/compare/v1.2.0...v1.3.0) (2026-10-24)
### Features
* add nuxt application shell ([5caa345](https://github.com/CV_Website/CV_Site_Nuxt/commit/5caa3457aa8f97dfca94059b15f8330e97bfb041))
* added dockerignore, a development docker image and a qa/prod docker image ([1a78935](https://github.com/CV_Website/CV_Site_Nuxt/commit/1a78935c23ef2c756912d9f561a69569c2f45d2f))
* extend ESLint config with default rule set ([e4ea5c3](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4ea5c3e7c74c4d2c700ced71372da13e031eb6c))
* **i18n:** add five locales and a header language switcher ([93ab0c0](https://github.com/CV_Website/CV_Site_Nuxt/commit/93ab0c0d79ac3de8f551d919798027f27bb819a8))
* 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
* **ci:** address AI review findings (credentials, supply chain) ([85f488a](https://github.com/CV_Website/CV_Site_Nuxt/commit/85f488a94dd8796ea5f11c292edddd32e21398cd))
* **ci:** apply review findings round two ([a3e6aef](https://github.com/CV_Website/CV_Site_Nuxt/commit/a3e6aef901086f5f8b416e2aa7d29596517f9550))
* **ci:** close the fail-open gate, enforce read-only sandbox ([3e68e63](https://github.com/CV_Website/CV_Site_Nuxt/commit/3e68e630dff92a7abd791b7a8808eb682f37a060))
* **ci:** deny write tools, never swallow review errors ([f8d1287](https://github.com/CV_Website/CV_Site_Nuxt/commit/f8d128705faa9493202cf724ae0a451d4dc6d1e5))
* **ci:** gate the ai review to pull_request events, restore route announcer ([9be6298](https://github.com/CV_Website/CV_Site_Nuxt/commit/9be62982a4a2494351006463ae71bd99f4e49fe4))
* **ci:** give release-please git credentials for the release-branch push ([a27bbbb](https://github.com/CV_Website/CV_Site_Nuxt/commit/a27bbbb2abf0fa8ddedd20c05bba2128e88faa3a))
* **ci:** hand review diff to agent as file, not argv ([16b9291](https://github.com/CV_Website/CV_Site_Nuxt/commit/16b9291a5111b93d6e7da244f821589fa3432d87))
* **ci:** harden the release publish workflow after the PR review ([435be63](https://github.com/CV_Website/CV_Site_Nuxt/commit/435be63ae0bd0fdac49e83f9ef5a21e9182efa16))
* **ci:** install opencode v2 for the review job ([783c9cc](https://github.com/CV_Website/CV_Site_Nuxt/commit/783c9ccda369fe5ec05ea5085488998de125045c))
* **ci:** JSON-encode review with node instead of jq ([a061fad](https://github.com/CV_Website/CV_Site_Nuxt/commit/a061fad9b1933414faa7e6a26bd3182c0ce6c9d7))
* **ci:** make droast job actually run ([cf6f209](https://github.com/CV_Website/CV_Site_Nuxt/commit/cf6f209ebf03c3a4faf4e32971ba036d60ddb36b))
* **ci:** pass --all-projects to snyk test ([7197f75](https://github.com/CV_Website/CV_Site_Nuxt/commit/7197f757a6447cf29a11f60914d89939bd647040))
* **ci:** pick gitleaks binary by CPU architecture ([88dadd5](https://github.com/CV_Website/CV_Site_Nuxt/commit/88dadd584627e963b4dee719768644626e343488))
* **ci:** point release-please at PR_GITEA_TOKEN (write scopes) ([e1192a2](https://github.com/CV_Website/CV_Site_Nuxt/commit/e1192a2014da8acfea37c5319f0b612f9f5a392e))
* **ci:** publish on a dedicated runner label, immutable version tags ([eebd6ca](https://github.com/CV_Website/CV_Site_Nuxt/commit/eebd6ca69782f4e77b598078397c4e84881ce98d))
* **ci:** pull gitleaks from GHCR and pin version ([ce9c090](https://github.com/CV_Website/CV_Site_Nuxt/commit/ce9c090a150e448919205f9386ff61bfe77dfdb9))
* **ci:** run app jobs from repo root ([bb13f1a](https://github.com/CV_Website/CV_Site_Nuxt/commit/bb13f1a187d482b9bb55dafa303356114ece42ae))
* **ci:** run gitleaks as binary in node image ([779cf20](https://github.com/CV_Website/CV_Site_Nuxt/commit/779cf20f45ec8db009065197140067a531649401))
* **ci:** run Snyk CLI via npm on arm64 runner ([8d2a000](https://github.com/CV_Website/CV_Site_Nuxt/commit/8d2a00062e6381cbba9bdb703b210c8eb2201d92))
* **ci:** switch review model to deepseek-v4.1-flash, pause snyk via workflow_dispatch ([9b0f89e](https://github.com/CV_Website/CV_Site_Nuxt/commit/9b0f89ef38c189905869567be513dbf72e694b2d))
* **ci:** tell the reviewer the lockfile is excluded on purpose ([ad4e8d7](https://github.com/CV_Website/CV_Site_Nuxt/commit/ad4e8d7bd9e394d6c9f1b157f6cc71b28e62dcaa))
* **ci:** use opencode-go plan model for AI review ([8b6bcb6](https://github.com/CV_Website/CV_Site_Nuxt/commit/8b6bcb6d70d123dda551f08ef2c05dc3d50733f2))
* **ci:** use pnpm 11 in runner ([ecd0192](https://github.com/CV_Website/CV_Site_Nuxt/commit/ecd0192466f8d72b9f8532e32b1aea63ff9dd640))
* **deps:** force patched postcss-selector-parser 7.1.6 (GHSA-rj75-hqrm-r3gf) ([9995fc7](https://github.com/CV_Website/CV_Site_Nuxt/commit/9995fc75ed521ab54af59498dab7afa33f01ac23))
* **favicon:** keep the ICO transparent when BACKGROUND is null ([2f9f236](https://github.com/CV_Website/CV_Site_Nuxt/commit/2f9f236f13b318216784606901d008c8522bc65f))
* **i18n:** keep root links in the active locale and fix switcher a11y ([e4b30ad](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4b30ad9447e6117686a73b7b66a627d258a510d))
* pass staged filenames to the eslint pre-commit hook ([81d658a](https://github.com/CV_Website/CV_Site_Nuxt/commit/81d658a87105434835016ae20b24ef3cb7617d86))
* remove leftover merge conflict marker from pr-checker.yml ([8f36f14](https://github.com/CV_Website/CV_Site_Nuxt/commit/8f36f14720a4826fe4b4cebdf591994fa0961ae3))
* unblock the release PR - real production image, reviewed audit ignores ([f32ad07](https://github.com/CV_Website/CV_Site_Nuxt/commit/f32ad076486127a1132b754eb8258105754355bb))
## [1.2.0](https://github.com/CV_Website/CV_Site_Nuxt/compare/v1.1.0...v1.2.0) (2026-10-24)
### Features
* add nuxt application shell ([5caa345](https://github.com/CV_Website/CV_Site_Nuxt/commit/5caa3457aa8f97dfca94059b15f8330e97bfb041))
* added dockerignore, a development docker image and a qa/prod docker image ([1a78935](https://github.com/CV_Website/CV_Site_Nuxt/commit/1a78935c23ef2c756912d9f561a69569c2f45d2f))
* extend ESLint config with default rule set ([e4ea5c3](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4ea5c3e7c74c4d2c700ced71372da13e031eb6c))
* **i18n:** add five locales and a header language switcher ([93ab0c0](https://github.com/CV_Website/CV_Site_Nuxt/commit/93ab0c0d79ac3de8f551d919798027f27bb819a8))
* 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
* **ci:** address AI review findings (credentials, supply chain) ([85f488a](https://github.com/CV_Website/CV_Site_Nuxt/commit/85f488a94dd8796ea5f11c292edddd32e21398cd))
* **ci:** apply review findings round two ([a3e6aef](https://github.com/CV_Website/CV_Site_Nuxt/commit/a3e6aef901086f5f8b416e2aa7d29596517f9550))
* **ci:** close the fail-open gate, enforce read-only sandbox ([3e68e63](https://github.com/CV_Website/CV_Site_Nuxt/commit/3e68e630dff92a7abd791b7a8808eb682f37a060))
* **ci:** deny write tools, never swallow review errors ([f8d1287](https://github.com/CV_Website/CV_Site_Nuxt/commit/f8d128705faa9493202cf724ae0a451d4dc6d1e5))
* **ci:** gate the ai review to pull_request events, restore route announcer ([9be6298](https://github.com/CV_Website/CV_Site_Nuxt/commit/9be62982a4a2494351006463ae71bd99f4e49fe4))
* **ci:** give release-please git credentials for the release-branch push ([a27bbbb](https://github.com/CV_Website/CV_Site_Nuxt/commit/a27bbbb2abf0fa8ddedd20c05bba2128e88faa3a))
* **ci:** hand review diff to agent as file, not argv ([16b9291](https://github.com/CV_Website/CV_Site_Nuxt/commit/16b9291a5111b93d6e7da244f821589fa3432d87))
* **ci:** harden the release publish workflow after the PR review ([435be63](https://github.com/CV_Website/CV_Site_Nuxt/commit/435be63ae0bd0fdac49e83f9ef5a21e9182efa16))
* **ci:** install opencode v2 for the review job ([783c9cc](https://github.com/CV_Website/CV_Site_Nuxt/commit/783c9ccda369fe5ec05ea5085488998de125045c))
* **ci:** JSON-encode review with node instead of jq ([a061fad](https://github.com/CV_Website/CV_Site_Nuxt/commit/a061fad9b1933414faa7e6a26bd3182c0ce6c9d7))
* **ci:** make droast job actually run ([cf6f209](https://github.com/CV_Website/CV_Site_Nuxt/commit/cf6f209ebf03c3a4faf4e32971ba036d60ddb36b))
* **ci:** pass --all-projects to snyk test ([7197f75](https://github.com/CV_Website/CV_Site_Nuxt/commit/7197f757a6447cf29a11f60914d89939bd647040))
* **ci:** pick gitleaks binary by CPU architecture ([88dadd5](https://github.com/CV_Website/CV_Site_Nuxt/commit/88dadd584627e963b4dee719768644626e343488))
* **ci:** point release-please at PR_GITEA_TOKEN (write scopes) ([e1192a2](https://github.com/CV_Website/CV_Site_Nuxt/commit/e1192a2014da8acfea37c5319f0b612f9f5a392e))
* **ci:** publish on a dedicated runner label, immutable version tags ([eebd6ca](https://github.com/CV_Website/CV_Site_Nuxt/commit/eebd6ca69782f4e77b598078397c4e84881ce98d))
* **ci:** pull gitleaks from GHCR and pin version ([ce9c090](https://github.com/CV_Website/CV_Site_Nuxt/commit/ce9c090a150e448919205f9386ff61bfe77dfdb9))
* **ci:** run app jobs from repo root ([bb13f1a](https://github.com/CV_Website/CV_Site_Nuxt/commit/bb13f1a187d482b9bb55dafa303356114ece42ae))
* **ci:** run gitleaks as binary in node image ([779cf20](https://github.com/CV_Website/CV_Site_Nuxt/commit/779cf20f45ec8db009065197140067a531649401))
* **ci:** run Snyk CLI via npm on arm64 runner ([8d2a000](https://github.com/CV_Website/CV_Site_Nuxt/commit/8d2a00062e6381cbba9bdb703b210c8eb2201d92))
* **ci:** switch review model to deepseek-v4.1-flash, pause snyk via workflow_dispatch ([9b0f89e](https://github.com/CV_Website/CV_Site_Nuxt/commit/9b0f89ef38c189905869567be513dbf72e694b2d))
* **ci:** tell the reviewer the lockfile is excluded on purpose ([ad4e8d7](https://github.com/CV_Website/CV_Site_Nuxt/commit/ad4e8d7bd9e394d6c9f1b157f6cc71b28e62dcaa))
* **ci:** use opencode-go plan model for AI review ([8b6bcb6](https://github.com/CV_Website/CV_Site_Nuxt/commit/8b6bcb6d70d123dda551f08ef2c05dc3d50733f2))
* **ci:** use pnpm 11 in runner ([ecd0192](https://github.com/CV_Website/CV_Site_Nuxt/commit/ecd0192466f8d72b9f8532e32b1aea63ff9dd640))
* **deps:** force patched postcss-selector-parser 7.1.6 (GHSA-rj75-hqrm-r3gf) ([9995fc7](https://github.com/CV_Website/CV_Site_Nuxt/commit/9995fc75ed521ab54af59498dab7afa33f01ac23))
* **favicon:** keep the ICO transparent when BACKGROUND is null ([2f9f236](https://github.com/CV_Website/CV_Site_Nuxt/commit/2f9f236f13b318216784606901d008c8522bc65f))
* **i18n:** keep root links in the active locale and fix switcher a11y ([e4b30ad](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4b30ad9447e6117686a73b7b66a627d258a510d))
* pass staged filenames to the eslint pre-commit hook ([81d658a](https://github.com/CV_Website/CV_Site_Nuxt/commit/81d658a87105434835016ae20b24ef3cb7617d86))
* remove leftover merge conflict marker from pr-checker.yml ([8f36f14](https://github.com/CV_Website/CV_Site_Nuxt/commit/8f36f14720a4826fe4b4cebdf591994fa0961ae3))
* unblock the release PR - real production image, reviewed audit ignores ([f32ad07](https://github.com/CV_Website/CV_Site_Nuxt/commit/f32ad076486127a1132b754eb8258105754355bb))
## [1.1.0](https://github.com/CV_Website/CV_Site_Nuxt/compare/v1.0.0...v1.1.0) (2026-10-24)
### Features
* add nuxt application shell ([5caa345](https://github.com/CV_Website/CV_Site_Nuxt/commit/5caa3457aa8f97dfca94059b15f8330e97bfb041))
* added dockerignore, a development docker image and a qa/prod docker image ([1a78935](https://github.com/CV_Website/CV_Site_Nuxt/commit/1a78935c23ef2c756912d9f561a69569c2f45d2f))
* extend ESLint config with default rule set ([e4ea5c3](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4ea5c3e7c74c4d2c700ced71372da13e031eb6c))
* **i18n:** add five locales and a header language switcher ([93ab0c0](https://github.com/CV_Website/CV_Site_Nuxt/commit/93ab0c0d79ac3de8f551d919798027f27bb819a8))
* 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
* **ci:** address AI review findings (credentials, supply chain) ([85f488a](https://github.com/CV_Website/CV_Site_Nuxt/commit/85f488a94dd8796ea5f11c292edddd32e21398cd))
* **ci:** apply review findings round two ([a3e6aef](https://github.com/CV_Website/CV_Site_Nuxt/commit/a3e6aef901086f5f8b416e2aa7d29596517f9550))
* **ci:** close the fail-open gate, enforce read-only sandbox ([3e68e63](https://github.com/CV_Website/CV_Site_Nuxt/commit/3e68e630dff92a7abd791b7a8808eb682f37a060))
* **ci:** deny write tools, never swallow review errors ([f8d1287](https://github.com/CV_Website/CV_Site_Nuxt/commit/f8d128705faa9493202cf724ae0a451d4dc6d1e5))
* **ci:** gate the ai review to pull_request events, restore route announcer ([9be6298](https://github.com/CV_Website/CV_Site_Nuxt/commit/9be62982a4a2494351006463ae71bd99f4e49fe4))
* **ci:** give release-please git credentials for the release-branch push ([a27bbbb](https://github.com/CV_Website/CV_Site_Nuxt/commit/a27bbbb2abf0fa8ddedd20c05bba2128e88faa3a))
* **ci:** hand review diff to agent as file, not argv ([16b9291](https://github.com/CV_Website/CV_Site_Nuxt/commit/16b9291a5111b93d6e7da244f821589fa3432d87))
* **ci:** harden the release publish workflow after the PR review ([435be63](https://github.com/CV_Website/CV_Site_Nuxt/commit/435be63ae0bd0fdac49e83f9ef5a21e9182efa16))
* **ci:** install opencode v2 for the review job ([783c9cc](https://github.com/CV_Website/CV_Site_Nuxt/commit/783c9ccda369fe5ec05ea5085488998de125045c))
* **ci:** JSON-encode review with node instead of jq ([a061fad](https://github.com/CV_Website/CV_Site_Nuxt/commit/a061fad9b1933414faa7e6a26bd3182c0ce6c9d7))
* **ci:** make droast job actually run ([cf6f209](https://github.com/CV_Website/CV_Site_Nuxt/commit/cf6f209ebf03c3a4faf4e32971ba036d60ddb36b))
* **ci:** pass --all-projects to snyk test ([7197f75](https://github.com/CV_Website/CV_Site_Nuxt/commit/7197f757a6447cf29a11f60914d89939bd647040))
* **ci:** pick gitleaks binary by CPU architecture ([88dadd5](https://github.com/CV_Website/CV_Site_Nuxt/commit/88dadd584627e963b4dee719768644626e343488))
* **ci:** point release-please at PR_GITEA_TOKEN (write scopes) ([e1192a2](https://github.com/CV_Website/CV_Site_Nuxt/commit/e1192a2014da8acfea37c5319f0b612f9f5a392e))
* **ci:** publish on a dedicated runner label, immutable version tags ([eebd6ca](https://github.com/CV_Website/CV_Site_Nuxt/commit/eebd6ca69782f4e77b598078397c4e84881ce98d))
* **ci:** pull gitleaks from GHCR and pin version ([ce9c090](https://github.com/CV_Website/CV_Site_Nuxt/commit/ce9c090a150e448919205f9386ff61bfe77dfdb9))
* **ci:** run app jobs from repo root ([bb13f1a](https://github.com/CV_Website/CV_Site_Nuxt/commit/bb13f1a187d482b9bb55dafa303356114ece42ae))
* **ci:** run gitleaks as binary in node image ([779cf20](https://github.com/CV_Website/CV_Site_Nuxt/commit/779cf20f45ec8db009065197140067a531649401))
* **ci:** run Snyk CLI via npm on arm64 runner ([8d2a000](https://github.com/CV_Website/CV_Site_Nuxt/commit/8d2a00062e6381cbba9bdb703b210c8eb2201d92))
* **ci:** switch review model to deepseek-v4.1-flash, pause snyk via workflow_dispatch ([9b0f89e](https://github.com/CV_Website/CV_Site_Nuxt/commit/9b0f89ef38c189905869567be513dbf72e694b2d))
* **ci:** tell the reviewer the lockfile is excluded on purpose ([ad4e8d7](https://github.com/CV_Website/CV_Site_Nuxt/commit/ad4e8d7bd9e394d6c9f1b157f6cc71b28e62dcaa))
* **ci:** use opencode-go plan model for AI review ([8b6bcb6](https://github.com/CV_Website/CV_Site_Nuxt/commit/8b6bcb6d70d123dda551f08ef2c05dc3d50733f2))
* **ci:** use pnpm 11 in runner ([ecd0192](https://github.com/CV_Website/CV_Site_Nuxt/commit/ecd0192466f8d72b9f8532e32b1aea63ff9dd640))
* **deps:** force patched postcss-selector-parser 7.1.6 (GHSA-rj75-hqrm-r3gf) ([9995fc7](https://github.com/CV_Website/CV_Site_Nuxt/commit/9995fc75ed521ab54af59498dab7afa33f01ac23))
* **favicon:** keep the ICO transparent when BACKGROUND is null ([2f9f236](https://github.com/CV_Website/CV_Site_Nuxt/commit/2f9f236f13b318216784606901d008c8522bc65f))
* **i18n:** keep root links in the active locale and fix switcher a11y ([e4b30ad](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4b30ad9447e6117686a73b7b66a627d258a510d))
* pass staged filenames to the eslint pre-commit hook ([81d658a](https://github.com/CV_Website/CV_Site_Nuxt/commit/81d658a87105434835016ae20b24ef3cb7617d86))
* remove leftover merge conflict marker from pr-checker.yml ([8f36f14](https://github.com/CV_Website/CV_Site_Nuxt/commit/8f36f14720a4826fe4b4cebdf591994fa0961ae3))
* unblock the release PR - real production image, reviewed audit ignores ([f32ad07](https://github.com/CV_Website/CV_Site_Nuxt/commit/f32ad076486127a1132b754eb8258105754355bb))
## 1.0.0 (2026-10-18) ## 1.0.0 (2026-10-18)
+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
+1
View File
@@ -5,6 +5,7 @@
* [Vulnerability audit policy](vulnerability-audit-policy.md) - Blocking audit, reviewed ignore-list for unfixable advisories, and the pnpm-11 settings home. * [Vulnerability audit policy](vulnerability-audit-policy.md) - Blocking audit, reviewed ignore-list for unfixable advisories, and the pnpm-11 settings home.
* [Release engineering](release-engineering.md) - release-please in manifest mode, conventional commits as input, message format enforced at commit time. * [Release engineering](release-engineering.md) - release-please in manifest mode, conventional commits as input, message format enforced at commit time.
* [Snyk paused and secrets policy](snyk-paused-and-secrets-policy.md) - Why the job is skipped rather than deleted, and the token scopes every workflow secret needs. * [Snyk paused and secrets policy](snyk-paused-and-secrets-policy.md) - Why the job is skipped rather than deleted, and the token scopes every workflow secret needs.
* [Publishing images to the own registry](registry-publishing.md) - A release tag builds and pushes to registry.noelsabia.dev; main pushes do not build.
* [Dev container shape](dev-container-shape.md) - The source is bind-mounted into a container that already holds the dependencies, and the dev server runs as the image's `node` user. * [Dev container shape](dev-container-shape.md) - The source is bind-mounted into a container that already holds the dependencies, and the dev server runs as the image's `node` user.
* [Build layer order](build-layer-order.md) - Why the manifests are copied before the source, and what invalidates what. * [Build layer order](build-layer-order.md) - Why the manifests are copied before the source, and what invalidates what.
* [Build context filter](build-context-filter.md) - What `.dockerignore` may exclude, and the one thing it must never exclude. * [Build context filter](build-context-filter.md) - What `.dockerignore` may exclude, and the one thing it must never exclude.
+171
View File
@@ -0,0 +1,171 @@
---
type: Decision
title: Publishing images to the own registry
description: A release tag builds the production image and pushes it to registry.noelsabia.dev, because that is the only way Kubernetes can pull it.
tags: [decision, ci, docker, registry, gitea-actions]
status: draft
generated: { by: opencode-go/deepseek-v4.1-flash, at: 2026-10-24T00:00:00Z }
verified: { by: human:noel, at: not yet }
sources:
- id: workflow
resource: .gitea/workflows/publish-image.yml
title: Publish image workflow
- id: dockerfile
resource: Dockerfile
title: Production Dockerfile
- id: k8s
resource: ../OKF_CV_Website/architecture/delivery.md
title: Sibling bundle - image tags and registry pull
---
# Decision
`.gitea/workflows/publish-image.yml` builds `Dockerfile` and pushes the
result to the own registry:
```
registry.noelsabia.dev/cv_website/nuxt:v1.2.3
registry.noelsabia.dev/cv_website/nuxt:sha-<12-char-sha>
registry.noelsabia.dev/cv_website/nuxt:latest # newest release only
```
**Trigger is the release tag, not the main push.** release-please creates
`vX.Y.Z` when the release PR is merged ([release
engineering](release-engineering.md)); that tag push is the build. A main
push would otherwise publish commits that no release describes, and
`latest` would move on work in progress.
# Why not build on every main push
* The registry is the deployment channel. Every image in it should answer
"which release is this", and a tagged commit does.
* The runner has capacity 1 and shares 2 vCPU / 4 GB with Gitea and k3s
(`OKF_CV_Website/architecture/server-budget.md`). A Nuxt image build can
take over 1 GB; running it more often than a release buys nothing.
* The PR checks already gate the code that becomes a release. A tag build
is not the first time the tree is built - a failing build here is a
packaging failure, not a surprise.
# Why docker-outside-of-docker
The job runs in `node:22-bookworm`, like every other job in this
repository, and only needs the Docker client: `docker build` sends the
build context over the socket, so the daemon never reads the container's
filesystem. That requires the act_runner to mount its host socket:
```yaml
# act_runner config.yaml
container:
docker_host: automount
```
Without it the `Check daemon access` step fails first with a named cause
instead of a mid-build error. The alternative - a privileged `docker:dind`
sidecar - needs privileged mode and a second daemon per release; not worth
it on this server.
## Trust boundary (the cost of the socket)
A mounted Docker socket is **root-equivalent on the host**: any job that
has it can run `docker run -v /:/host` and read or write anything, which on
this machine means Gitea's data, k3s, and the CV itself. `docker_host` is a
**runner-wide** setting, so enabling it gives the socket to every job on
that runner, including PR jobs whose code comes from a branch.
Therefore the rule: **the socket only ever goes on a runner label that
PR-triggered jobs do not use.**
The workflow follows it by scheduling onto a dedicated label:
```yaml
runs-on: publish # NOT ubuntu-latest, which pr-checker.yml uses
```
That label only exists once a second act_runner registration is configured
with `container.docker_host: automount` and, for example,
`--labels publish:docker://node:22-bookworm`. Until then the job queues
without starting, and `timeout-minutes` does not apply to a job that never
starts - register the runner before the first release tag.
Not acceptable: adding `automount` to the shared `ubuntu-latest` runner.
That hands PR code a root-equivalent socket on the host that also runs
Gitea and k3s. If it is ever the only option, treat it as an accepted risk
and record it here rather than letting the workflow imply it.
# Why `--platform linux/arm64`
The runner and the node are the same arm64 machine, so the build is native
(no QEMU, no crossed dependencies). Stating the platform makes a build on
another architecture fail instead of publishing an image the node cannot
run.
# Secrets
| Gitea secret | Use |
|---|---|
| `REGISTRY_USERNAME` | basic-auth user for `docker login registry.noelsabia.dev` |
| `REGISTRY_PASSWORD` | basic-auth password (or token) for the same login |
Both are repo secrets. The login uses `--password-stdin` so the value never
appears in the process list or the log.
# Before the first release tag
1. Repo secrets `REGISTRY_USERNAME` and `REGISTRY_PASSWORD` exist.
2. A runner with the `publish` label exists and its config has
`container.docker_host: automount`. Without the label the job queues
forever; without the socket it fails at `Check daemon access`.
3. `pr-checker.yml` still runs on a label whose runner has no socket.
4. Namespace `cv` has an `imagePullSecret` for the same credentials.
5. `registry.noelsabia.dev` answers over HTTPS.
# Guards in the workflow
| Guard | Why |
|---|---|
| Strict `^vMAJOR.MINOR.PATCH$` check | A `v[0-9]*` prefix match accepts `v1`, `v1-anything` and `v1.2.3-rc1`, all of which are valid registry tags and would publish silently |
| `latest` only when the built tag is the highest `vX.Y.Z` in the repository | Gitea can replay any run. Without the comparison, re-running `v1.2.0` after `v1.3.0` drags `latest` backwards. A re-run of the newest tag still moves it - that release had not produced an image yet. If the tag list cannot be fetched, `latest` is skipped with a warning rather than guessed |
| A published version tag is never overwritten | Before building, the registry's v2 API is asked for `manifests/<version>`: `200` aborts the run, `404` continues. A replay of a released tag fails instead of silently replacing published content. `docker manifest inspect` is deliberately *not* used - the Debian 20.10 client fails it on OCI indexes with `unsupported manifest media type and no default available`, for existing and missing tags alike |
| Smoke test before any push | The image is started and must answer 2xx with at least 10 kB of rendered HTML on `/` (the real page is ~97 kB), so "200 but nothing rendered" fails too. Port publishing is not usable here: the daemon binds on the host, not in the job container |
| `timeout-minutes: 20` | A hung build would hold the capacity-1 runner and every job queued behind it |
| `.github/actionlint.yaml` | Declares the custom `publish` label, otherwise the lint hook reports it as unknown. The hook passes the file with `-config-file`, because actionlint only auto-loads it when it recognises a `.github/workflows` project |
# Costs and consequences
* **Registry storage grows** by one image per release in three tags. The
three tags share layers, so the extra cost is mostly the tag, not the
bytes.
* **Images accumulate on the runner's daemon** (`sha-`, version and
`latest` tags). Pruning is not part of this change; add a
`docker image prune` policy when the disk usage actually matters.
* **`latest` is a convenience, not a pin.** Manifests should reference the
version or SHA tag so a release rollback is a manifest edit.
* **k3s needs pull credentials**: an `imagePullSecret` in the namespace for
the same basic-auth pair, or `/etc/rancher/k3s/registries.yaml` if the
registry is ever plain HTTP. Not part of this workflow.
# Not verified
* That the runner has the host socket mounted (`docker_host: automount`) -
the workflow's first step answers this on the first release.
* That the arm64 build succeeds: `Dockerfile` has been built on x86_64
only ([production image](production-image.md)).
* That the smoke test passes on arm64. The same script was run against an
x86_64 build of the merged tree and answered 2xx; the arm64 run is the
first release.
* That `registry.noelsabia.dev` is reachable over HTTPS from the runner.
A plain-HTTP endpoint fails `docker login` with `server gave HTTP
response to HTTPS client` and needs `insecure-registries` on the daemon
plus `registries.yaml` on k3s.
* Whether Gitea runs a `pull_request` workflow from a fork without
maintainer approval on this instance. That answer decides how severe the
socket risk above really is.
# Revisit when
* A second image (the Go gateway or chapter service) needs publishing -
then the workflow grows a matrix instead of being copied.
* Deploys should follow automatically: the release workflow gains a
`kubectl set image` step, or manifests start referencing the SHA tag.
* Multi-arch becomes necessary (a laptop or a CI host of the other
architecture pulls the image).
+46 -2
View File
@@ -48,13 +48,54 @@ feeds this machine is enforced locally by the commitizen pre-commit hook.
3. Merge the release PR → version bumped, changelog written, tag 3. Merge the release PR → version bumped, changelog written, tag
`vX.Y.Z` created. `vX.Y.Z` created.
# The label is load-bearing (2026-10-24)
Steps 2 and 3 are connected by a label, not by the merge alone:
* release-please creates the release PR with `autorelease: pending`;
* on the next run it lists merged PRs and keeps only those carrying that
label; those are the releases it tags.
Gitea resolves label **names** in `POST /issues/{index}/labels` with
`GetLabelIDsInRepoByNames`, which is a SQL `IN` filter: names that do not
exist are dropped **without an error**. A repository with no labels
therefore accepts the call, returns 200, and attaches nothing.
That is exactly what happened here: PRs #20 and #21 were merged as release
PRs with no label at all, so every run found zero merged release PRs,
created zero tags, and opened the next release PR instead — while reporting
success. Three release PRs, no tags.
The workflow now creates both labels (`autorelease: pending`,
`autorelease: tagged`) before the action runs. Idempotent: it reads the
label list and creates only what is missing.
# Recovering a release that was merged without a label
Labels exist only from the fixed workflow onwards. PRs merged before that
still carry none, so tagging them is a one-time manual step:
```sh
# add the pending label to the merged release PRs
for n in 20 21; do
curl -sS -X POST -H "Authorization: token $TOKEN" \
-H 'Content-Type: application/json' \
-d '{"labels":["autorelease: pending"]}' \
"https://git.noelsabia.dev/api/v1/repos/CV_Website/CV_Site_Nuxt/issues/$n/labels"
done
```
Then run the release-please workflow again (it now has
`workflow_dispatch`). It creates `v1.2.0` and `v1.3.0` from those PRs'
bodies and replaces the label with `autorelease: tagged`.
# Not verified # Not verified
* The first release PR end to end — needs at least one `feat:`/`fix:`
commit on `main` after the workflow merge.
* That `RELEASE_PLEASE_TOKEN_CV_SITE_NUXT` carries the `write:issue` * That `RELEASE_PLEASE_TOKEN_CV_SITE_NUXT` carries the `write:issue`
scope the same way `PR_GITEA_TOKEN` needed it; the previous failure scope the same way `PR_GITEA_TOKEN` needed it; the previous failure
was an immediate API rejection consistent with a scope problem. was an immediate API rejection consistent with a scope problem.
* That the release phase tags correctly once the label is present. The
label path is now fixed at the source; the first recovery run proves it.
# Revisit when # Revisit when
@@ -62,3 +103,6 @@ feeds this machine is enforced locally by the commitizen pre-commit hook.
`include-component-in-tag` and `separate-pull-requests` matter). `include-component-in-tag` and `separate-pull-requests` matter).
* A release must trigger a deploy — the workflow gains a step after * A release must trigger a deploy — the workflow gains a step after
`release_created` is set. `release_created` is set.
* The label step breaks: if Gitea ever starts rejecting unknown label
names, the `Ensure release-please labels exist` step will fail loudly
instead of silently, which is the point.
+3 -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.
@@ -22,6 +23,7 @@ config files — the configs say what, these documents say why.
* [Vulnerability audit policy](decisions/vulnerability-audit-policy.md) - Blocking audit; reviewed ignore-list for unfixable advisories in pnpm-workspace.yaml. * [Vulnerability audit policy](decisions/vulnerability-audit-policy.md) - Blocking audit; reviewed ignore-list for unfixable advisories in pnpm-workspace.yaml.
* [Release engineering](decisions/release-engineering.md) - release-please in manifest mode; conventional commits enforced at commit time. * [Release engineering](decisions/release-engineering.md) - release-please in manifest mode; conventional commits enforced at commit time.
* [Snyk paused and secrets policy](decisions/snyk-paused-and-secrets-policy.md) - Quota-paused job kept in place; `write:issue` scope required on every workflow token. * [Snyk paused and secrets policy](decisions/snyk-paused-and-secrets-policy.md) - Quota-paused job kept in place; `write:issue` scope required on every workflow token.
* [Publishing images to the own registry](decisions/registry-publishing.md) - A release tag builds the image and pushes it to registry.noelsabia.dev; the runner socket it needs is root-equivalent and belongs on a separate label.
## Docker and development environment ## Docker and development environment
+17
View File
@@ -1,5 +1,22 @@
# Update Log # Update Log
## 2026-10-24 (release-please never tagged: the missing labels)
* **Fix**: [release-please.yml](../.gitea/workflows/release-please.yml) - the workflow now creates `autorelease: pending` and `autorelease: tagged` before the action runs, and gained `workflow_dispatch` so a missed release can be replayed. Root cause: release-please finds merged release PRs **by label**, and Gitea resolves label names with `GetLabelIDsInRepoByNames`, a SQL `IN` filter that silently drops unknown names. The repository had no labels at all, so PRs #20 and #21 were merged unlabeled, every run found zero merged release PRs, created zero tags and opened the next release PR instead - reporting success each time. Evidence: run 137 green, 0 tags, 0 releases, `labels: []` on #20/#21/#22, and the repo's label list empty. See [Release engineering](decisions/release-engineering.md).
## 2026-10-24 (release publishes an image)
* **Creation**: [publish-image.yml](../.gitea/workflows/publish-image.yml) - a `vX.Y.Z` tag push builds `Dockerfile` on the arm64 runner and pushes `registry.noelsabia.dev/cv_website/nuxt` as the version and `sha-<12>`, plus `latest` when that tag is the newest release. Main pushes deliberately do not build: the registry holds releases, not commits. The job uses the runner's own Docker daemon (client only in the `node:22-bookworm` container), so the act_runner needs `container.docker_host: automount`; the first step fails with that cause if it is missing. That socket is root-equivalent, so it may only sit on a label PR jobs cannot use - recorded under the trust boundary in [Publishing images to the own registry](decisions/registry-publishing.md). Repo secrets: `REGISTRY_USERNAME`, `REGISTRY_PASSWORD`.
* **Review follow-up** (PR #19, 1 BLOCKER + 4 WARN + 2 NIT): applied the strict `vMAJOR.MINOR.PATCH` check, the newest-release rule for `latest`, a smoke test that starts the image and requires 2xx on `/`, and `timeout-minutes: 20`. Rejected with evidence: the `.dockerignore` leak (`.env*`, `*.pem`, `.git` are excluded) and the Docker-client/daemon API mismatch (20.10.24 client against a 29.9.2 daemon built successfully over the socket).
* **Second review follow-up** (PR #19): the job now runs on the dedicated `publish` label instead of `ubuntu-latest`, so the host socket it needs can never be shared with PR jobs - the earlier version required a runner configuration its own trust boundary forbade. Added the immutability guard (registry v2 `manifests/<version>`: `200` aborts, `404` continues) after measuring that `docker manifest inspect` fails on OCI indexes with the pinned 20.10 client; the smoke test now also requires a rendered body (10 kB floor) rather than a bare 2xx. `.github/actionlint.yaml` declares the custom label, and the hook passes it with `-config-file` because this repo keeps workflows in `.gitea/`.
## 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) ## 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`. * **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). * **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
@@ -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 -6
View File
@@ -4,27 +4,26 @@
class="fixed bottom-0 left-0 w-full z-50 flex md:hidden bg-surface-container-low/90 backdrop-blur-xl shadow-[0_-1px_12px_rgba(0,0,0,0.3)]" class="fixed bottom-0 left-0 w-full z-50 flex md:hidden bg-surface-container-low/90 backdrop-blur-xl shadow-[0_-1px_12px_rgba(0,0,0,0.3)]"
> >
<div class="w-full h-16 px-space-xs flex items-center justify-around"> <div class="w-full h-16 px-space-xs flex items-center justify-around">
<NuxtLink <NuxtLinkLocale
to="/" to="/"
aria-current="page"
class="w-16 h-12 flex flex-col items-center justify-center text-primary font-semibold transition-colors" class="w-16 h-12 flex flex-col items-center justify-center text-primary font-semibold transition-colors"
> >
<Icon name="material-symbols:badge" aria-hidden="true" class="text-[22px]" /> <Icon name="material-symbols:badge" aria-hidden="true" class="text-[22px]" />
<span class="font-label-mono text-label-mono">Overview</span> <span class="font-label-mono text-label-mono">{{ $t('nav.overview') }}</span>
</NuxtLink> </NuxtLinkLocale>
<a <a
href="#" href="#"
class="w-16 h-12 flex flex-col items-center justify-center text-on-surface-variant hover:text-primary transition-colors" class="w-16 h-12 flex flex-col items-center justify-center text-on-surface-variant hover:text-primary transition-colors"
> >
<Icon name="material-symbols:timeline" aria-hidden="true" class="text-[22px]" /> <Icon name="material-symbols:timeline" aria-hidden="true" class="text-[22px]" />
<span class="font-label-mono text-label-mono">Life Map</span> <span class="font-label-mono text-label-mono">{{ $t('nav.lifeMap') }}</span>
</a> </a>
<a <a
href="#" href="#"
class="w-16 h-12 flex flex-col items-center justify-center text-on-surface-variant hover:text-primary transition-colors" class="w-16 h-12 flex flex-col items-center justify-center text-on-surface-variant hover:text-primary transition-colors"
> >
<Icon name="material-symbols:code" aria-hidden="true" class="text-[22px]" /> <Icon name="material-symbols:code" aria-hidden="true" class="text-[22px]" />
<span class="font-label-mono text-label-mono">Dev View</span> <span class="font-label-mono text-label-mono">{{ $t('nav.devView') }}</span>
</a> </a>
</div> </div>
</nav> </nav>
+33
View File
@@ -0,0 +1,33 @@
<script setup lang="ts">
defineProps<{ code: 'en' | 'de' | 'es' | 'it' | 'pl' }>()
</script>
<template>
<svg v-if="code === 'en'" viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
<rect width="24" height="16" fill="#012169" />
<path d="M0 0 24 16 M24 0 0 16" stroke="#fff" stroke-width="3.2" />
<path d="M0 0 24 16 M24 0 0 16" stroke="#c8102e" stroke-width="1.6" />
<rect x="10.4" width="3.2" height="16" fill="#fff" />
<rect y="6.4" width="24" height="3.2" fill="#fff" />
<rect x="11" width="2" height="16" fill="#c8102e" />
<rect y="7" width="24" height="2" fill="#c8102e" />
</svg>
<svg v-else-if="code === 'de'" viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
<rect width="24" height="5.334" fill="#000" />
<rect y="5.334" width="24" height="5.333" fill="#dd0000" />
<rect y="10.667" width="24" height="5.333" fill="#ffce00" />
</svg>
<svg v-else-if="code === 'es'" viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
<rect width="24" height="16" fill="#aa151b" />
<rect y="4" width="24" height="8" fill="#f1bf00" />
</svg>
<svg v-else-if="code === 'it'" viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
<rect width="8" height="16" fill="#008c45" />
<rect x="8" width="8" height="16" fill="#f4f5f0" />
<rect x="16" width="8" height="16" fill="#cd212a" />
</svg>
<svg v-else viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
<rect width="24" height="8" fill="#fff" />
<rect y="8" width="24" height="8" fill="#dc143c" />
</svg>
</template>
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="max-w-7xl mx-auto px-6 lg:px-12 flex flex-col sm:flex-row items-center justify-between gap-4"> <div class="max-w-7xl mx-auto px-6 lg:px-12 flex flex-col sm:flex-row items-center justify-between gap-4">
<div class="flex items-center gap-2.5 font-label-mono text-label-mono text-on-surface-variant"> <div class="flex items-center gap-2.5 font-label-mono text-label-mono text-on-surface-variant">
<span class="inline-block w-2 h-2 rounded-full bg-secondary shadow-[0_0_6px_#4ae176]" /> <span class="inline-block w-2 h-2 rounded-full bg-secondary shadow-[0_0_6px_#4ae176]" />
<span>Served from my own server · k8s · Terraform · self-healing on purpose</span> <span>{{ $t('footer.servedFrom') }}</span>
</div> </div>
<div class="flex items-center gap-3 font-status-badge text-status-badge text-outline"> <div class="flex items-center gap-3 font-status-badge text-status-badge text-outline">
<a <a
+5 -1
View File
@@ -3,7 +3,11 @@
<div class="h-16 max-w-7xl mx-auto px-6 lg:px-12 flex items-center justify-between gap-6"> <div class="h-16 max-w-7xl mx-auto px-6 lg:px-12 flex items-center justify-between gap-6">
<AppLogo /> <AppLogo />
<AppNav /> <AppNav />
<AppQuickLinks /> <div class="flex items-center gap-4">
<AppQuickLinks />
<span class="hidden sm:inline text-[0.625rem] text-outline-variant" aria-hidden="true">/</span>
<AppLanguageSwitcher />
</div>
</div> </div>
</header> </header>
</template> </template>
+84
View File
@@ -0,0 +1,84 @@
<script setup lang="ts">
const { locales, locale, setLocale, t } = useI18n()
const open = ref(false)
const root = ref<HTMLElement | null>(null)
const trigger = ref<HTMLButtonElement | null>(null)
const menuId = useId()
// The accessible name has to contain the visible text (WCAG 2.5.3).
const triggerLabel = computed(() => `${t('switcher.label')}: ${locale.value.toUpperCase()}`)
function closeOnOutside(event: MouseEvent) {
if (!root.value?.contains(event.target as Node)) {
open.value = false
}
}
function closeOnEscape(event: KeyboardEvent) {
if (event.key === 'Escape' && open.value) {
open.value = false
// Focus would otherwise stay on a list item that just left the DOM.
trigger.value?.focus()
}
}
onMounted(() => {
document.addEventListener('click', closeOnOutside)
document.addEventListener('keydown', closeOnEscape)
})
onBeforeUnmount(() => {
document.removeEventListener('click', closeOnOutside)
document.removeEventListener('keydown', closeOnEscape)
})
async function choose(code: Parameters<typeof setLocale>[0]) {
open.value = false
await setLocale(code)
}
</script>
<template>
<div ref="root" class="relative flex shrink-0 items-center font-label-mono text-label-mono">
<button
ref="trigger"
type="button"
class="flex items-center gap-1.5 uppercase tracking-wider text-on-surface-variant transition-colors hover:text-on-surface"
:aria-expanded="open"
:aria-controls="menuId"
:aria-label="triggerLabel"
@click="open = !open"
>
<span class="h-3.5 w-5 overflow-hidden rounded-[2px]">
<AppFlag :code="locale" />
</span>
<span>{{ locale }}</span>
<span aria-hidden="true" class="text-[0.625rem] text-on-surface-variant">▼</span>
</button>
<ul
v-if="open"
:id="menuId"
class="absolute right-0 top-full z-10 mt-2 min-w-48 rounded-lg border border-outline-variant/30 bg-surface-container-high p-1 shadow-lg"
>
<li v-for="language in locales" :key="language.code">
<button
type="button"
class="flex w-full items-center gap-3 rounded px-3 py-2 text-left transition-colors"
:class="locale === language.code
? 'bg-surface-variant text-on-surface'
: 'text-on-surface-variant hover:bg-surface-variant hover:text-on-surface'"
:aria-current="locale === language.code ? 'true' : undefined"
@click="choose(language.code)"
>
<span class="h-3.5 w-5 shrink-0 overflow-hidden rounded-[2px]">
<AppFlag :code="language.code" />
</span>
<span class="flex-1">{{ language.name }}</span>
<span class="uppercase tracking-wider">{{ language.code }}</span>
</button>
</li>
</ul>
</div>
</template>
+2 -2
View File
@@ -9,7 +9,7 @@ const flat = AVATAR_SPRITE
</script> </script>
<template> <template>
<NuxtLink to="/" class="group flex items-center gap-3"> <NuxtLinkLocale to="/" class="group flex items-center gap-3">
<span class="flex items-center justify-center w-8 h-8 rounded bg-surface-container-high transition-colors"> <span class="flex items-center justify-center w-8 h-8 rounded bg-surface-container-high transition-colors">
<span class="pixel-avatar" aria-hidden="true"> <span class="pixel-avatar" aria-hidden="true">
<span <span
@@ -24,7 +24,7 @@ const flat = AVATAR_SPRITE
<span class="font-headline-sm text-headline-sm tracking-tight text-on-surface font-medium">Noel Sabia</span> <span class="font-headline-sm text-headline-sm tracking-tight text-on-surface font-medium">Noel Sabia</span>
<span class="font-label-mono text-label-mono text-on-surface-variant tracking-wider uppercase text-[0.625rem]">Im using Arch btw</span> <span class="font-label-mono text-label-mono text-on-surface-variant tracking-wider uppercase text-[0.625rem]">Im using Arch btw</span>
</div> </div>
</NuxtLink> </NuxtLinkLocale>
</template> </template>
<style scoped> <style scoped>
+6 -7
View File
@@ -1,23 +1,22 @@
<template> <template>
<nav class="hidden md:flex items-center gap-1.5"> <nav class="hidden lg:flex items-center gap-1.5">
<NuxtLink <NuxtLinkLocale
to="/" to="/"
aria-current="page"
class="px-3 py-1.5 transition-colors bg-primary-container text-on-primary-container font-medium rounded font-body-sm text-body-sm" class="px-3 py-1.5 transition-colors bg-primary-container text-on-primary-container font-medium rounded font-body-sm text-body-sm"
> >
Overview {{ $t('nav.overview') }}
</NuxtLink> </NuxtLinkLocale>
<a <a
href="#" href="#"
class="px-3 py-1.5 text-on-surface-variant hover:text-on-surface hover:bg-surface-container-high transition-colors font-body-sm text-body-sm" class="px-3 py-1.5 text-on-surface-variant hover:text-on-surface hover:bg-surface-container-high transition-colors font-body-sm text-body-sm"
> >
Life Map {{ $t('nav.lifeMap') }}
</a> </a>
<a <a
href="#" href="#"
class="px-3 py-1.5 text-on-surface-variant hover:text-on-surface hover:bg-surface-container-high transition-colors font-body-sm text-body-sm" class="px-3 py-1.5 text-on-surface-variant hover:text-on-surface hover:bg-surface-container-high transition-colors font-body-sm text-body-sm"
> >
Dev View {{ $t('nav.devView') }}
</a> </a>
</nav> </nav>
</template> </template>
+2 -2
View File
@@ -1,8 +1,8 @@
<template> <template>
<div class="hidden sm:flex items-center gap-4 text-on-surface-variant font-label-mono text-label-mono"> <div class="hidden sm:flex items-center gap-4 text-on-surface-variant font-label-mono text-label-mono">
<a href="#" class="hover:text-on-surface transition-colors">PDF CV</a> <a href="#" class="hover:text-on-surface transition-colors">{{ $t('quickLinks.pdfCv') }}</a>
<span class="text-outline-variant text-[0.625rem]">/</span> <span class="text-outline-variant text-[0.625rem]">/</span>
<a href="#" class="hover:text-on-surface transition-colors">Contact</a> <a href="#" class="hover:text-on-surface transition-colors">{{ $t('quickLinks.contact') }}</a>
<span class="text-outline-variant text-[0.625rem]">/</span> <span class="text-outline-variant text-[0.625rem]">/</span>
<a href="https://github.com/NoelSabia" rel="noopener noreferrer" target="_blank" class="hover:text-on-surface transition-colors">GitHub</a> <a href="https://github.com/NoelSabia" rel="noopener noreferrer" target="_blank" class="hover:text-on-surface transition-colors">GitHub</a>
</div> </div>
+47
View File
@@ -0,0 +1,47 @@
<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
@@ -0,0 +1,23 @@
<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
@@ -0,0 +1,70 @@
<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
@@ -0,0 +1,18 @@
<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
@@ -0,0 +1,34 @@
<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
@@ -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_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
@@ -0,0 +1,62 @@
<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
@@ -0,0 +1,27 @@
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' } },
]
+18 -1
View File
@@ -1,5 +1,6 @@
<script setup lang="ts"> <script setup lang="ts">
import { SITE } from '~~/site.config.mjs' 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 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. // the page title adds the role so search results are not just a name.
@@ -12,5 +13,21 @@ useHead({ titleTemplate: '%s' })
</script> </script>
<template> <template>
<div /> <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>
</template> </template>
+17
View File
@@ -0,0 +1,17 @@
{
"nav": {
"overview": "Übersicht",
"lifeMap": "Lebenskarte",
"devView": "Dev-Ansicht"
},
"quickLinks": {
"pdfCv": "Lebenslauf (PDF)",
"contact": "Kontakt"
},
"footer": {
"servedFrom": "Betrieben auf meinem eigenen Server · k8s · Terraform"
},
"switcher": {
"label": "Sprache"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"nav": {
"overview": "Overview",
"lifeMap": "Life Map",
"devView": "Dev View"
},
"quickLinks": {
"pdfCv": "PDF CV",
"contact": "Contact"
},
"footer": {
"servedFrom": "Served from my own server · k8s · Terraform"
},
"switcher": {
"label": "Language"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"nav": {
"overview": "Resumen",
"lifeMap": "Mapa de vida",
"devView": "Vista dev"
},
"quickLinks": {
"pdfCv": "CV en PDF",
"contact": "Contacto"
},
"footer": {
"servedFrom": "Servido desde mi propio servidor · k8s · Terraform"
},
"switcher": {
"label": "Idioma"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"nav": {
"overview": "Panoramica",
"lifeMap": "Mappa della vita",
"devView": "Vista dev"
},
"quickLinks": {
"pdfCv": "CV in PDF",
"contact": "Contatti"
},
"footer": {
"servedFrom": "Servito dal mio server · k8s · Terraform"
},
"switcher": {
"label": "Lingua"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"nav": {
"overview": "Przegląd",
"lifeMap": "Mapa życia",
"devView": "Widok dev"
},
"quickLinks": {
"pdfCv": "CV w PDF",
"contact": "Kontakt"
},
"footer": {
"servedFrom": "Hostowane na moim serwerze · k8s · Terraform"
},
"switcher": {
"label": "Język"
}
}
+13 -1
View File
@@ -4,7 +4,7 @@ import { SITE } from './site.config.mjs'
export default defineNuxtConfig({ export default defineNuxtConfig({
compatibilityDate: '2025-07-15', compatibilityDate: '2025-07-15',
devtools: { enabled: true }, devtools: { enabled: true },
modules: ['@nuxt/eslint', '@nuxtjs/tailwindcss', '@nuxt/icon/module', '@nuxtjs/seo'], modules: ['@nuxt/eslint', '@nuxtjs/tailwindcss', '@nuxt/icon/module', '@nuxtjs/seo', '@nuxtjs/i18n'],
// Shared by sitemap, robots, canonical URLs, Open Graph and schema.org. // Shared by sitemap, robots, canonical URLs, Open Graph and schema.org.
site: { site: {
url: SITE.url, url: SITE.url,
@@ -55,5 +55,17 @@ export default defineNuxtConfig({
}, },
tailwindcss: { tailwindcss: {
cssPath: '~/assets/css/main.css' cssPath: '~/assets/css/main.css'
},
i18n: {
// Absolute URLs for hreflang and the per-locale sitemaps.
baseUrl: SITE.url,
defaultLocale: 'en',
locales: [
{ code: 'en', language: 'en', name: 'English', file: 'en.json' },
{ code: 'de', language: 'de', name: 'Deutsch', file: 'de.json' },
{ code: 'es', language: 'es', name: 'Español', file: 'es.json' },
{ code: 'it', language: 'it', name: 'Italiano', file: 'it.json' },
{ code: 'pl', language: 'pl', name: 'Polski', file: 'pl.json' }
]
} }
}) })
+2 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "nuxt-app", "name": "nuxt-app",
"version": "1.0.0", "version": "1.4.0",
"type": "module", "type": "module",
"private": true, "private": true,
"engines": { "engines": {
@@ -21,6 +21,7 @@
"dependencies": { "dependencies": {
"@iconify-json/material-symbols": "^1.2.95", "@iconify-json/material-symbols": "^1.2.95",
"@nuxt/icon": "2.6.0", "@nuxt/icon": "2.6.0",
"@nuxtjs/i18n": "10.6.0",
"@nuxtjs/seo": "6.0.1", "@nuxtjs/seo": "6.0.1",
"@nuxtjs/tailwindcss": "6.14.0", "@nuxtjs/tailwindcss": "6.14.0",
"nuxt": "^4.6.2", "nuxt": "^4.6.2",
+1142
View File
File diff suppressed because it is too large. Load diff