The Writing page (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/developer-exe/llms.txt
Use this file to discover all available pages before exploring further.
/writing) reframes a blog post listing as a military-style mission dossier board. The headline MISSION BRIEFINGS appears in GlitchText. A row of pill-shaped filter tabs lets visitors narrow posts by category. When the ALL filter is active, a pinned featured post appears at the top — PINNED MISSION — before the standard card grid. Each post is styled differently according to its category type, giving each article its own material metaphor: a terminal printout, a polaroid photograph, a floppy disk label, or a parchment quest scroll.
Filter Tab System
Five filter tabs are defined as an array:activeFilter) which filters the post array via Array.filter(post => post.type === activeFilter). Selecting ALL skips the filter and also unmasks the pinned post.
Pinned Post
The pinned/featured post is rendered outside the standard grid, visible only whenactiveFilter === "ALL". It displays a pulsing PINNED MISSION badge. The card uses a two-column flex layout with:
- A thumbnail panel: a blurred background image with a Cpu icon centred
- A copy panel with the title, excerpt, and
READ MANUAL →button
- Title: The Architecture of Fun
- Excerpt: Why enterprise software needs to steal more ideas from video games to improve user retention and reduce burnout.
- CTA: READ MANUAL →
Post Card Data
The four non-pinned posts in the source are:| ID | Title | Type | Date |
|---|---|---|---|
| 1 | Why I Stopped Centering Divs and Started Living | Reflections | 2026-04-12 |
| 2 | CRITICAL ERROR: State Management in 2026 | Bug Reports | 2026-03-28 |
| 3 | Building the Glitch Arcade | Technical Manuals | 2026-05-15 |
| 4 | Understanding WebGL for Mortals | Translated Briefings | 2026-02-10 |
Card Style Variants
A helper function returns a class string based on thestyle field. All variants share a base of padding, flex column layout, full height, and a hover lift transition:
terminal
Dark background with neon-green border and text in the HUD font. Green glow shadow applied. Used for: Bug Reports — evokes a command-line crash log.
polaroid
White background, black text, extra bottom padding, and a slight clockwise tilt that straightens on hover. Used for: Reflections — evokes a personal snapshot.
floppy
Dark blue background with a thick grey top border and white text. Used for: Technical Manuals — evokes a 3.5″ floppy disk label.
quest
Dark parchment background with a gold border and aged-paper text colour in a serif font. Used for: Translated Briefings — evokes a fantasy quest scroll.
Card Anatomy
Each post card is amotion.div that enters at opacity: 0, y: 20 and animates to opacity: 1, y: 0 with a stagger delay of index * 0.1s. Inside each card:
- Header row — a category icon chip and the date string right-aligned
- Title — in the pixel font
- Excerpt — body text at reduced opacity
- Footer row — category label left and an arrow right that translates on group hover
Customisation
Add a new post
Append an object to the posts array with
id, title, type (must match a filter string), date, excerpt, and style (one of terminal/polaroid/floppy/quest).Add a new category
Add the category string to the
filters array and set the type field on any posts that belong to it. The filter button is auto-generated from the array.Add a new card style
Add a new
case to the getCardStyle switch statement returning your desired class string. Set style to that new key on any posts that should use it.The Writing page does not currently implement pagination or external MDX loading. All post content is defined inline in the posts array. Connecting to a CMS or MDX file system would require replacing the array with a data-fetch call and routing to individual post pages.