/* global React, Eyebrow, Button, Badge, PhoneFrame, Icon */
const { useEffect, useState } = React;
const HERO_VARIANTS = {
"clip-post-paid": { line1:"Clip. Post.", line2:"Get paid." },
"turn-views-cash": { line1:"Turn views", line2:"into cash." },
"first-payout-2w": { line1:"First payout,", line2:"two weeks out." },
};
function Hero({ onJoin, variant="clip-post-paid" }) {
const v = HERO_VARIANTS[variant] || HERO_VARIANTS["clip-post-paid"];
const [views, setViews] = useState(0);
const [paid, setPaid] = useState(0);
useEffect(() => {
let t = 0;
const id = setInterval(() => {
t += 1;
setViews(Math.min(12_482_190, Math.round(12_482_190 * t / 40)));
setPaid(Math.min(148_284, Math.round(148_284 * t / 40)));
if (t > 40) clearInterval(id);
}, 18);
return () => clearInterval(id);
}, []);
return (
{/* Lime radial spotlight */}
{/* Grain */}
LIVE
RIZZ · $1.00 RPM · payouts Fridays
{v.line1}
{v.line2}
Real campaigns from real apps. Post to your TikTok, track your views, get paid every Friday. Cash out from $20 — no contracts, no gatekeeping.
{/* Phone with clip preview */}
);
}
function Stat({label, value}) {
return (
);
}
function FakeClip(){
return (
{/* Background layer: Minecraft-style sky/landscape (SVG approximation).
To swap in a real Minecraft parkour video, replace
with: