An SPA portfolio showcasing my work.
- React Spring
- React.js
- Swiper.js (for carousel)
- Custom SCSS
Deployed with AWS Amplify
- Responsive Design: Displays 6 tabs on mobile/tablet, 7 tabs on desktop
- Dynamic Content: Projects are rendered from configuration data
- Interactive Carousel: Click and drag (desktop) or swipe (mobile) support with smooth animations
- Touch-Friendly: Optimized for mobile touch interactions
- Live Links: Direct links to live projects and GitHub repositories
- Smooth Animations: Fade-in effects and smooth transitions
- Mobile Optimized: Touch-friendly navigation and responsive layouts
- SEO Optimizations: Enhanced meta tags, structured data, and performance improvements
src/
├── components/
│ ├── Projects/
│ │ ├── Carousel.jsx # Image carousel component
│ │ ├── Carousel.scss # Carousel styles
│ │ ├── GitHubLink.jsx # GitHub repository link component
│ │ ├── ModalTabs.jsx # Responsive navigation tabs
│ │ ├── ProjectTemplate.jsx # Reusable project display template
│ │ ├── Projects.jsx # Main container component
│ │ ├── loaders.jsx # Loading spinner components
│ │ ├── projectsData.js # Project information configuration
│ │ └── tabConfig.js # Tab navigation configuration
│ └── ...
├── hooks/
│ ├── useOutsideClick.jsx # Custom hook for modal interactions
│ ├── useOnLoadImages.jsx # Image loading state management
│ └── ...
└── ...
Edit src/components/Projects/projectsData.js to add your projects:
export const projectsData = {
yourproject: {
title: "Your Project Title",
href: "https://your-live-demo.com",
images: [
{ src: "./images/your-screenshot1.jpg", alt: "screenshot 1" },
{ src: "./images/your-screenshot2.jpg", alt: "screenshot 2" }
],
description: [
"Brief description of your project",
"Additional details about features and implementation"
],
liveLink: "View Live Demo",
stack: ["React", "Node.js", "MongoDB"],
apis: ["Optional API list"],
githubProjectName: "your-github-repo-name"
}
};Update src/components/Projects/tabConfig.js to match your projects:
export const tabConfig = [
{
id: "P1",
key: "yourproject",
icon: "./images/your-icon.png",
alt: "your project tab"
},
// Add more tabs as needed
];Place your project images in the public/images/ directory:
- Screenshots for carousel display
- Icons for navigation tabs
- Ensure images are optimized for web (WebP recommended)
Modify src/components/modalstyles.scss to match your design:
- Colors and gradients
- Typography
- Spacing and layout
- Responsive breakpoints
- React 18+
- React Spring (for animations)
- Swiper.js (for carousel functionality)
- Sass (for styling)
- Custom hooks:
useOutsideClick,useOnLoadImages
- Mobile: ≤768px (6 tabs displayed)
- Desktop: >768px (all 7 tabs displayed)
- Special breakpoints:
- 400px: Navigation width adjustment
- 375px: iPhone SE optimizations
- Chrome 88+
- Firefox 85+
- Safari 14+
- Edge 88+
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify



