function Hero() {
const { lang, t } = useLang();
const goTo = (id) => {
const el = document.getElementById(id);
if (el) {
const top = el.getBoundingClientRect().top + window.scrollY - 70;
window.scrollTo({ top, behavior: 'smooth' });
}
};
return (
{/* aurora blobs */}
{/* dot grid overlay */}
{/* eyebrow chip */}
{t.hero.eyebrow}
ยท
ofuq.tech
{t.hero.title1}
{t.hero.title2}
{t.hero.subtitle}
{/* stats strip */}
{[
{ l: t.hero.stat1Label, v: t.hero.stat1Value },
{ l: t.hero.stat2Label, v: t.hero.stat2Value },
{ l: t.hero.stat3Label, v: t.hero.stat3Value },
].map((s, i) => (
))}
{/* visual: orbital horizon */}
{/* scroll cue */}
{t.hero.scroll}
);
}
function HeroVisual() {
return (
{/* concentric orbits */}
{/* glassy card on top */}
shipping new
v1.0
);
}
window.Hero = Hero;