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> <template>
<div <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'" :class="isActive ? 'bg-surface-container-lowest/60' : 'bg-surface-container-lowest/40'"
> >
<span <span
class="whitespace-nowrap font-medium" class="hidden whitespace-nowrap font-medium lg:block"
:class="isActive ? 'text-primary-fixed-dim' : 'text-outline'" :class="isActive ? 'text-primary-fixed-dim' : 'text-outline'"
>chapter=<span :class="isActive ? 'text-on-surface' : 'text-on-surface-variant'">{{ chapter.name }}</span></span> >chapter=<span :class="isActive ? 'text-on-surface' : 'text-on-surface-variant'">{{ chapter.name }}</span></span>
<span class="w-full rounded bg-surface-container-highest/80 px-1.5 py-0.5 text-center font-label-mono text-[0.625rem] uppercase tracking-wider text-on-surface-variant/80"> <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 }} {{ chapter.context }}
</span> </span>
<span <span
v-if="isActive" 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" /> <span class="h-1.5 w-1.5 rounded-full bg-secondary" />
status=active status=active
</span> </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 <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'" :class="isActive ? 'text-on-surface-variant' : 'text-on-surface-variant/70'"
>uptime={{ chapter.uptime }}</span> >uptime={{ chapter.uptime }}</span>
<span <span
v-if="detail" 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'" :class="isActive ? 'text-tertiary' : 'text-primary-fixed-dim'"
>{{ detail.label }}={{ detail.value }}</span> >{{ detail.label }}={{ detail.value }}</span>
</div> </div>
+4 -4
View File
@@ -1,22 +1,22 @@
<template> <template>
<div class="mb-10 w-full max-w-3xl"> <div class="mb-10 w-full max-w-3xl">
<div class="flex flex-wrap items-center justify-between gap-2 rounded-xl bg-surface-container/90 p-2 font-label-mono text-label-mono text-on-surface shadow-md backdrop-blur-md sm:p-2.5"> <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 <HomeContactItem
icon="mail" icon="mail"
value="noel.sabia.05@gmail.com" value="noel.sabia.05@gmail.com"
copy-value="noel.sabia.05@gmail.com" copy-value="noel.sabia.05@gmail.com"
class="min-w-[220px] flex-1" class="col-span-2 min-w-0 sm:col-span-1 sm:min-w-[220px]"
/> />
<HomeContactItem <HomeContactItem
icon="link" icon="link"
value="LinkedIn" value="LinkedIn"
href="https://www.linkedin.com/in/noel-sabia-9738a4339/" href="https://www.linkedin.com/in/noel-sabia-9738a4339/"
class="flex-initial" class="min-w-0"
/> />
<HomeContactItem <HomeContactItem
icon="near_me" icon="near_me"
value="Heilbronn, Germany" value="Heilbronn, Germany"
class="flex-initial" class="min-w-0"
/> />
</div> </div>
</div> </div>
+1 -1
View File
@@ -51,7 +51,7 @@ onBeforeUnmount(() => clearTimeout(resetTimer))
class="truncate font-body-sm text-body-sm text-on-surface" class="truncate font-body-sm text-body-sm text-on-surface"
:class="copyValue && !isLink ? 'select-all' : ''" :class="copyValue && !isLink ? 'select-all' : ''"
>{{ value }}</span> >{{ value }}</span>
<span v-else class="whitespace-nowrap text-on-surface">{{ value }}</span> <span v-else class="truncate text-on-surface">{{ value }}</span>
</div> </div>
<button <button
v-if="copyValue && !isLink" v-if="copyValue && !isLink"
+1 -1
View File
@@ -16,7 +16,7 @@ const features = [
icon: 'handshake', icon: 'handshake',
iconClass: 'text-tertiary', iconClass: 'text-tertiary',
title: 'Helpful as a Feature', title: 'Helpful as a Feature',
description: 'Good systems and good teams get better when someone we pull each other up. I try to be that person.', description: 'Good systems and good teams get better when we pull each other up. I try to be that person.',
}, },
] ]
</script> </script>
+1 -1
View File
@@ -16,7 +16,7 @@
System Architect <span class="mx-1.5 text-outline-variant">·</span> Programmer System Architect <span class="mx-1.5 text-outline-variant">·</span> Programmer
</p> </p>
<p class="mx-auto mb-12 max-w-2xl font-headline-md text-headline-md italic leading-relaxed text-on-surface-variant"> <p class="mx-auto mb-12 max-w-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; &ldquo;Falling down is human. Getting up is the standard I hold myself to.&rdquo;
</p> </p>