The Work page lives atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/windows-98/llms.txt
Use this file to discover all available pages before exploring further.
/work and presents the portfolio owner’s professional history in a deliberately tactile way. The window interior uses a light off-white background with a subtle dot pattern, and work history entries are rendered as polaroid-style photo cards positioned at slight random rotations. Visitors can click and drag any card freely. Cards scale up on hover and snap back to their resting rotation when released. Decorative pixel-art star SVGs are scattered behind the cards to complete the scrapbook aesthetic.
Win98 Window configuration
| Property | Value |
|---|---|
| Window title | ~*~ Where I've Been ~*~ |
| Title bar icon | briefcase (Lucide), brown (#8B4513) |
| Width | 900 px |
| Height | 600 px |
| Interior background | Off-white bg-[#f4f4f0] with dot SVG pattern |
Card design
Each work entry is rendered as a white polaroid card. The card structure is:-2 degrees (even index) and +3 degrees (odd index) via the initial prop.
Drag behavior
Framer Motion’sdrag prop enables free-form card dragging. Each polaroid is wrapped in a motion.div with the following configuration:
dragMomentum={false} ensures cards stop exactly where the user releases them. whileHover scales the card up slightly and straightens it to rotate: 0 on hover, then raises it above siblings via zIndex: 10.
Card positions are not persisted between sessions. Every time the Work page is navigated to, cards reset to their original positions and rotations. This is intentional — the drag interaction is a visual flourish, not a persistent layout tool.
Decorative pixel stars
Two SVG pixel stars are rendered as absolutely-positioned elements behind the card layer. Both use a 4-pointed star path (M12 0L14.59 9.41L24 12L14.59 14.59L12 24L9.41 14.59L0 12L9.41 9.41L12 0Z):
- Top-left star: 24 × 24, fill
#ec4899(magenta),animate-pulse - Bottom-right star: 32 × 32, fill
#00cfd1(turquoise),animate-pulse, 0.5 s delay
Work history data
All work history entries are defined in thejd array inside the Work component in main.js. The array is hardcoded JSX-level data — there is no external data file.
Add a new role
Push a new object into the
jd array with company, role, years, desc, and color fields. Use a Tailwind background color class (e.g. bg-green-100) for color.Update an existing entry
Find the object in
jd and edit the fields directly. Changes take effect immediately on the next save.Related pages and components
Win98Window
Window chrome props — title bar text, icon, and fixed dimensions.
Testimonials
Another draggable-card page — sticky notes and forum posts about the portfolio.
Skills
Companion page listing the technical skills behind the work history.
Architecture Overview
How Framer Motion is integrated across draggable pages.