This is the personal homepage project for Colin Hebe, built with React, Vite, and Tailwind CSS. It features a modern UI, Markdown-based posts, and a knowledge base section.
- ⚡️ Fast and modern React + Vite setup
- 📝 Supports Markdown posts
- 🎨 Styled with Tailwind CSS
- 📚 Knowledge Base section
- 🖥️ Responsive design
- Node.js 24 (matches CI)
- npm
npm installStart the local development server:
npm run devBuild the project for production:
npm run buildPreview the production build locally:
npm run previewThe live site is https://colin.quarksgames.com/, hosted on GitHub Pages from the gh-pages branch.
The Deploy On Tag workflow installs locked dependencies, checks TypeScript, builds the site, tests mood rotation, and publishes dist. Push a v* tag or run the workflow manually against the branch to publish. Only one publication runs at a time.
To deploy:
npm run deployThis will build the project and publish the contents of the dist folder to the gh-pages branch.
- Ensure the
homepagefield inpackage.jsonis set tohttps://c01-in.github.io. - In
vite.config.ts, thebaseshould be set to/for correct asset paths.
- Tailwind scans only
srcandindex.html. Keep content classes there rather than enabling repository-wide scans of public assets or generated files. - Knowledge Base, Markdown Reader, and Kotlin Playground load on navigation. Three.js tools use direct module imports; avoid the
three/examples/jsm/Addons.jsbarrel. - Add projects in
src/content/projects.ts. Add mood components tosrc/components/moods/index.ts; the last entry is the initial mood, and refresh selects a different entry. - Run
npm testandnpm run build, thennpm run preview. Check home project links, mood refresh,/kb, an article, and/kotlinin the production preview before publishing.
MIT