A modern, responsive portfolio website built with React.
Make sure you have Node.js installed (version 14 or higher)
cd portfolio
npm install
npm start
The application will open in your browser at http://localhost:3000
Hero Section (src/components/Hero.js):
About Section (src/components/About.js):
Projects Section (src/components/Projects.js):
projects arrayContact Section (src/components/Contact.js):
Footer (src/components/Footer.js):
All colors are defined in src/App.css using CSS variables:
:root {
--primary-color: #6366f1; /* Main purple/blue */
--secondary-color: #8b5cf6; /* Secondary purple */
--dark-bg: #0f172a; /* Dark background */
--light-bg: #1e293b; /* Lighter sections */
--text-primary: #f1f5f9; /* Main text color */
--text-secondary: #cbd5e1; /* Secondary text */
--accent: #f59e0b; /* Accent color */
}
Modify these values to change the entire color scheme.
The Antigravity animation can be customized in src/components/Hero.js:
<Antigravity
magnetRadius={14} // Magnetic field radius
ringRadius={12} // Ring size around cursor
waveAmplitude={1.6} // Wave effect strength
particleSize={1.3} // Size of particles
count={700} // Number of particles
particleShape="tetrahedron" // Shape: tetrahedron, sphere, box, capsule
color="#6366f1" // Particle color
autoAnimate={true} // Auto-animate when idle
/>
You can adjust the opacity in src/components/Hero.css:
.antigravity-background {
opacity: 0.4; /* Adjust between 0 and 1 */
}
Replace the SVG placeholder in src/components/Hero.js with an actual image:
<div className="image-placeholder">
<img src="/path/to/your/photo.jpg" alt="Your Name" />
</div>
Update the image property in each project object with your actual project screenshots. You can:
public/images/ and reference as /images/project1.pngTo create an optimized production build:
npm run build
The build folder will contain all the files ready for deployment.
You can deploy this portfolio to:
npm install -g vercel then vercelbuild foldergh-pages packageportfolio/
├── public/
│ └── index.html
├── src/
│ ├── components/
│ │ ├── Header.js
│ │ ├── Header.css
│ │ ├── Hero.js
│ │ ├── Hero.css
│ │ ├── About.js
│ │ ├── About.css
│ │ ├── Projects.js
│ │ ├── Projects.css
│ │ ├── Contact.js
│ │ ├── Contact.css
│ │ ├── Footer.js
│ │ └── Footer.css
│ ├── App.js
│ ├── App.css
│ ├── index.js
│ └── index.css
└── package.json
This project is open source and available for personal and commercial use.
For questions or suggestions, feel free to reach out!