A clean, minimal, and modern personal portfolio website built with React, TypeScript, and Tailwind CSS.
- Node.js (version 16 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/404reese/d2d-s4ds.git
cd react-fe- Install dependencies:
npm install- Start the development server:
npm run dev- Open http://localhost:5173 in your browser.
Update the following files with your information:
-
Header Component (
src/components/Header.tsx):- Change "Hari" to your name
-
About Section (
src/components/About.tsx):- Update name, title, and description
- Modify skills array
- Edit personal bio
-
Projects Section (
src/components/Projects.tsx):- Replace projects array with your own projects
- Update titles, descriptions, links, and tags
-
Contact Section (
src/components/Contact.tsx):- Update email address and social media links
The website uses Tailwind CSS for styling. To modify the design:
- Colors can be adjusted in the Tailwind classes
- Spacing and typography can be modified in individual components
- The main color scheme uses neutral grays for a professional look
src/
├── components/
│ ├── Header.tsx # Navigation header
│ ├── About.tsx # About section
│ ├── Projects.tsx # Projects showcase
│ └── Contact.tsx # Contact form and info
├── App.tsx # Main app component
├── main.tsx # App entry point
└── index.css # Global styles
- Install Vercel CLI:
npm i -g vercel- Build and deploy:
npm run build
vercel --prodOr connect your GitHub repository to Vercel for automatic deployments.
- Build the project:
npm run build- Drag and drop the
distfolder to Netlify's deploy page
Or use Netlify CLI:
npm install -g netlify-cli
npm run build
netlify deploy --prod --dir=dist- Install gh-pages:
npm install --save-dev gh-pages- Add to package.json:
{
"homepage": "https://yourusername.github.io/repository-name",
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
}
}- Deploy:
npm run deploynpm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build locallynpm run lint- Run ESLint
- React 18 - UI library
- TypeScript - Type safety
- Vite - Build tool and dev server
- Tailwind CSS - Utility-first CSS framework
- ESLint - Code linting