Skip to content

tariqsaidofficial/portfolio-onepage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 OnePage β€” Modern Portfolio

Tariq Said Logo

A blazing-fast, SEO-optimized personal portfolio built with Next.js 15

Built with performance in mind β€’ Optimized for Google PageSpeed β€’ Production-ready

Version License: MIT Deployed on Cloudflare Performance Built with Next.js

Live Demo β€’ Features β€’ Performance β€’ Getting Started β€’ Changelog


πŸͺ„ Overview

A production-ready, high-performance portfolio template featuring:

  • ⚑ 90% image size reduction through WebP optimization (8.4MB β†’ 793KB)
  • πŸš€ Sub-3s LCP (Largest Contentful Paint)
  • 🎨 Modern animations with Framer Motion & GSAP
  • πŸ“§ Integrated contact form with email notifications
  • πŸ” Complete SEO setup with structured data
  • πŸ“± Fully responsive design for all devices
  • 🎯 56+ technology icons with primary color overlay
  • πŸ” Cloudflare Turnstile security integration
  • ✨ NEW: Engagement Layer - Smart contact form & live GitHub integration (Demo)

πŸš€ Features

🎯 Core Features

  • ⚑ Next.js 15 with App Router and React Server Components
  • 🎨 Tailwind CSS 4 with custom design system
  • 🧩 ShadCN UI components for consistent design
  • 🎭 Framer Motion for smooth animations
  • πŸ“§ Contact Form with Resend API integration
  • 🌐 Cloudflare Pages Functions for serverless email handling

πŸš€ Performance Optimizations

  • πŸ“¦ Dynamic Imports - Lazy loading for heavy components
  • πŸ–ΌοΈ WebP Images - 90% size reduction (8.4MB β†’ 793KB)
  • πŸ”€ Font Optimization - display: swap with fallbacks
  • ⚑ Code Splitting - Optimized bundle sizes
  • 🎯 Priority Loading - Critical resources loaded first
  • 🎨 CSS Filter Overlay - Primary color branding for all icons

πŸ” SEO & Metadata

  • πŸ“Š Structured Data - JSON-LD for rich results
  • 🏷️ Complete Meta Tags - Open Graph, Twitter Cards
  • πŸ—ΊοΈ Sitemap & Robots.txt - Automated generation
  • πŸ”— Canonical URLs - Prevent duplicate content
  • πŸ“± Social Media Integration - Optimized sharing

🎨 Design Features

  • 🌈 Custom Color Palette - DarkNavy + Rose Red theme
  • ✨ Smooth Animations - Scroll-triggered effects with Framer Motion
  • 🎭 Interactive Components - Hover states and transitions
  • πŸ“± Mobile-First - Responsive on all devices
  • πŸŒ™ Glass Morphism - Modern UI effects with backdrop blur
  • 🎨 3D Holographic Card - Interactive profile card with tilt effects
  • πŸŽͺ Curved Text Marquee - Infinite scrolling text animation
  • πŸ–ΌοΈ Vignette Effect - Elliptical image vignette with soft feather
  • 🎨 Smart Desaturation - Images desaturate to 30%, restore to 90% on hover
  • 🏷️ Category-Colored Badges - Dynamic color-coded tech stack badges
  • ⚑ Smooth Ease-In Transitions - Professional hover animations (0.7s ease-in)
  • πŸŒ“ Theme Toggle - Animated dark/light mode button with smooth transitions
  • πŸ“€ Multi-Platform Share - Share portfolio across 6+ platforms
  • πŸ“… Calendly Integration - Direct meeting booking with optimized UI
  • 🎯 Floating Action Buttons - Consistent spacing and animations (Share, WhatsApp, Back to Top)

🧰 Tech Stack

Category Tools
Framework Next.js 15 (App Router, RSC)
Styling Tailwind CSS 4 + ShadCN UI
Animations Framer Motion + GSAP
Icons Lucide React + Simple Icons (56+)
Email Resend API + Nodemailer
Deployment Cloudflare Pages + GitHub Actions
Forms React Hook Form + Zod
Security Cloudflare Turnstile
Analytics Vercel Analytics
Version Control Git & GitHub

🎨 Color Palette

Type Color Hex Usage
Primary πŸ”΄ Rose Red #e11d48 Buttons, links, CTAs
Background πŸŒ‘ Deep Navy #0a122c Main background
Foreground βšͺ Almost White #f8fafc Text, headings
Muted πŸ”΅ Blue Gray #94a3b8 Secondary text

⚑ Performance Metrics

πŸ“Š PageSpeed Insights Results

PageSpeed Insights

