A sleek, responsive website built using React, Vite, TailwindCSS, and DaisyUI, deployed to GitHub Pages with GitHub Actions. Designed to showcase projects and experiment with modern frontend deployment workflows.
- ⚛️ React — Frontend framework
- ⚡ Vite — Fast build tool and dev server
- 🎨 TailwindCSS — Utility-first CSS framework
- 🧁 DaisyUI — Tailwind component library with theming
- 🛠️ GitHub Actions — CI/CD pipeline for automated deployment
- 🌍 GitHub Pages — Static site hosting
.
├── public/ # Static assets
├── src/
│ ├── components/ # Navbar, Footer, etc.
│ ├── pages/ # Route-based pages like Home, About, Projects
│ └── utils/ # Helper functions like image preloading
├── .github/workflows/ # GitHub Actions config
├── vite.config.js # Vite config with base for GitHub Pages
└── README.md # You're reading it :)# Clone the repo
git clone https://github.com/YKawesome/hack_workshop.git
cd hack_workshop
# Install dependencies
npm install
# Start dev server
npm run dev-
All pushes to
mainwill:- Build the site with Vite
- Deploy the
dist/folder to GitHub Pages via thegh-pagesbranch
-
Build manually if needed:
npm run buildMake sure your vite.config.js includes:
export default defineConfig({
base: '/hack_workshop/', // Required for GitHub Pages
plugins: [react()],
});Your .github/workflows/deploy.yml handles:
- Checkout
- Node.js setup
npm installnpm run build- Deployment with
gh-pages
Make sure gh-pages is installed:
npm install gh-pages --save-devAnd your package.json includes:
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
}This project was part of a frontend deployment speedrun workshop, focused on:
- Rapidly building UI with TailwindCSS + DaisyUI
- Exploring deployment automation using GitHub Actions
- Live coding a working React + Vite portfolio from scratch
- 🧊 Glassmorphism and gradients with Tailwind
- 🧩 Modular structure using React Router
MIT — feel free to fork and remix it for your own portfolio!
Made with 💻 and 🎤 during a frontend deployment workshop.