Professional academic website for Dr. Houda LECHHEB, Professor of Economics at UniversitΓ© Ibn Tofail
π houdalechheb.com
- β¨ Features
- π οΈ Tech Stack
- π Quick Start
- π Project Structure
- π§ Configuration
- π SEO & Analytics
- π¨ Design System
- π± Social Media Integration
- π Academic Features
- π Deployment
- π Documentation
- π€ Contributing
- β Responsive Design - Mobile-first approach with perfect display on all devices
- β Professional Portfolio - Showcasing academic achievements and research
- β Publications Management - Organized display of research papers and articles
- β Course Information - Academic courses and teaching materials
- β Contact Integration - Professional contact form with email functionality
- β Multi-language Support - French and English content
- β Dark/Light Mode - Theme switching with system preference detection
- β 98/100 SEO Score - Comprehensive search engine optimization
- β Google Analytics 4 - Advanced visitor tracking and insights
- β Search Console Integration - Google, Bing, and Yandex verification
- β Rich Snippets - Structured data for enhanced search results
- β Open Graph Optimization - Perfect social media sharing
- β Core Web Vitals - Optimized for speed and user experience
- β Academic SEO - Specialized optimization for research visibility
- β ORCID Integration - Professional researcher identification
- β Google Scholar Profile - Citation tracking and research metrics
- β ResearchGate Connection - Academic networking and collaboration
- β Citation Management - Proper academic citation formats
- β Research Categorization - Organized by topics and chronology
- β Professor's Photo Integration - Professional image across all platforms
- β 15+ Platform Support - Facebook, LinkedIn, Twitter, WhatsApp, Discord, etc.
- β Rich Link Previews - Engaging previews when sharing links
- β Academic Platform Integration - ResearchGate, Google Scholar, Academia.edu
- Next.js 15.2.4 - React framework with App Router
- TypeScript - Type-safe development
- React 19 - Latest React features and hooks
- Tailwind CSS - Utility-first CSS framework
- Shadcn/ui - Reusable component library
- Lucide Icons - Beautiful icon set
- Custom Theme System - Dark/light mode support
- Google Analytics 4 - Advanced tracking
- Structured Data - JSON-LD schema markup
- Meta Tag Management - Social media optimization
- Sitemap Generation - Automatic XML sitemap
- ESLint - Code linting and quality
- Prettier - Code formatting
- PNPM - Fast, disk space efficient package manager
- Node.js 18+ installed
- PNPM package manager
- Git for version control
# Clone the repository
git clone https://github.com/HamzaHamani/LECHHEB-PROF-WEBSITE.git
cd LECHHEB-PROF-WEBSITE
# Install dependencies
pnpm install
# Set up environment variables
cp .env.example .env
# Edit .env with your actual values
# Run development server
pnpm dev# Development server
pnpm dev
# Build for production
pnpm build
# Start production server
pnpm start
# Lint code
pnpm lint
# Type checking
pnpm type-checkπ Open http://localhost:3000 to view the website
professor-website/
βββ π app/ # Next.js App Router
β βββ π layout.tsx # Root layout with SEO
β βββ π page.tsx # Homepage
β βββ π globals.css # Global styles
β βββ π robots.ts # Robots.txt generation
β βββ π sitemap.ts # XML sitemap
β βββ π api/ # API routes
β β βββ π contact/ # Contact form endpoint
β βββ π publications/ # Publications section
β
βββ π components/ # React components
β βββ π HomePage.tsx # Main homepage component
β βββ π PublicationsPage.tsx # Publications display
β βββ π ContactPage.tsx # Contact form
β βββ π courses-page.tsx # Academic courses
β βββ π ui/ # Shadcn/ui components
β
βββ π lib/ # Utility libraries
β βββ π seo.ts # SEO configuration
β βββ π analytics.ts # Google Analytics
β βββ π social-meta.ts # Social media meta tags
β βββ π utils.ts # General utilities
β
βββ π data/ # Static data
β βββ π publicationsData.ts # Research publications
β βββ π eventsData.ts # Academic events
β βββ π responsibilitiesData.ts # Professional roles
β
βββ π public/ # Static assets
β βββ π professor-photo.jpg # Professional photo
β βββ π manifest.json # PWA manifest
β βββ π robots.txt # Search engine rules
β
βββ π styles/ # Styling files
βββ π globals.css # Additional global styles
Create a .env file based on .env.example:
# Site Configuration
NEXT_PUBLIC_SITE_URL=https://houdalechheb.com
# Analytics
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX
# Search Console Verification
NEXT_PUBLIC_GOOGLE_VERIFICATION=your_verification_code
NEXT_PUBLIC_BING_VERIFICATION=your_bing_code
NEXT_PUBLIC_YANDEX_VERIFICATION=your_yandex_code
# Academic Profiles
NEXT_PUBLIC_ORCID_ID=0000-0000-0000-0000
NEXT_PUBLIC_GOOGLE_SCHOLAR_ID=your_scholar_id
NEXT_PUBLIC_RESEARCHGATE_ID=your_profile_name
# Contact Information
[email protected]π See ANALYTICS-SETUP-GUIDE.md for detailed setup instructions
- β 98/100 Lighthouse SEO Score
- β Structured Data - JSON-LD for rich snippets
- β Meta Tags - Complete OpenGraph and Twitter Cards
- β Academic Schema - Specialized markup for research content
- β Multi-language - Proper hreflang implementation
- β Core Web Vitals - Optimized performance metrics
- Google Analytics 4 - Visitor tracking and behavior analysis
- Search Console - Search performance monitoring
- Academic Metrics - Citation tracking through ORCID and Scholar
- Google Search - Verified and optimized
- Bing - Webmaster tools integration
- Yandex - International search visibility
- Academic Search - Google Scholar optimization
π View detailed SEO implementation in SEO-IMPLEMENTATION-GUIDE.md
/* Light Mode */
--background: 0 0% 100%
--foreground: 222.2 84% 4.9%
--primary: 221.2 83.2% 53.3%
--secondary: 210 40% 98%
/* Dark Mode */
--background: 222.2 84% 4.9%
--foreground: 210 40% 98%
--primary: 217.2 91.2% 59.8%
--secondary: 217.2 32.6% 17.5%- Font Family:
Inter- Modern, readable typeface - Headings: Responsive scale from text-lg to text-4xl
- Body Text: text-base with proper line heights
- Academic Content: Optimized for reading research papers
- shadcn/ui - 40+ pre-built components
- Custom Components - Academic-specific UI elements
- Responsive Design - Mobile-first approach
- Accessibility - WCAG 2.1 compliant
- β Facebook - Rich link previews with professor's photo
- β LinkedIn - Professional sharing optimization
- β Twitter/X - Large image cards
- β WhatsApp - Mobile-optimized previews
- β Discord - Rich embeds for academic communities
- β Telegram - Link sharing with images
- β Pinterest - Research and academic content pinning
- β ResearchGate - Research collaboration
- β Google Scholar - Citation tracking
- β Academia.edu - Academic networking
- β ORCID - Professional identification
π Complete social media setup guide: SOCIAL-MEDIA-OG-GUIDE.md
- Categorized Display - Organized by research areas
- Citation Information - Proper academic formatting
- DOI Links - Direct links to published papers
- Search Functionality - Easy publication discovery
- ORCID Integration - Professional researcher ID
- Scholar Metrics - Citation counts and h-index
- Research Interests - Tagged and searchable
- Collaboration History - Co-author networks
- Course Listings - Current and past courses
- Academic Calendar - Important dates and deadlines
- Student Resources - Educational materials and links
# Build the project
pnpm build
# Deploy to Netlify (automatic from GitHub)
# Or manually drag dist folder to netlify.com/dropπ Live at: houdalechheb.com
# Vercel
npm i -g vercel
vercel --prod
# Custom Server
pnpm build
pnpm start
# Static Export
pnpm build && pnpm export- Set up all environment variables
- Configure analytics and search console
- Verify social media integration
- Test contact form functionality
- π ANALYTICS-SETUP-GUIDE.md - Analytics and verification setup
- π SEO-IMPLEMENTATION-GUIDE.md - Complete SEO optimization
- π± SOCIAL-MEDIA-OG-GUIDE.md - Social media integration
- π SEO-COMPLETE.md - Final SEO checklist
- Component Library - All UI components documented
- API Reference - Contact form and data endpoints
- Configuration Guide - Environment and build setup
- Deployment Guide - Multi-platform deployment options
- Fork the repository
- Create feature branch:
git checkout -b feature/amazing-feature - Make changes with proper TypeScript types
- Test thoroughly on multiple devices
- Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open Pull Request with detailed description
- TypeScript - All code must be type-safe
- ESLint - Follow configured linting rules
- Prettier - Maintain consistent formatting
- Accessibility - WCAG 2.1 compliance required
- Performance - Maintain 90+ Lighthouse scores
- Component Testing - Test all UI components
- SEO Testing - Verify meta tags and structured data
- Mobile Testing - Ensure responsive design
- Analytics Testing - Verify tracking implementation
- Professor: Dr. Houda LECHHEB
- Institution: UniversitΓ© Ibn Tofail
- Email: [email protected]
- ORCID: 0000-0000-0000-0000
- Repository Issues: GitHub Issues
- Documentation: See guides in repository
- Deployment: Netlify dashboard
This project is created for Dr. Houda LECHHEB - Academic use and portfolio showcase.
Β© 2025 Dr. Houda LECHHEB - All rights reserved
- π Live Website
- π Analytics Setup
- π SEO Guide
- π± Social Media Setup
- π― GitHub Repository
β Star this repository if you find it helpful for academic website development!
Built with β€οΈ for academic excellence and professional visibility