{t.hero.title}
{t.hero.subtitle}
{t.benefits.title}
{t.benefits.subtitle}
{t.ecosystem.title}
{t.ecosystem.subtitle}
{t.capabilities.title}
{t.capabilities.subtitle}
{t.safety.title}
{t.safety.subtitle}
{t.cta.title}
{t.cta.subtitle}
"use client";
import Link from "next/link";
import { useEffect, useState } from "react";
import { ArrowLeft, ArrowRight, ShieldCheck, SlidersHorizontal, UserCircle2, Lock, Smartphone, KeyRound, MailCheck, LogIn, Layers } from "lucide-react";
import { useLanguage } from "@/components/language-provider";
import { useLoginModal } from "@/components/login-modal-provider";
import { buttonVariants } from "@/components/ui/button";
import { Reveal } from "@/components/ui/reveal";
import { ScrollProgress } from "@/components/ui/scroll-progress";
import { cn } from "@/lib/utils";
export default function Home() {
const { t, lang } = useLanguage();
const { open: openLogin } = useLoginModal();
const Arrow = lang === "fa" ? ArrowLeft : ArrowRight;
const [heroIn, setHeroIn] = useState(false);
useEffect(() => {
const t = setTimeout(() => setHeroIn(true), 80);
return () => clearTimeout(t);
}, []);
const CHIPS = [
{ icon: ShieldCheck, fa: "احراز هویت امن", en: "Secure auth" },
{ icon: MailCheck, fa: "تأیید ایمیل", en: "Email verified" },
{ icon: LogIn, fa: "ورود بیدردسر", en: "Frictionless login" },
{ icon: Layers, fa: "احراز چند مرحلهای", en: "Multi-step auth" },
];
return (
{t.hero.subtitle}
{t.benefits.subtitle} {t.ecosystem.subtitle} {t.capabilities.subtitle} {t.safety.subtitle} {t.cta.subtitle}
{t.hero.title}
{t.benefits.title}
{t.ecosystem.title}
{t.capabilities.title}
{t.safety.title}
{t.cta.title}
{body}