feat(ui): simplify terminal and contact bar on mobile
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 52s
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 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.
This commit is contained in:
Noel Sabia committed 2026-10-23 22:51:29 +02:00
1 parent 9a4d79a050
commit 47f4e64f24
5 files changed
+14 -14

No files matched your search

+7 -7
View File
@@ -13,34 +13,34 @@ const detail = computed(() => (isActive.value
<template>
<div
class="grid min-w-[760px] grid-cols-[10rem_7rem_8.5rem_7.5rem_8.5rem] items-center justify-between gap-4 rounded px-3 py-1.5 transition-colors hover:bg-surface-container-lowest"
class="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="whitespace-nowrap font-medium"
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-full rounded bg-surface-container-highest/80 px-1.5 py-0.5 text-center font-label-mono text-[0.625rem] uppercase tracking-wider text-on-surface-variant/80">
<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 font-semibold text-secondary"
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="font-medium text-outline">status=finished</span>
<span v-else class="justify-self-end font-medium text-outline lg:justify-self-start">status=finished</span>
<span
class="font-status-badge text-status-badge"
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="font-label-mono text-label-mono"
class="hidden font-label-mono text-label-mono lg:block"
:class="isActive ? 'text-tertiary' : 'text-primary-fixed-dim'"
>{{ detail.label }}={{ detail.value }}</span>
</div>