The Work page (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/cosmic-developer/llms.txt
Use this file to discover all available pages before exploring further.
/work) reframes a developer’s career history as a series of recorded flight missions. Rendered under the section heading “Mission Log”, it presents three chronological work entries along a timeline, complete with year badges, role descriptions, and thematic status indicators. The page introduces itself with a TeletypeText prompt and rewards patient scrollers with staggered whileInView entrance animations on every card.
Layout Overview
The page uses aPageTransition wrapper and is divided into two major sections:
Header
- A
TeletypeTextcomponent types out"Accessing flight logs..."inaurora-violetmono font - An H1 reads “Mission Log” with
"Log"highlighted intext-aurora-violet
| Viewport | Layout |
|---|---|
Desktop (md:) | Horizontal flex row. A full-width h-0.5 line in star-dim/20 runs through the vertical midpoint. Cards alternate above and below using negative top-margin offsets. |
| Mobile | Vertical flex column. Cards stack naturally, no alternating offset. |
motion.div with initial={{ opacity: 0, y: 50 }} and whileInView={{ opacity: 1, y: 0 }} (once). A small w-4 h-4 circle marker with border-aurora-violet sits at the timeline midpoint for each card. On hover, the marker scales up 1.5× via group-hover:scale-150.
Even-indexed entries (0, 2…) are positioned above the line with md:-mt-48; odd-indexed entries (1, 3…) are positioned below with md:mt-48.
Work History Data
The timeline is driven by theworkHistory array defined in vt (the Work page component):
Entry Card Anatomy
Eachglass-panel card contains:
| Element | Details |
|---|---|
| Year badge | font-mono text-aurora-violet text-xl font-bold |
| Status badge | font-mono text-xs bg-cosmic-navy rounded-full — icon + label |
| Role | text-xl font-heading font-bold text-star-white |
| Company | text-star-dim subtitle |
| Description | text-sm text-star-dim/80 leading-relaxed |
Status Badges
The status badge branches on the entry’sstatus value:
| Status | Icon | Color |
|---|---|---|
Active Orbit | Radio (Lucide) — pulsing via animate-pulse | text-aurora-teal |
Mission Complete | MapPin (Lucide) | text-star-dim |
The
Radio icon for the Active Orbit badge animates with a continuous pulse via the animate-pulse Tailwind utility class, reinforcing the idea that this is a live, ongoing engagement.Animation Details
Each card uses Framer Motion’swhileInView to create a staggered reveal as the user scrolls:
- Entry 0 (2024): delay
0s - Entry 1 (2021): delay
0.2s - Entry 2 (2019): delay
0.4s
viewport={{ once: true }} means the animation fires only the first time each card enters the viewport, preventing re-triggering on scroll-back.
Customization
Adding a new role — append an object toworkHistory:
TeletypeText, and the dot markers is aurora-violet. To switch to teal, replace every instance of aurora-violet in the vt component.
Adjusting vertical card offset — the md:-mt-48 / md:mt-48 values control how far above or below the line each alternating card appears. Increase the value to widen the gap.