TomeCard renders a single writing entry as a card — showing the post title, excerpt, formatted publication date, and a channel/category badge. Cards lift slightly on hover with a neon-purple glow on the left border. The date and channel label are rendered inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/sys.witch-v2/llms.txt
Use this file to discover all available pages before exploring further.
font-mono, while the excerpt uses font-sans for readability. An “Invoke Text” link button at the bottom of each card links out to the full post.
Props
The writing entry object to display. See the Article Object Shape section below for required fields.
The zero-based position of this card in the articles array. Used to calculate the stagger delay for the scroll-triggered entrance animation (
delay: index * 0.1).Article Object Shape
| Field | Type | Description |
|---|---|---|
channel | string | Category label rendered in the top-left badge (e.g. "Technical", "Reflections") |
date | string | Publication date rendered in the top-right corner |
title | string | Display title of the post |
excerpt | string | One-sentence summary shown in the card body |
Usage
Animation
Each TomeCard uses Framer Motion’swhileInView to fade and rise from { opacity: 0, y: 30 } to { opacity: 1, y: 0 } once it enters the viewport. The viewport is configured with once: true so the animation fires only on first appearance. The index prop controls the stagger: delay: index * 0.1.
Channel Values
| Channel | Typical Use |
|---|---|
Technical | Deep dives, code walkthroughs, and implementation guides |
Reflections | Career retrospectives and personal growth posts |
Bug Reports | Post-mortems, debugging stories, and root cause analyses |
Project Writeups | Architecture overviews and build logs |
General Audience | Accessible explainers written for non-technical readers |