Skip to content

🌟 Open Source Referral and Affiliate Marketing Platform for SaaS Business Owners - Launch your referral program in minutes!

Notifications You must be signed in to change notification settings

Refferq/frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Refferq Frontend Website

Clean, modern marketing website for Refferq - Open Source Affiliate Platform

This directory contains the static frontend website for Refferq, built with HTML, CSS, and vanilla JavaScript. Designed with a Tolt.io-inspired aesthetic.

🌐 Live Demo

πŸ“ Structure

frontend/
β”œβ”€β”€ index.html          # Landing page
β”œβ”€β”€ features.html       # Features showcase
β”œβ”€β”€ pricing.html        # Pricing & comparison
β”œβ”€β”€ docs.html          # Documentation
β”œβ”€β”€ styles.css         # Main stylesheet (Tolt.io inspired)
β”œβ”€β”€ script.js          # Interactive functionality
β”œβ”€β”€ sitemap.xml        # SEO sitemap
β”œβ”€β”€ robots.txt         # Crawler instructions
β”œβ”€β”€ manifest.json      # PWA manifest
β”œβ”€β”€ humans.txt         # Credits & tech stack
β”œβ”€β”€ security.txt       # Security disclosure
β”œβ”€β”€ .htaccess          # Apache configuration
└── README.md          # This file

🎨 Design Features

  • Clean & Minimal: Tolt.io-inspired design language
  • Responsive: Mobile-first, works on all devices
  • Fast Loading: Optimized CSS/JS, no heavy frameworks
  • Smooth Animations: Subtle fade-ins and transitions
  • SEO Optimized: Comprehensive meta tags and structured data
  • Accessible: WCAG 2.1 compliant

πŸš€ Deployment

Option 1: Static Hosting (Netlify, Vercel, GitHub Pages)

The frontend is pure HTML/CSS/JS, so it can be deployed anywhere:

Netlify:

# Drag and drop the 'frontend' folder to Netlify
# Or use Netlify CLI:
cd frontend
netlify deploy --prod

Vercel:

# Deploy using Vercel CLI:
cd frontend
vercel --prod

GitHub Pages:

# Push to gh-pages branch:
git subtree push --prefix frontend origin gh-pages

Option 2: Apache/Nginx Server

Copy files to your web server root:

# Apache
cp -r frontend/* /var/www/html/

# Nginx
cp -r frontend/* /usr/share/nginx/html/

Option 3: With Main Application

The frontend can be served alongside the Next.js application by placing files in the public directory.

πŸ”§ Configuration

Update URLs

Current domains configured:

  • Marketing site: https://refferq.com
  • Application: https://app.refferq.com

If deploying to different domains, update:

  • sitemap.xml - All <loc> tags
  • robots.txt - Sitemap URL
  • manifest.json - start_url and scope
  • security.txt - Canonical URL
  • All HTML files - Meta tags and canonical links

Customize Branding

  1. Colors - Edit CSS variables in styles.css:
:root {
    --primary: #10b981;      /* Main brand color */
    --primary-dark: #059669;  /* Hover state */
    /* ... other colors ... */
}
  1. Logo - Replace SVG in navigation across all HTML files

  2. Content - Update text in HTML files

πŸ“Š SEO Optimization

Included SEO Features

βœ… Meta Tags

  • Title, description, keywords
  • Open Graph (Facebook)
  • Twitter Cards
  • Canonical URLs

βœ… Structured Data

  • Sitemap.xml
  • Robots.txt
  • Humans.txt
  • Security.txt
  • Manifest.json

βœ… Performance

  • Gzip compression (.htaccess)
  • Browser caching
  • Optimized assets
  • Lazy loading images

βœ… Accessibility

  • Semantic HTML
  • ARIA labels
  • Keyboard navigation
  • Screen reader friendly

SEO Checklist

Before deploying, verify:

  • Update all URLs to your domain
  • Add Google Search Console verification
  • Add Google Analytics (optional)
  • Generate favicon.ico and app icons
  • Test mobile responsiveness
  • Check page load speed (aim for <3s)
  • Validate HTML (W3C Validator)
  • Test all internal links
  • Submit sitemap to search engines
  • Set up SSL certificate (HTTPS)

🎯 Pages Overview

1. Landing Page (index.html)

  • Hero section with value proposition
  • Feature highlights (6 cards)
  • Social proof statistics
  • Pricing overview
  • Comparison table
  • Call-to-action sections

2. Features Page (features.html)

  • Detailed feature categories:
    • Affiliate Management
    • Advanced Tracking
    • Flexible Commissions
    • Communication Tools
    • Developer Features
  • Visual feature cards with icons

3. Pricing Page (pricing.html)

  • Self-hosted (Free) vs Managed ($29/mo)
  • Feature comparison table
  • Refferq vs Competitors
  • FAQ accordion
  • Clear CTAs

4. Documentation (docs.html)

  • Sidebar navigation
  • Quick start guide
  • Installation instructions
  • API reference
  • Deployment guides
  • Code examples

πŸ› οΈ Technical Stack

  • HTML5 - Semantic markup
  • CSS3 - Custom properties, Grid, Flexbox
  • JavaScript (ES6+) - Vanilla JS, no dependencies
  • Design System - Tolt.io-inspired
  • Typography - System fonts for performance
  • Icons - Custom SVG icons

πŸ“± Browser Support

  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+
  • Mobile browsers (iOS Safari, Chrome Mobile)

πŸ”’ Security

Security features implemented:

  • Content Security Policy headers
  • X-Frame-Options (prevent clickjacking)
  • X-Content-Type-Options (MIME sniffing)
  • Referrer-Policy (privacy)
  • Security.txt for responsible disclosure

🀝 Contributing

To contribute to the frontend:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test across browsers
  5. Submit a pull request

Development Workflow

# Clone repository
git clone https://github.com/Refferq/Refferq.git
cd Refferq/frontend

# Make changes
# Test in browser (live server recommended)

# Validate HTML
# https://validator.w3.org/

# Check accessibility
# https://wave.webaim.org/

πŸ“ License

MIT License - See LICENSE for details.

πŸ†˜ Support

πŸ“ˆ Analytics (Optional)

To add analytics, insert before </head>:

<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-XXXXXXXXXX');
</script>

πŸŽ‰ Credits


Made with ❀️ by the Refferq community

⭐ Star us on GitHub | πŸ› Report Bug | πŸ’‘ Request Feature

About

🌟 Open Source Referral and Affiliate Marketing Platform for SaaS Business Owners - Launch your referral program in minutes!

https://refferq.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •