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.
- Website: https://refferq.com
- Application: https://app.refferq.com
- Repository: https://github.com/Refferq/Refferq
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
- 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
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 --prodVercel:
# Deploy using Vercel CLI:
cd frontend
vercel --prodGitHub Pages:
# Push to gh-pages branch:
git subtree push --prefix frontend origin gh-pagesCopy files to your web server root:
# Apache
cp -r frontend/* /var/www/html/
# Nginx
cp -r frontend/* /usr/share/nginx/html/The frontend can be served alongside the Next.js application by placing files in the public directory.
Current domains configured:
- Marketing site:
https://refferq.com - Application:
https://app.refferq.com
If deploying to different domains, update:
sitemap.xml- All<loc>tagsrobots.txt- Sitemap URLmanifest.json-start_urlandscopesecurity.txt- Canonical URL- All HTML files - Meta tags and canonical links
- Colors - Edit CSS variables in
styles.css:
:root {
--primary: #10b981; /* Main brand color */
--primary-dark: #059669; /* Hover state */
/* ... other colors ... */
}-
Logo - Replace SVG in navigation across all HTML files
-
Content - Update text in HTML files
β 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
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)
- Hero section with value proposition
- Feature highlights (6 cards)
- Social proof statistics
- Pricing overview
- Comparison table
- Call-to-action sections
- Detailed feature categories:
- Affiliate Management
- Advanced Tracking
- Flexible Commissions
- Communication Tools
- Developer Features
- Visual feature cards with icons
- Self-hosted (Free) vs Managed ($29/mo)
- Feature comparison table
- Refferq vs Competitors
- FAQ accordion
- Clear CTAs
- Sidebar navigation
- Quick start guide
- Installation instructions
- API reference
- Deployment guides
- Code examples
- 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
- Chrome 90+
- Firefox 88+
- Safari 14+
- Edge 90+
- Mobile browsers (iOS Safari, Chrome Mobile)
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
To contribute to the frontend:
- Fork the repository
- Create a feature branch
- Make your changes
- Test across browsers
- Submit a pull request
# 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/MIT License - See LICENSE for details.
- Documentation: docs.html
- GitHub Issues: github.com/Refferq/Refferq/issues
- Community: GitHub Discussions
- Email: hello@refferq.com
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>- Built By: Refferq Team
- Community Contributors: See CONTRIBUTORS.md
Made with β€οΈ by the Refferq community
β Star us on GitHub | π Report Bug | π‘ Request Feature