"use client"; import React, { useState, useEffect, useRef } from 'react'; import Header from '../components/affiliate/header/header'; import toast from 'react-hot-toast'; import { apiClient } from '../utils/apiClient'; import './affiliate.scss'; const AffiliatePage = () => { const [formData, setFormData] = useState({ fullName: '', email: '', website: '', socialMedia: '', message: '' }); const [loading, setLoading] = useState(false); const sectionRefs = useRef<(HTMLElement | null)[]>([]); // Intersection Observer for animations useEffect(() => { const observerOptions = { root: null, rootMargin: '0px', threshold: 0.1 }; const observerCallback = (entries: IntersectionObserverEntry[]) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.classList.add('visible'); } }); }; const observer = new IntersectionObserver(observerCallback, observerOptions); sectionRefs.current.forEach(section => { if (section) observer.observe(section); }); return () => { sectionRefs.current.forEach(section => { if (section) observer.unobserve(section); }); }; }, []); const handleChange = (e: React.ChangeEvent) => { const { name, value } = e.target; setFormData(prev => ({ ...prev, [name]: value })); }; const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); setLoading(true); try { // Replace with your actual API endpoint const response = await apiClient('/affiliate/apply', { method: 'POST', body: JSON.stringify(formData), }); if (response.success) { toast.success('Your application has been submitted successfully!'); setFormData({ fullName: '', email: '', website: '', socialMedia: '', message: '' }); } else { toast.error(response.message || 'Something went wrong. Please try again.'); } } catch (error) { console.error('Application error:', error); toast.error('Failed to submit your application. Please try again later.'); } finally { setLoading(false); } }; const benefits = [ { title: 'Industry-Leading Commission', description: 'Earn up to 15% commission on every qualified sale, with tiered rates that increase as you drive more sales.', icon: 'bi-coin' }, { title: '90-Day Cookie Duration', description: 'Our extended cookie window gives your referrals three full months to complete their purchase.', icon: 'bi-clock-history' }, { title: 'Real-Time Analytics', description: 'Track clicks, conversions, and earnings in our intuitive, data-rich affiliate dashboard.', icon: 'bi-graph-up-arrow' }, { title: 'Reliable Monthly Payments', description: 'Get paid on time via PayPal, direct deposit, or cryptocurrency with low minimum thresholds.', icon: 'bi-cash-stack' }, { title: 'Premium Marketing Resources', description: 'Access exclusive banners, product images, and pre-written content optimized for conversions.', icon: 'bi-megaphone' }, { title: 'Dedicated Partner Manager', description: 'Work directly with a personal affiliate manager to optimize your strategy and earnings.', icon: 'bi-headset' } ]; const steps = [ { number: 1, title: 'Apply to Join', description: 'Complete our simple application form with information about your platform and audience.' }, { number: 2, title: 'Get Approved', description: 'Our team reviews applications within 48 hours and provides quick approval for qualified partners.' }, { number: 3, title: 'Access Tools & Resources', description: 'Set up your account, grab your affiliate links, and access our comprehensive marketing materials.' }, { number: 4, title: 'Start Earning', description: 'Promote StrikeTech products and earn competitive commissions on every qualified sale.' } ]; return (
sectionRefs.current[0] = el}>

Why Partner With Us

Join the StrikeTech affiliate network and enjoy industry-leading benefits designed to maximize your earnings and provide everything you need for success.

{benefits.map((benefit, index) => (

{benefit.title}

{benefit.description}

))}
sectionRefs.current[1] = el}>

How Our Program Works

Becoming a StrikeTech affiliate partner is simple. Follow these four easy steps to start earning commissions on your referrals.

{steps.map((step) => (
{step.number}

{step.title}

{step.description}

))}
sectionRefs.current[2] = el}>

Tiered Commission Structure

Our performance-based structure rewards you more as you drive higher sales volume. The more you sell, the higher your commission rate.

Monthly Sales Commission Rate
1-5 sales 10%
6-15 sales 12%
16-30 sales 14%
31+ sales 15%

*Commission rates are based on the number of qualified sales generated per calendar month. Rate increases are applied automatically.

sectionRefs.current[3] = el}>

Apply to Become a Partner

Ready to start earning? Complete the application below to join our exclusive affiliate network. Our team will review your information and respond within 48 hours.

sectionRefs.current[4] = el}>

Frequently Asked Questions

Get answers to common questions about the StrikeTech affiliate program. If you don't find what you're looking for, please contact our affiliate team.

When and how will I get paid?

We process payments on the 15th of each month for the previous month's earnings. Payment options include PayPal, direct bank transfer, and cryptocurrency. The minimum payout threshold is $50.

Which products can I promote?

You can promote any product in the StrikeTech catalog. Premium and limited edition items carry the same commission rates, giving you flexibility in your promotion strategy.

Is there a traffic requirement?

We don't require minimum traffic levels, but we do look for partners with engaged audiences relevant to our product categories. Quality of traffic is more important than quantity.

Can international affiliates join?

Yes! Our program welcomes affiliates from around the world. We offer multiple payment methods that work internationally, and our tracking system operates 24/7 across all time zones.

How is the 90-day cookie tracked?

When a visitor clicks your affiliate link, we place a tracking cookie that remains active for 90 days. You'll receive credit for any purchase they make within that period, even if they visit our site multiple times.

What marketing materials are available?

We provide a comprehensive resource library including high-converting banners, product images, comparison charts, review templates, email swipe copy, and social media content—all optimized for different platforms.

); }; export default AffiliatePage;