anurag-portfolio-website

Portfolio Website

A modern, responsive portfolio website built with React.

Features

Installation

  1. Make sure you have Node.js installed (version 14 or higher)

  2. Navigate to the project directory:
    cd portfolio
    
  3. Install dependencies:
    npm install
    
  4. Start the development server:
    npm start
    

The application will open in your browser at http://localhost:3000

Customization

Personal Information

Hero Section (src/components/Hero.js):

About Section (src/components/About.js):

Projects Section (src/components/Projects.js):

Contact Section (src/components/Contact.js):

Footer (src/components/Footer.js):

Colors and Styling

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.

Customizing the 3D Background

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 */
}

Adding Your Photo

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>

Project Images

Update the image property in each project object with your actual project screenshots. You can:

Building for Production

To create an optimized production build:

npm run build

The build folder will contain all the files ready for deployment.

Deployment

You can deploy this portfolio to:

Project Structure

portfolio/
├── 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

Technologies Used

Browser Support

License

This project is open source and available for personal and commercial use.

Contact

For questions or suggestions, feel free to reach out!