Screenshots

Click a screenshot to open it full size, or explore everything in the live preview.
Quick start
You need Node.js 20 or newer and npm. Clone the repository, install the dependencies and start the dev server:
git clone https://github.com/codespanda/portfolio.git
cd portfolio
npm install
npm run devThen open http://localhost:5173. Changes reload instantly. You can also download the code as a ZIP from GitHub (Code → Download ZIP).
Scripts
npm run devStart the Vite dev server with hot reloadnpm run buildType-check and build the production site into dist/npm run previewServe the built dist/ folder locally to check itnpm run lintLint the code with ESLintnpm run formatFormat the source with Prettiernpm run typecheckRun the TypeScript compiler without buildingProject structure
Built with Vite and TypeScript. The parts you'll work in most:
src/
data/portfolio.ts Your name, bio, skills, projects, experience and links
components/
sections/ Hero, About, Skills, Projects, Experience, Certifications,
Testimonials, Contact
layout/ common/ Header, footer and shared pieces
ui/ Reusable primitives
pages/ Home.tsx, NotFound.tsx
hooks/ lib/ types/
index.css CSS variables for light and dark mode
tailwind.config.ts Tailwind v3 themeCustomise the content
src/data/portfolio.tsEverything personal in one exported portfolio object: name, role, bio, skills, projects, experience, certifications, testimonials and social links.public/Your photo, project screenshots, resume and favicon.Colors and theme
src/index.css + tailwind.config.tsColors are CSS variables in index.css (light and dark), mapped to Tailwind v3 in tailwind.config.ts. The contact form uses React Hook Form with Zod.Pages and routing
React Router with a home page and a 404 page; the home page scrolls between sections.
Deployment
npm run build writes a static site to dist/, so it runs on any static host. The repository is set up for GitHub Pages:
- 1In the repository, open Settings → Pages and set Source to GitHub Actions.
- 2Push to the default branch. The workflow in .github/workflows/ builds the site and publishes it.
- 3vercel.json is included, so you can also import the repo on Vercel with no extra setup.
npm run build with output folder dist.License
Portfolio Template is free and released under the MIT license. Use it for personal and commercial projects, including client work, with no attribution required beyond keeping the license notice in the code.





