A modern, responsive portfolio website built with Vite and vanilla JavaScript.
https://roycs-portfolio.vercel.app
- Responsive design that works on all devices
- Dark/Light theme toggle with persistent preference
- Smooth scroll-triggered animations
- Clean, professional aesthetic
- Accessible: semantic HTML, ARIA labels, keyboard navigation
- Fast performance with Vite build system
- Build Tool: Vite
- Styling: Vanilla CSS with CSS Custom Properties
- JavaScript: ES6+ modules
- Fonts: Inter (Google Fonts)
portfolio/
├── index.html
├── public/
├── src/
│ ├── main.js
│ ├── components/
│ │ ├── animations.js
│ │ └── theme.js
│ ├── utils/
│ │ └── scroll.js
│ └── styles/
│ ├── index.css
│ ├── variables.css
│ ├── global.css
│ └── components/
└── vite.config.js
- Node.js 18+
- npm
git clone https://github.com/RoyCoding8/portfolio.git
cd portfolio
npm install
npm run devnpm run build
npm run preview- Push to GitHub
- Import project at vercel.com
- Deploy automatically
- Run
npm run build - Drag
distfolder to netlify.com
npm install -D gh-pages
npm run build
npx gh-pages -d distEdit index.html to change name, bio, education, experience, achievements, and contact info.
Edit src/styles/variables.css:
--color-accent-primary: #6366f1;
--color-accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);Apache 2.0