Skip to content

clutchprotocol/clutchprotocol.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Clutch Protocol Website

Official website for Clutch Protocol - Decentralized ride-sharing blockchain.

Live Site

Alpha software β€” the stage testnet is for experimentation. APIs may change.

Features

  • Responsive Design: Mobile-first approach with modern UI/UX
  • Performance Optimized: Font preconnect, minimal JS, efficient animations
  • SEO Friendly: Open Graph, Twitter Card, JSON-LD structured data, sitemap and robots.txt
  • Accessibility: Semantic HTML, skip link, focus-visible styles, prefers-reduced-motion support, ARIA labels
  • Interactive Elements: Smooth scrolling, scroll-reveal animations, accordion FAQ, mobile nav

πŸ› οΈ Technology Stack

  • Frontend: Pure HTML5, CSS3, and JavaScript (ES6+)
  • Styling: Custom CSS with CSS Grid and Flexbox
  • Icons: Font Awesome 6
  • Fonts: Inter from Google Fonts
  • Hosting: GitHub Pages with custom domain

πŸ“ Project Structure

clutchprotocol.github.io/
β”œβ”€β”€ index.html          # Main HTML file
β”œβ”€β”€ styles.css          # All CSS styles
β”œβ”€β”€ script.js           # JavaScript functionality
β”œβ”€β”€ assets/
β”‚   └── og-image.jpg    # Open Graph / social preview image
β”œβ”€β”€ robots.txt          # Crawler rules + sitemap reference
β”œβ”€β”€ sitemap.xml         # Sitemap
β”œβ”€β”€ CNAME              # Custom domain configuration
β”œβ”€β”€ LICENSE            # MIT License
β”œβ”€β”€ favicon.ico        # Site favicon
└── README.md          # This file

🎨 Design System

Colors

  • Primary: #667eea (Gradient start)
  • Secondary: #764ba2 (Gradient end)
  • Background: #f8f9fa
  • Text: #1a1a1a (Dark) / #666 (Light)

Typography

  • Font Family: Inter
  • Headings: 600-700 weight
  • Body: 400 weight
  • Code: Monospace

Components

  • Navigation with mobile hamburger menu (button + ARIA)
  • Hero section with animated blockchain visualization
  • Feature cards with hover effects
  • CLT fee breakdown bars
  • Roadmap milestone cards
  • FAQ accordion
  • Team member cards
  • Community action cards

πŸš€ Development

Local Development

# Clone the repository
git clone https://github.com/clutchprotocol/clutchprotocol.github.io.git

# Navigate to directory
cd clutchprotocol.github.io

# Serve locally (using any static server)
# Python 3
python -m http.server 8000

# Node.js (with serve package)
npx serve .

# VS Code Live Server extension
# Right-click index.html -> "Open with Live Server"

Deployment

This site is automatically deployed via GitHub Pages when changes are pushed to the main branch.

🌍 DNS Configuration

To point clutchprotocol.io to GitHub Pages:

  1. A Records (for apex domain):

    185.199.108.153
    185.199.109.153
    185.199.110.153
    185.199.111.153
    
  2. CNAME Record (for www):

    www.clutchprotocol.io -> clutchprotocol.github.io
    

πŸ“± Browser Support

  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+

πŸ”§ Features & Functionality

Interactive Elements

  • Mobile-responsive navigation (button toggle with aria-expanded)
  • Smooth scrolling between sections (CSS scroll-behavior + scroll-margin-top)
  • Intersection Observer scroll-reveal animations
  • Blockchain block hover effects
  • FAQ accordion (<details>)

Performance Features

  • Font Awesome and Google Fonts preconnect
  • Animations disabled under prefers-reduced-motion
  • Minimal JavaScript bundle
  • Efficient DOM manipulation

SEO & Meta

  • Open Graph tags for social sharing
  • Twitter Card meta tags (name= attributes)
  • JSON-LD structured data (Organization + WebSite)
  • robots.txt and sitemap.xml
  • Semantic HTML structure with <main> landmark

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Commit Convention

Use conventional commits:

  • feat: - New features
  • fix: - Bug fixes
  • docs: - Documentation updates
  • style: - Code formatting
  • refactor: - Code refactoring
  • perf: - Performance improvements

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Links

πŸ“§ Contact


Built with ❀️ for the decentralized future

Releases

No releases published

Packages

 
 
 

Contributors