From ff6bf4c3aeceeac7c838067a5ee94010597accb6 Mon Sep 17 00:00:00 2001 From: dylanbenzi Date: Sun, 1 Nov 2026 13:20:25 -0500 Subject: [PATCH] add runway to experience --- src/components/Timeline.astro | 2 +- src/pages/index.astro | 20 +++++------ src/styles/global.css | 64 +++++++++++++++++++++++++++++++++-- 3 files changed, 72 insertions(+), 14 deletions(-) diff --git a/src/components/Timeline.astro b/src/components/Timeline.astro index 9eca703..091cf62 100644 --- a/src/components/Timeline.astro +++ b/src/components/Timeline.astro @@ -12,7 +12,7 @@ var it = 0; it++; return (
-
{it.toString().padStart(2, "0")}
+
{it.toString().padStart(2, "0")}
  • {e.dates}
    diff --git a/src/pages/index.astro b/src/pages/index.astro index 2e044d9..a12e1d0 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -37,9 +37,7 @@ const projects = (await getCollection('projects')).sort((a, b) => a.data.order -
    -
    -
    RNG 1

    Projects

    -
    +
      {domains.map((d) =>
    • {d.label}
    • )}
    @@ -49,17 +47,17 @@ const projects = (await getCollection('projects')).sort((a, b) => a.data.order -
    -
    -
    -
    RNG 2

    Track history

    - -
    - -
    + + +
    + +
    + +
    - +
    diff --git a/src/styles/global.css b/src/styles/global.css index 142b840..7dcfbdc 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -469,12 +469,11 @@ h2 { min-width: 0; } .track { - margin: 0 0 0 6px; + margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; - gap: 20px; } .track li { position: relative; @@ -486,6 +485,67 @@ h2 { .track li.now { border-color: var(--line-2); } +.track .rwy { + position: relative; + flex-direction: column; + gap: 10px; + background: #151a17; + border-left: 2px solid var(--flap); + border-right: 2px solid var(--flap); + color: var(--flap); + line-height: 1; + letter-spacing: 0.04em; +} +.track > div:first-child .rwy::before, +.track > div:last-child .rwy::before { + content: ""; + position: absolute; + left: 50%; + transform: translateX(-50%); + width: 64px; + height: 20px; + background: repeating-linear-gradient( + 90deg, + var(--flap) 0 5px, + transparent 5px 10px + ); + z-index: 1; +} +.track > div:first-child .rwy::before { + top: 0; +} +.track > div:last-child .rwy::before { + bottom: 0; +} +.track .rwy::after { + content: ""; + position: absolute; + top: 0; + bottom: 0; + left: 50%; + width: 4px; + transform: translateX(-50%); + background: repeating-linear-gradient( + 180deg, + var(--flap) 0 24px, + transparent 24px 48px + ); +} +.track > div:first-child .rwy::after { + clip-path: inset(50% 0 0 0); +} +.track > div:last-child .rwy::after { + clip-path: inset(0 0 50% 0); +} +.track .rwy span { + position: relative; + z-index: 1; + padding: 8px 0; + background: #151a17; +} +.track > div:not(:last-child) > li { + margin-bottom: 20px; +} .track .dot { position: absolute; top: 20px;