A modern, responsive portfolio website showcasing Android development projects and skills. Built with React, TypeScript, and Vite, featuring smooth animations, multi-language support, and a dark/light theme.
- React 18.3.1 - UI library
- TypeScript 5.5.4 - Type-safe JavaScript
- Vite 7.3.1 - Fast build tool and dev server
- Wouter 3.3.0 - Lightweight routing
- Tailwind CSS 3.4.13 - Utility-first CSS framework
- Tailwind Animate - Animation utilities
- Framer Motion 11.5.4 - Animation library
- Lucide React 0.441.0 - Icon library
- TanStack React Query 5.56.2 - Server state management
- React Context API - Global state (Theme, Language)
- clsx 2.1.1 - Conditional class names
- tailwind-merge 2.5.4 - Merge Tailwind classes
- ESLint - Code linting
- TypeScript ESLint - TypeScript-specific linting
- Autoprefixer - CSS vendor prefixing
- PostCSS - CSS transformation
.
├── public/ # Static assets
│ ├── project_images/ # Project showcase images
│ └── resume/ # Resume PDF file
├── src/
│ ├── components/ # React components
│ │ ├── layout/ # Layout components
│ │ │ ├── navbar.tsx # Navigation bar
│ │ │ └── footer.tsx # Footer component
│ │ ├── sections/ # Page sections
│ │ │ ├── hero.tsx # Hero/intro section
│ │ │ ├── skills.tsx # Skills & tools section
│ │ │ ├── projects.tsx # Projects showcase
│ │ │ ├── process.tsx # Development workflow
│ │ │ ├── reviews.tsx # Client testimonials
│ │ │ ├── about.tsx # About/Why Me section
│ │ │ └── contact.tsx # Contact form
│ │ └── ui/ # Reusable UI components
│ │ ├── button.tsx
│ │ ├── card.tsx
│ │ ├── carousel.tsx
│ │ ├── scroll-to-top.tsx
│ │ ├── toaster.tsx
│ │ └── tooltip.tsx
│ ├── contexts/ # React Context providers
│ │ ├── theme-context.tsx # Dark/light theme
│ │ └── language-context.tsx # Multi-language support
│ ├── lib/ # Utilities & constants
│ │ ├── constants.ts # App-wide constants
│ │ ├── utils.ts # Helper functions
│ │ ├── queryClient.ts # React Query config
│ │ └── deviceInfo.ts # Device detection
│ ├── pages/ # Route pages
│ │ ├── home.tsx # Home page
│ │ ├── project-detail.tsx # Project detail page
│ │ ├── resume.tsx # Resume viewer
│ │ └── not-found.tsx # 404 page
│ ├── App.tsx # Main app component
│ ├── main.tsx # App entry point
│ └── index.css # Global styles
├── index.html # HTML template
├── package.json # Dependencies
├── tsconfig.json # TypeScript config
├── tailwind.config.js # Tailwind config
├── vite.config.ts # Vite config
└── postcss.config.js # PostCSS config
- Responsive Design - Mobile, tablet, and desktop optimized
- Dark/Light Mode - Theme toggle with system preference detection
- Smooth Animations - Framer Motion powered scroll-triggered animations
- Horizontal Scrolling - Projects and tools displayed in scrollable carousels
- Hover Effects - Interactive card animations without clipping
- Scroll-to-Top Button - Appears after scrolling down
- 15 Languages Supported:
- English, Chinese, German, Russian, Arabic
- Spanish, French, Portuguese, Japanese, Korean
- Italian, Turkish, Hindi, Urdu, Dutch
- Language Persistence - Saves preference to localStorage
- Flag Icons - Visual language selector
- Complete Translation - All UI text translated (except programming terms)
-
Hero Section
- Introduction and tagline
- Call-to-action buttons
- Animated background decorations
-
Skills Section
- Technology stack cards
- Tools I Use (horizontal scrolling)
- GitHub contribution calendar
-
Projects Section
- 8 featured projects
- Horizontal scrolling carousel
- Navigation arrows
- Project detail pages
-
Process Section
- Development workflow steps
- 4-step process visualization
-
Reviews Section
- Client testimonials
- Auto-scrolling carousel
- Avatar generation
-
About Section (Why Me)
- Professional statistics
- Why choose me features
- Animated counters
-
Contact Section
- Contact form
- Social links
- Email integration ready
- Resume Viewer - Dedicated page for PDF resume viewing/download
- Project Detail Pages - Full project descriptions and features
- Smooth Scrolling - Hash-based navigation with offset for fixed navbar
- SEO Optimized - Meta tags and semantic HTML
- TypeScript - Full type safety throughout the application
- Performance - Optimized bundle size and lazy loading
- Node.js (v18 or higher recommended)
- npm or yarn
-
Clone the repository
git clone <repository-url> cd PortFolioReact
-
Install dependencies
npm install
-
Start development server
npm run dev
-
Open in browser
- Navigate to
http://localhost:5173
- Navigate to
npm run buildThe build output will be in the dist/ directory, ready for deployment.
npm run previewEdit src/lib/constants.ts to add or modify projects:
PROJECTS: [
{
id: 'project-id',
title: 'Project Title',
shortDescription: 'Brief description for main page',
description: 'Full description for detail page',
image: '/project_images/image.jpg',
techStack: ['Tech1', 'Tech2'],
category: 'Category',
githubUrl: 'https://github.com/...',
playStoreUrl: 'https://play.google.com/...',
features: ['Feature 1', 'Feature 2']
}
]Edit src/contexts/language-context.tsx to add new translations. Add your key-value pairs to the translations object for each language.
Edit src/index.css for CSS variables and tailwind.config.js for Tailwind theme customization.
-
Build the project
npm run build
-
Deploy
- Drag and drop the
dist/folder to Netlify - Or connect your Git repository for auto-deployment
- Drag and drop the
-
Configure Build Settings (if using Git)
- Build command:
npm run build - Publish directory:
dist
- Build command:
npm run build
vercel deploy distThe dist/ folder contains static files that can be deployed to any static hosting service:
- GitHub Pages
- Firebase Hosting
- AWS S3 + CloudFront
- Any web server
All static assets should be placed in the public/ folder:
- Images:
public/project_images/ - PDFs:
public/resume/ - Other assets:
public/[folder-name]/
These will be copied to the root of dist/ during build.
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
- Wouter over React Router: Lighter weight routing for static site
- Tailwind CSS: Utility-first approach for rapid styling
- Framer Motion: Smooth, performant animations
- Context API: Simple global state without Redux
- TypeScript: Type safety and better DX
- Vite: Fast HMR and optimized builds
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2024 Muhammad Salman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Muhammad Salman
- Portfolio: https://salmandev-portfolio.netlify.app
- GitHub: https://github.com/GmdDev074
- LinkedIn: https://www.linkedin.com/in/muhammad-salman-5672a0203/
Built with ❤️ using React, TypeScript, and Vite
