Skip to content

HamzaHamani/LECHHEB-PROF-WEBSITE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Dr. Houda LECHHEB - Academic Website

Professional academic website for Dr. Houda LECHHEB, Professor of Economics at UniversitΓ© Ibn Tofail

Next.js TypeScript Tailwind CSS SEO Score Netlify

🌟 Live Website

πŸ”— houdalechheb.com


πŸ“‹ Table of Contents


✨ Features

🎯 Core Functionality

  • βœ… 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

πŸ” SEO & Performance

  • βœ… 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

πŸŽ“ Academic Integration

  • βœ… 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

πŸ“± Social Media Optimization

  • βœ… 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

πŸ› οΈ Tech Stack

Frontend Framework

Styling & UI

SEO & Analytics

Development Tools

  • ESLint - Code linting and quality
  • Prettier - Code formatting
  • PNPM - Fast, disk space efficient package manager

πŸš€ Quick Start

Prerequisites

  • Node.js 18+ installed
  • PNPM package manager
  • Git for version control

Installation

# 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 Commands

# 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


πŸ“ Project Structure

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

πŸ”§ Configuration

Environment Variables

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


πŸ“Š SEO & Analytics

SEO Features

  • βœ… 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

Analytics Integration

  • Google Analytics 4 - Visitor tracking and behavior analysis
  • Search Console - Search performance monitoring
  • Academic Metrics - Citation tracking through ORCID and Scholar

Search Engine Optimization

  • 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


🎨 Design System

Color Palette

/* 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%

Typography

  • 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

Components

  • shadcn/ui - 40+ pre-built components
  • Custom Components - Academic-specific UI elements
  • Responsive Design - Mobile-first approach
  • Accessibility - WCAG 2.1 compliant

πŸ“± Social Media Integration

Supported Platforms

  • βœ… 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

Academic Platforms

  • βœ… ResearchGate - Research collaboration
  • βœ… Google Scholar - Citation tracking
  • βœ… Academia.edu - Academic networking
  • βœ… ORCID - Professional identification

πŸ”— Complete social media setup guide: SOCIAL-MEDIA-OG-GUIDE.md


πŸŽ“ Academic Features

Research Publications

  • Categorized Display - Organized by research areas
  • Citation Information - Proper academic formatting
  • DOI Links - Direct links to published papers
  • Search Functionality - Easy publication discovery

Academic Profiles

  • ORCID Integration - Professional researcher ID
  • Scholar Metrics - Citation counts and h-index
  • Research Interests - Tagged and searchable
  • Collaboration History - Co-author networks

Teaching Portfolio

  • Course Listings - Current and past courses
  • Academic Calendar - Important dates and deadlines
  • Student Resources - Educational materials and links

🌐 Deployment

Netlify Deployment (Recommended)

# Build the project
pnpm build

# Deploy to Netlify (automatic from GitHub)
# Or manually drag dist folder to netlify.com/drop

πŸš€ Live at: houdalechheb.com

Manual Deployment Options

# Vercel
npm i -g vercel
vercel --prod

# Custom Server
pnpm build
pnpm start

# Static Export
pnpm build && pnpm export

Environment Setup

  1. Set up all environment variables
  2. Configure analytics and search console
  3. Verify social media integration
  4. Test contact form functionality

πŸ“š Documentation

Complete Guides

Technical Documentation

  • 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

🀝 Contributing

Development Workflow

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/amazing-feature
  3. Make changes with proper TypeScript types
  4. Test thoroughly on multiple devices
  5. Commit changes: git commit -m 'Add amazing feature'
  6. Push to branch: git push origin feature/amazing-feature
  7. Open Pull Request with detailed description

Code Standards

  • 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

Testing

  • Component Testing - Test all UI components
  • SEO Testing - Verify meta tags and structured data
  • Mobile Testing - Ensure responsive design
  • Analytics Testing - Verify tracking implementation

πŸ“ž Support & Contact

Academic Website Owner

Technical Support

  • Repository Issues: GitHub Issues
  • Documentation: See guides in repository
  • Deployment: Netlify dashboard

πŸ“„ License

This project is created for Dr. Houda LECHHEB - Academic use and portfolio showcase.

Β© 2025 Dr. Houda LECHHEB - All rights reserved


πŸš€ Quick Links


⭐ Star this repository if you find it helpful for academic website development!

Built with ❀️ for academic excellence and professional visibility

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published