The Grimoire (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/magical/llms.txt
Use this file to discover all available pages before exploring further.
/#/projects) is the portfolio’s project showcase — a grid of interactive flip-cards, each representing a completed work. On hover, every card rotates 180° to reveal its description, tech stack, and links. The underlying data that powers this gallery lives in the projects array near the top of assets/main.js.
Project Object Shape
Each entry in theprojects array is a plain JavaScript object with the following fields:
Steps to Add a New Project
Open assets/main.js
Open
assets/main.js in your editor. Search for the projects array — it is declared as a const and begins with the Apothecary Inventory entry. You will see the four existing entries in order:- Apothecary Inventory (Full Stack,
alchemy) - Lunar Phase Tracker (Frontend,
moon) - Grimoire CMS (Architecture,
star) - The Scrying Pool (Data Viz,
eye)
Prepare your project image
Host your project screenshot somewhere publicly accessible. Unsplash works well for placeholder images during development (see the tip below). The recommended dimensions are 1200×800 px, but the card image area crops to a 600×400 px region, so landscape images work best.
Append a new object to the array
Add your new entry as the last item in the
projects array. Give it the next sequential id (e.g., 5 if you are adding after the four existing projects). Make sure to place a comma after the preceding closing brace } before your new entry.Save and verify
Save
assets/main.js. If the dev server is running (npm run dev), navigate to http://localhost:5173/#/projects. Your new card should appear at the end of the grid. Hover over it to confirm the flip animation works and the back-face content (description, tech badges, links) renders correctly.Complete Example Entry
Here is a fully fleshed-out example you can copy and adapt:Choosing a Sigil Type
ThesigilType field controls the small animated SVG sigil rendered in the top-right corner of each card front, and also the large background sigil used in the home navigation cards. There are four options:
Using Unsplash images is the easiest way to get a polished placeholder while building. Append Unsplash image transformation parameters to crop and optimize the image for the card:For example:When you are ready to use your own screenshots, host them on a CDN (e.g., Cloudinary, GitHub raw, or your own domain) and update the
image URL accordingly.