The Projects page (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/webmaster/llms.txt
Use this file to discover all available pages before exploring further.
/projects) presents four portfolio pieces as classic 88×31 pixel web badges. Each badge acts as a hover trigger: mousing over it expands a detail card beneath it that shows the project title, a blinking NEW! badge, a short description, a terminal-styled tech-stack block, and a “CLICK HERE TO ENTER SITE” bevel button. On mouse-out the card collapses back. The page is built around a 2-column responsive grid powered by a single ne data array.
Route
| Path | Component function |
|---|---|
/projects | oe() in assets/main.js |
Projects Data Array
All four projects are defined in thene constant immediately above oe():
color value is passed directly to Button88x31 as the badge background colour (hex strings using classic web-safe palette values).
Hover Interaction
The active project ID is stored inuseState(null). onMouseEnter sets it to the project’s id; onMouseLeave resets it to null:
s === t.id:
Badge Component
Each badge is rendered via<Button88x31 title={t.title} color={t.color} /> from components/Button88x31.js. The badge is centred with flex justify-center mb-2.
Detail Card Anatomy
When a badge is hovered, the expanded card renders insidebevel-container-inset bg-white p-4 retro-dotted:
Header Row
Project title in
text-2xl font-bold text-hotpink font-comic, plus a bg-yellow-300 font-pixel animate-bob NEW! badge aligned to the right.Description
Short description in
font-comic text-sm mb-4 h-16. Fixed height keeps all cards the same size regardless of description length.Tech Stack Block
bg-black text-green-400 font-pixel text-xs p-2 terminal-style div prefixed with "TECH: ".CTA Button
<a> tag styled as a bevel-button, full-width, hover:bg-turquoise hover:text-white transition, text: “CLICK HERE TO ENTER SITE”.Grid Layout
Projects are arranged in a 2-column grid onmd: screens and stacked on mobile:
Footer
Afont-pixel text-sm text-gray-600 centred line appears below the grid:
Customisation Guide
The page title
~ My Stuff ~ is an h2 in text-5xl text-center text-turquoise font-bold drop-shadow-[2px_2px_0_#FFF]. Update the string directly inside oe() to rename the section.