CodesPanda
Documentation

Portfolio Template docs

Everything you need to install, customise and deploy Portfolio Template: setup, scripts, folder layout, theming and hosting.

ReactViteTailwind CSS

Screenshots

Portfolio Template — Hero
Hero
Portfolio Template — About
About
Portfolio Template — Projects
Projects
Portfolio Template — Skills
Skills
Portfolio Template — Contact form
Contact form
Portfolio Template — Footer
Footer

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:

Terminal
git clone https://github.com/codespanda/portfolio.git
cd portfolio
npm install
npm run dev

Then 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 reload
npm run buildType-check and build the production site into dist/
npm run previewServe the built dist/ folder locally to check it
npm run lintLint the code with ESLint
npm run formatFormat the source with Prettier
npm run typecheckRun the TypeScript compiler without building

Project structure

Built with Vite and TypeScript. The parts you'll work in most:

Folders
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 theme

Customise 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:

  1. 1In the repository, open Settings → Pages and set Source to GitHub Actions.
  2. 2Push to the default branch. The workflow in .github/workflows/ builds the site and publishes it.
  3. 3vercel.json is included, so you can also import the repo on Vercel with no extra setup.
Netlify, Vercel or Cloudflare PagesImport the repository and use build command 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.

Want it set up for you?

We can customise Portfolio Template with your content and branding, connect it to your backend and deploy it.