A high-performance, responsive personal portfolio website built with modern web technologies.
- Build Tool: Vite - Blazing fast build tool
- Framework: React - JS library for user interfaces
- Styling: Tailwind CSS - Utility-first CSS framework
- Icons: Lucide React - Beautiful & consistent icons
- Animations/Scroll:
react-scroll- Smooth scrolling functionality
Ideally, you would create this project using pnpm create vite@latest, but since the files are already provided here, you just need to install dependencies:
pnpm installStart the local development server:
pnpm run devThe site will be available at http://localhost:5173.
Create an optimized production build:
pnpm run buildThis will create a dist folder containing your static assets.
src/
├── components/ # Reusable UI components
│ ├── Navbar.jsx # Responsive navigation with mobile menu
│ ├── Hero.jsx # Hero section with introduction & CTA
│ ├── Skills.jsx # Technical skills grid
│ ├── Projects.jsx # Project showcase cards
│ └── Footer.jsx # Contact links & copyright
├── App.jsx # Main application layout
├── main.jsx # Entry point
└── index.css # Global styles & Tailwind directives
Cloudflare Pages is an excellent choice for deploying Vite apps due to its speed, free tier, and easy integration.
- Push your code to a GitHub/GitLab repository.
- Log in to the Cloudflare Dashboard.
- Go to Workers & Pages > Create Application > Pages > Connect to Git.
- Select your repository.
- Configure the build settings:
- Framework Preset: Select
Vite(orReactif Vite isn't listed, usually Vite is preferred). - Build command:
pnpm run build - Build output directory:
dist
- Framework Preset: Select
- Click Save and Deploy.
Cloudflare will automatically rebuild and deploy your site whenever you push changes to your repository.
- Run
pnpm run buildlocally. - Go to Cloudflare Pages dashboard.
- Select "Direct Upload" instead of Git.
- Drag and drop the contents of your
distfolder. - Deploy.
- Responsive Design: Mobile-first approach using Tailwind's breakpoints (
md:,lg:). - Accessibility: Semantic HTML elements (
nav,main,section,footer) and proper ARIA labels. - Performance: Vite's optimized bundling and Tailwind's purge functionality ensure a small bundle size.
- Smooth Scrolling: Integrated via
react-scrollfor a polished single-page experience.
- Colors: Edit
tailwind.config.jsto change theprimaryandsecondarycolor palette. - Content: Update the component files (
src/components/) with your own text, images, and links. - Images: Replace the placeholder images in
Hero.jsxandProjects.jsxwith your own assets.