From 38326cc7ec4d412f8d6278a7ac6255eb20754ee3 Mon Sep 17 00:00:00 2001 From: Tyler Koenig Date: Tue, 26 May 2026 17:39:19 -0400 Subject: [PATCH] refactor(content): slim homelab to highlight, trim redundant timeline entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Homelab: drop VLAN table, services list, and ADRs — full docs live in the homelab repo. Keep condensed at-a-glance stats, category counts, and Gitea link. Timeline: drop project entries (covered by Projects section), lerkolabs.com (duplicate of portfolio), and PC Build. 14 → 9 entries. Also: hide nav anchor links on mobile, drop Hero section anchors, update meta description, add print stylesheet. --- src/components/Hero.astro | 6 -- src/components/Nav.astro | 6 +- src/data/timeline.ts | 39 ---------- src/layouts/Base.astro | 2 +- src/pages/index.astro | 151 +++----------------------------------- src/styles/globals.css | 15 ++++ 6 files changed, 30 insertions(+), 189 deletions(-) diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 717d9d9c..6d057b4c 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -42,10 +42,4 @@ Email - - diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 20a57454..ffd99de1 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -3,9 +3,9 @@ Tyler Koenig
- projects - journey - homelab + + +
- +
{glanceStats.map(({ label, value }) => (
@@ -124,86 +58,23 @@ const adrs = [
- -
- - - - - - - - - - {vlans.map((v) => ( - - - - - - ))} - -
- Segment - - Name - - Purpose -
{v.id}{v.name}{v.purpose}
-
-
- -
+
{categoryOrder.map((cat) => { - const catServices = services.filter((s) => s.category === cat && !s.hidden); + const count = services.filter((s) => s.category === cat).length; return ( -
-

- {categoryLabels[cat]} -

-
    - {catServices.map((svc) => ( -
  • - {svc.name} - — {svc.description} -
  • - ))} -
-
+ + {categoryLabels[cat]} + ({count}) + ); })}
- -
- {adrs.map((adr) => ( -
-

{adr.title}

-

- Decision: {adr.decision} -

-

- Why: {adr.why} -

-
- ))} -
-
-
-

Docs

- VLAN maps, runbooks, service registry, config exports, and setup guides. + Full documentation — network maps, ADRs, runbooks, and service configs.

- gitea.lerkolabs.com/lerko/homelab + gitea.lerkolabs.com/lerko/homelab →
diff --git a/src/styles/globals.css b/src/styles/globals.css index 8e7c8bf6..a6790fba 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -94,6 +94,21 @@ button { outline-color 120ms linear; } +@media print { + html { + font-family: var(--font-serif); + font-size: 11pt; + line-height: 1.3; + color: #000; + background: #fff; + } + header, footer, button { display: none; } + a { color: inherit; text-decoration: underline; } + main { max-width: none; padding: 0; } + section, div, li { margin-bottom: 0.25em; padding-bottom: 0; } + h1, h2, h3 { margin-bottom: 0.15em; } +} + @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important;