A modern, responsive single-page portfolio website showcasing my skills, projects, and education — with smooth animations and a working contact form.
Live Demo: mohammad-ali-portfolio-3322.netlify.app
- Hero Section — Profile intro with Lottie animation, social media links, and CV download button
- Skills Section — Overview of my technical skills and tools
- Projects Gallery — Filterable project cards powered by Framer Motion animations
- Project Details Modal — Click any project to view full details, live demo, and source code links
- Education Timeline — Academic background and certifications
- Contact Form — Fully functional contact form integrated with Formspree for direct email delivery
- Responsive Design — Optimized for desktop, tablet, and mobile screens
- Scroll to Top — Convenient back-to-top button that appears on scroll
| Category | Technologies |
|---|---|
| Core | React 19, Vite 7 |
| Animation | Framer Motion, Lottie (lottie-react, dotlottie-react) |
| Forms | Formspree (@formspree/react) |
| Icons | React Icons, IcoMoon |
| Code Quality | ESLint 9, eslint-plugin-react-hooks |
- Node.js (v18 or later recommended)
- npm
# Clone the repository
git clone https://github.com/Mohammad3322/portfolio.git
# Navigate to the project directory
cd portfolio
# Install dependencies
npm install
# Start the development server
npm run devThe app will be available at http://localhost:5173.
| Command | Description |
|---|---|
npm run dev |
Start the Vite dev server with HMR |
npm run build |
Build the app for production |
npm run preview |
Preview the production build locally |
npm run lint |
Run ESLint across the codebase |
src/
├── components/
│ ├── 1-header/ # Navigation bar
│ ├── 2-hero/ # Intro, socials & CV download
│ ├── 3-skills/ # Skills section
│ ├── 4-projects/ # Projects gallery + details modal
│ ├── 5-education/ # Education timeline
│ ├── 6-contact/ # Contact form (Formspree)
│ └── 7-footer/ # Footer
├── App.jsx # Main layout & scroll behavior
├── main.jsx # App entry point
└── index.css # Global styles
public/
├── animations/ # Lottie JSON animations
├── fonts/ # Custom font files
└── images/ # Project screenshots & assets
- Add/edit projects: Update
src/components/4-projects/myProjects.jswith your project title, info, links, category tags, and screenshot path. - Contact form: The form uses Formspree. Create a free account, get your form ID, and replace it in
src/components/6-contact/Contact.jsx. - CV: Replace
public/mohammadcv.pdfwith your own resume. - Animations: Swap Lottie JSON files in
public/animations/.
This project deploys easily on platforms like Netlify or Vercel:
npm run buildDeploy the generated dist/ folder. For Netlify, connect the repository directly and use dist as the publish directory.
- Email: Use the contact form on the site
- GitHub: @Mohammad3322
- LinkedIn: Mohammad Ali
⭐ If you like this project, feel free to star the repository!