Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/digital-alchemy/llms.txt
Use this file to discover all available pages before exploring further.
TarotCard is used on the About (/about) page to present personal biography sections in three side-by-side cards. Each card is a w-72 h-[420px] (18 rem × 420 px) interactive panel that flips 180° on the Y axis when hovered or clicked, revealing scrollable content on the reverse.
Props
The card’s name, displayed in large serif text on both the front and back. Examples:
"The Magician", "The High Priestess", "The World".A short descriptor shown below the title on the card front in small turquoise uppercase text. Examples:
"Origins & Essence", "Philosophy", "Current State".Roman numeral displayed at the top of the card front. Examples:
"I", "II", "XXI".Content shown on the back of the card when flipped. Typically two or three
<p> elements. Renders inside a scrollable container with the custom-scrollbar utility class.Framer Motion entrance animation delay in seconds. Staggers the cards so they don’t all arrive simultaneously.
Resting tilt angle in degrees applied to the card’s
rotate transform. Gives the stack of cards a natural, hand-dealt look.Usage
Three-card About layout (as used in source)
Visual Behavior
Front face
The front renders on abg-midnight base with a border-turquoise/30 outer border. Inside, a second inner border creates a nested frame with four corner bracket accents in turquoise/40. Three elements are stacked vertically:
- Roman numeral —
font-serif text-turquoise/80 text-xlat the top - Geometric motif — a centred composition of a
w-32 h-32circle, aw-24 h-24rotated-45° square, and aw-16 h-16inner circle, all inturquoise/*opacities - Title + subtitle —
font-serif text-2xl text-parchment tracking-widest uppercasetitle, withtext-turquoise/60 text-xs tracking-widest uppercasesubtitle below
Back face
The back renders onbg-ink with a border-teal/40 outer border and a turquoise ambient box shadow. The title appears as an <h4> above a divider line, followed by the children content in text-parchment/80 font-sans text-sm leading-relaxed.
Animation Details
Entrance
rotation angle with a gentle spring.
Hover lift
Flip (hover start / hover end / click toggle)
motion.div carries perspective-1000; the inner motion.div carries preserve-3d. The back face has a rotate-y-180 class so both faces occupy the same physical space and are revealed by the parent’s rotateY.
The back face uses
overflow-y-auto with the custom-scrollbar utility, so long children content scrolls within the card without expanding its dimensions.