The Writing page brings the developer’s blog posts and articles to life as a shelf of vintage instruction manuals. Each article is styled as a physical booklet — a light lavender paper background, monospace chapter numbering, a color-coded type badge (REFLECTION, TECHNICAL, or BUG REPORT), a title, excerpt, and publication date. Hovering over a manual triggers a Framer Motion animation that lifts the card upward and applies a slight rotation, mimicking picking a book off a shelf. All article data is sourced from theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/dev-mode-arcade/llms.txt
Use this file to discover all available pages before exploring further.
articles array in data/mockData.js.
Route
| Property | Value |
|---|---|
| Path | /writing |
| File (compiled) | assets/main.js — WritingPage component |
| Data export | articles (exported as a from mockData.js) |
| Theme colors | #e0d8e8 (card paper) · arcade-purple · arcade-lime |
| Screen title | INSTRUCTION MANUALS |
What It Displays
The page renders a grid of article cards. Each card represents one article and uses a light lavender paper texture (bg-[#e0d8e8]) to contrast with the dark arcade background. The grid is single-column on mobile and multi-column on wider viewports.
Article Card Anatomy
| Element | Description |
|---|---|
| Chapter number | CHAPTER XX in dim monospace at the top of the card |
| Type badge | Colored pill showing REFLECTION, TECHNICAL, or BUG REPORT |
| Title | Bold display text in dark ink against the paper background |
| Excerpt | Short preview paragraph in body text |
| Date | Publication date in Mon YYYY format, bottom-right of the card |
Current Articles
Three articles are included in the default dataset:| Chapter | Title | Type | Date |
|---|---|---|---|
| 01 | The State Management Dilemma | REFLECTION | Oct 2025 |
| 02 | CSS Grid: A Boss Guide | TECHNICAL | Aug 2025 |
| 03 | Memory Leak in Sector 7 | BUG REPORT | May 2025 |
Animations
Cards use Framer Motion’swhileHover to produce a shelf-lift effect. On hover, each card translates upward by 8 px and rotates slightly to 1 deg, then returns on mouse-leave.
The paper background color (
#e0d8e8) is applied as an inline Tailwind arbitrary value (bg-[#e0d8e8]). It is intentionally light to simulate aged paper and contrast with the dark arcade background behind the cards. Changing it to a dark color will break the ink-on-paper legibility of the card text.Data Schema
Each entry in thearticles array must conform to the following shape:
Field Reference
| Field | Type | Displayed As | Notes |
|---|---|---|---|
id | string | Not displayed | Used as React list key |
chapter | string | CHAPTER <value> heading | Zero-padded two-digit string, e.g. "01" |
title | string | Manual title text | Keep under 60 chars |
type | string | Type badge (colored pill) | Must match one of three valid values |
excerpt | string | Body preview text | 1–2 sentences recommended |
date | string | Bottom-right date | Use Mon YYYY format for consistency |
Type Badge Colors
| Badge Value | Color |
|---|---|
REFLECTION | arcade-purple |
TECHNICAL | arcade-lime |
BUG REPORT | arcade-magenta |
Customization
Adding a new article Append a new object to thearticles array in data/mockData.js. The type field controls the badge color.
type field to one of the three valid values: "REFLECTION", "TECHNICAL", or "BUG REPORT". The badge color updates automatically based on this value.
Chapter Numbering
Chapter numbers come directly from thechapter field on each data object — they are not derived from the array index. Each entry in mockData.js carries its own chapter string (e.g. "01", "02", "03"). When adding a new article, set the chapter field to the next sequential zero-padded number.
Sample Data
Related Pages
Case Studies
Long-form boss-fight replay format for deep project breakdowns.
Mock Data Reference
Full schema reference for all mockData.js exports including articles.
Animations
whileHover lift and rotate patterns used on the instruction manual cards.
Typography
Pixel and monospace font usage for chapter labels and type badges.