A modern, high-performance portfolio website built with cutting-edge technologies to showcase my journey as a Full-Stack Developer and Digital Innovation Leader. This portfolio represents not just my work, but my commitment to excellence, performance, and creating meaningful digital experiences.
| Metric | Desktop | Mobile |
|---|---|---|
| 🚀 Performance | ||
| ♿ Accessibility | ||
| 🎯 Best Practices | ||
| 🔍 SEO |
Powered by Google Lighthouse
|
|
|
|
- Node.js 18.x or higher
- npm or yarn package manager
# Clone the repository
git clone https://github.com/hamdibenjarrar/Portfolio.git
# Navigate to project directory
cd Portfolio
# Install dependencies
npm install
# Create environment file
cp .env.example .env.local
# Start development server
npm run dev
Visit http://localhost:3000 to see the portfolio in action! 🎉
# Create optimized production build
npm run build
# Start production server
npm start
To enable the contact form functionality:
- Create a
.env.localfile in the root directory - Add your Gmail credentials:
EMAIL_USER=your-email@gmail.com
EMAIL_PASS=your-gmail-app-password
EMAIL_TO=recipient@email.com
Getting a Gmail App Password:
- Go to Google Account Security
- Enable 2-Step Verification
- Generate an App Password
- Use the 16-character password in
EMAIL_PASS
Portfolio/
├── 📂 components/ # Reusable React components
│ ├── Hero.tsx # Landing hero section
│ ├── Skills.tsx # Skills showcase
│ ├── Navbar.tsx # Navigation component
│ ├── Footer.tsx # Footer component
│ └── ui/ # shadcn/ui components
├── 📂 pages/ # Next.js pages
│ ├── index.tsx # Home page
│ ├── about.tsx # About page
│ ├── projects.tsx # Projects showcase
│ ├── contact.tsx # Contact page
│ └── api/ # API routes
├── 📂 styles/ # Global styles
├── 📂 public/ # Static assets
└── 📄 next.config.js # Next.js configuration
| Page | Description | Key Features |
|---|---|---|
| 🏠 Home | Landing page with hero & skills | Animated intro, skills grid, CTA buttons |
| 👤 About | Professional journey & experience | Timeline, language proficiency, expertise |
| 💼 Projects | Portfolio of work | Interactive cards, live demos, case studies |
| 📬 Contact | Get in touch | Contact form, social links, location info |
Or manually:
# Install Vercel CLI
npm i -g vercel
# Deploy to production
vercel --prod
- Add your domain in Vercel Dashboard → Settings → Domains
- Update DNS records at your registrar:
- A Record:
76.76.21.21 - CNAME:
cname.vercel-dns.com
- A Record:
- ✅ Image optimization with Next.js Image component
- ✅ Priority loading for LCP images
- ✅ Font optimization with next/font
- ✅ Code splitting and lazy loading
- ✅ Minification and compression
- ✅ Security headers for enhanced protection
- ✅ Reduced unused CSS with Tailwind purge
- ✅ Efficient caching strategies
This project is open source and available under the MIT License.
