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
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:
1 parent
9a4d79a050
commit
47f4e64f24
5 files changed
+14
-14
No files matched your search
@@ -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>
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
<template>
|
||||
<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
|
||||
icon="mail"
|
||||
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
|
||||
icon="link"
|
||||
value="LinkedIn"
|
||||
href="https://www.linkedin.com/in/noel-sabia-9738a4339/"
|
||||
class="flex-initial"
|
||||
class="min-w-0"
|
||||
/>
|
||||
<HomeContactItem
|
||||
icon="near_me"
|
||||
value="Heilbronn, Germany"
|
||||
class="flex-initial"
|
||||
class="min-w-0"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -51,7 +51,7 @@ onBeforeUnmount(() => clearTimeout(resetTimer))
|
||||
class="truncate font-body-sm text-body-sm text-on-surface"
|
||||
:class="copyValue && !isLink ? 'select-all' : ''"
|
||||
>{{ value }}</span>
|
||||
<span v-else class="whitespace-nowrap text-on-surface">{{ value }}</span>
|
||||
<span v-else class="truncate text-on-surface">{{ value }}</span>
|
||||
</div>
|
||||
<button
|
||||
v-if="copyValue && !isLink"
|
||||
|
||||
@@ -16,7 +16,7 @@ const features = [
|
||||
icon: 'handshake',
|
||||
iconClass: 'text-tertiary',
|
||||
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>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
System Architect <span class="mx-1.5 text-outline-variant">·</span> Programmer
|
||||
</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">
|
||||
“Falling down is human. Getting up is the standard I hold myself to.”
|
||||
</p>
|
||||
|
||||
|
||||
Reference in new issue
Block a user