// Hero: the Reddit quote headline + prompt input. // Visitors can type into the prompt; cycling placeholders, suggestion chips, submit handler logs to console. const HERO_PLACEHOLDERS = [ "A booking site for my dog grooming business…", "An invoice tracker for my freelance clients…", "A members-only recipe site for my supper club…", "A custom CRM for our 3-person real estate team…", "A tip calculator app for our restaurant staff…", "A waitlist site for my new ceramics studio…", ]; const HERO_CHIPS = [ "📋 Client intake form", "📅 Booking site", "🧾 Invoice tracker", "🛒 Online store", "📰 Email newsletter", ]; function Hero({ onStart, variant = "quote" }) { const [text, setText] = React.useState(""); const [phIdx, setPhIdx] = React.useState(0); const [phChars, setPhChars] = React.useState(0); const [deleting, setDeleting] = React.useState(false); const taRef = React.useRef(null); // Type-on placeholder when textarea is empty. React.useEffect(() => { if (text.length > 0) return undefined; const full = HERO_PLACEHOLDERS[phIdx]; const speed = deleting ? 18 : 38; const t = setTimeout(() => { if (!deleting) { if (phChars < full.length) setPhChars(phChars + 1); else setTimeout(() => setDeleting(true), 1700); } else { if (phChars > 0) setPhChars(phChars - 1); else { setDeleting(false); setPhIdx((phIdx + 1) % HERO_PLACEHOLDERS.length); } } }, speed); return () => clearTimeout(t); }, [text, phIdx, phChars, deleting]); const placeholder = HERO_PLACEHOLDERS[phIdx].slice(0, phChars); const submit = () => { const value = text || HERO_PLACEHOLDERS[phIdx]; if (onStart) onStart(value); }; const useChip = (chip) => { const clean = chip.replace(/^[^\w]+/, "").trim(); setText(`Build me ${clean.toLowerCase()} for my business.`); if (taRef.current) taRef.current.focus(); }; return (
{/* ambient glows behind hero */}
Live from minute one {variant === "promise" ? ( <>

Keep vibing.
All the way to launch.

idea → live → marketed → customers

"I built my product, now what?" Vibn is the answer.
Your AI handles the technical stuff, puts your idea online, and helps you find your first customers.

) : ( <>

"I built my product,
now what?"

posted 2 hours ago · r/SideProject

Keep vibing. All the way to launch.
Your AI handles the technical stuff, puts your idea online, and helps you find your first customers.

)} {/* Prompt */}