feat: index.vue #18

Merged
Noel merged 5 commits from feat/index.vue into main 2026-10-23 21:10:18 +00:00
5 changed files with 14 additions and 14 deletions
Showing only changes of commit 47f4e64f24 - Show all commits

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>
+4 -4
View File
@@ -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>
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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">
&ldquo;Falling down is human. Getting up is the standard I hold myself to.&rdquo;
</p>