The Work page visualises employment history through a deliberate physical metaphor: candles. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/spell-index/llms.txt
Use this file to discover all available pages before exploring further.
CandleTimeline component renders each role as a wax candle standing on a flat baseline, with the candle’s height scaled directly to the number of years spent in that position. Longer tenures produce taller candles. Every candle has an animated flame — a looping Framer Motion sequence of scale, rotation, and opacity that mimics a real flicker. The layout is a horizontal flex row on desktop and a vertical stack on mobile.
Route
| Nav label | Plain label | Path |
|---|---|---|
| Day Job Spells | Work | /work |
Page header
- Heading (h1):
Day Job Spells— Cinzel typeface, amber - Subheading:
A history written in melting wax— teal, spaced uppercase
CandleTimeline component enters the view on scroll (whileInView) with a y: 50 → 0 + opacity fade, staggered per candle at delay: index × 0.3 s.
Work history
The three positions are defined as a static data array insideCandleTimeline.js. Each entry includes a durationYears value that controls the candle height (Math.max(100, Math.min(250, durationYears × 60)) px).
Senior Alchemist (Frontend) — Mystic Tech Ltd
Period: 2021 – PresentDuration: 3 years → candle height: 180 pxLeading a coven of developers in building a next-generation spellcasting platform (SaaS dashboard). Reduced load times by 40%.
Web Sorcerer — Ethereal Agency
Period: 2018 – 2021Duration: 3 years → candle height: 180 pxCrafted bespoke digital experiences for high-profile clients. Mastered the dark arts of CSS animations and WebGL.
Candle height formula
The candle height is clamped to a range of 100 px – 250 px using the following formula from the source:| Role | durationYears | Calculated height |
|---|---|---|
| Senior Alchemist | 3 | 180 px |
| Web Sorcerer | 3 | 180 px |
| Junior Code Weaver | 2 | 120 px |
Candle anatomy
Each candle is built from layered DOM elements:Visual baseline
A gradient line runs the full width at the bottom of the candle group, fading in from transparent on both ends throughink at the centre — representing the surface all candles stand on.