import { motion } from "framer-motion"; import { itemVariants } from "../Animation/HeaderLoginAnimation"; import { ArrowLeft, KeyRound,Home } from "lucide-react"; import { useTranslation } from "react-i18next"; import Link from "next/link"; //Back Link export function BackLink() { const { t } = useTranslation(); return ( <> {t("backToHome")} ); } export function HeaderForm({ step }) { const { t } = useTranslation(); return ( <>
{step === "otp" ? : }

SweetHome

{step === "otp" ? t("enterOTP") : t("welcomeBack")}

); }