The Motivation
Where I Started
git clone https://github.com/once-ui-system/magic-portfolio.gitnpm installnpm run devMaking It Mine
Then Things Started Breaking
- The table of contents on project pages kept drifting out of sync with the actual headings every time I restructured a page — fixed by generating it straight from the markdown instead of trying to track it by hand.
- I wanted some project pages private (like full client-facing thesis content), so I built a simple password-gated /access page and login route — my first time writing authentication logic.
- A dependency update quietly introduced a React Server Components CVE, which meant patching and re-deploying under a bit of pressure.
- YouTube embeds and code blocks in MDX broke more than once whenever I changed how components were passed in.