```text 🎯 Performance Score: 90+ ⚑ LCP (Largest Contentful Paint): < 3s 🎨 CLS (Cumulative Layout Shift): < 0.1 ⏱️ FID (First Input Delay): < 100ms πŸ“¦ Total Bundle Size: ~250KB (images) 🧰 Best Practices: 96/100 ```

πŸš€ Optimization Techniques Applied

1. Image Optimization

  • βœ… Converted all project images to WebP format
  • βœ… Reduced total image size by 90% (8.4MB β†’ 793KB)
  • βœ… media-server.png: 6.2MB β†’ 534KB (91% reduction)
  • βœ… Implemented lazy loading for below-the-fold images
  • βœ… Used next/image for automatic optimization

2. Code Splitting

  • βœ… Dynamic imports for heavy components
  • βœ… Lazy loading for Testimonials, Projects, Services
  • βœ… Reduced initial JavaScript bundle size by 42%

3. Font Optimization

  • βœ… display: swap to prevent font blocking
  • βœ… Preloaded critical fonts
  • βœ… System font fallbacks for better CLS
  • βœ… Removed unused font weights

4. SEO Optimization

  • βœ… Complete structured data (JSON-LD)
  • βœ… Optimized meta tags for all platforms
  • βœ… Automatic sitemap generation
  • βœ… Robots.txt configuration

πŸ§‘πŸ’» Getting Started

Clone the Repository

```bash git clone https://github.com/tariqsaidofficial/portfolio-onepage.git ```

Navigate to the Project Directory

```bash cd portfolio-onepage ```

Install Dependencies

```bash pnpm install ```

Run the Development Server

```bash pnpm dev ```

Build for Production

```bash pnpm build ```


πŸ› οΈ Configuration & Customization

πŸ“ Personalize Content

  1. Update Personal Info

    • Edit components/about.tsx for bio and timeline
    • Modify components/hero.tsx for main heading
    • Update components/contact.tsx for contact details
  2. Change Colors ```css /* In app/globals.css / :root { --primary: #e11d48; / Your brand color / --background: #0a122c; / Your background */ } ```

  3. Update Images

    • Replace images in public/ folder
    • Use WebP format for best performance
    • Update image references in components
  4. Modify Sections

    • Add/remove sections in app/page.tsx
    • Create new components in components/
    • Follow existing patterns for consistency

🎨 Theme Customization

```typescript // tailwind.config.ts export default { theme: { extend: { colors: { primary: '#e11d48', background: '#0a122c', // Add your custom colors }, animation: { // Add custom animations } } } } ```

πŸ“§ Email Configuration

  1. Get Resend API Key

    • Sign up at resend.com
    • Verify your domain
    • Get your API key
  2. Add to Cloudflare Pages

    • Go to Settings β†’ Environment Variables
    • Add RESEND_API_KEY with your key
    • Redeploy the site
  3. Customize Email Templates

    • Edit functions/api/send-email.js
    • Modify HTML templates
    • Test with your email

☁️ Deployment on Cloudflare

  1. Fork the Repository ```bash

    Click "Fork" on GitHub

    git clone https://github.com/YOUR_USERNAME/portfolio-onepage.git ```

  2. Connect to Cloudflare Pages

    • Go to Cloudflare Dashboard
    • Pages β†’ Create a project
    • Connect your GitHub repository
    • Build settings:
      • Build command: pnpm build
      • Output directory: out
  3. Set Environment Variables

    • RESEND_API_KEY: Your Resend API key
    • NODE_VERSION: 18 or higher
  4. Deploy

    • Push to main branch
    • GitHub Actions will auto-deploy
    • Check deployment status in Actions tab

πŸ“¦ Latest Updates

Current Version: 6.2.0 (2025-10-23)

Recent Highlights

  • 🎨 New theme toggle button with smooth animations
  • πŸ“€ Multi-platform share button (6+ platforms)
  • πŸ“… Calendly integration for direct meeting booking
  • πŸ§ͺ Jest testing framework and ESLint setup
  • πŸ“š Comprehensive documentation (11 new guides)

For detailed version history and complete changelog, see CHANGELOG.md


πŸ€– Auto-Updating Stats

πŸ”΄ Live

πŸ“Š Repo stats

  • Stars: 3
  • Forks: 0
  • Last commit: 8f104c5 β€” chore(readme): auto-update profile block (2026-01-13T00:13:17Z)

GitHub Repo starsΒ GitHub forks


πŸ™ Credits & Acknowledgments

Created and maintained by: Tariq Said

Built with:

Special Thanks:

  • 🎨 v0.dev by Vercel for initial design inspiration
  • 🌐 Cloudflare for excellent hosting and edge functions
  • πŸ’™ Open source community for amazing tools

πŸͺͺ License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it.


Β© 2025 Tariq Said β€’ LinkedIn β€’ GitHub