'use client'; import { motion } from 'framer-motion'; import Link from 'next/link'; import { Home, Building, Briefcase, ArrowLeft } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import InteractiveBackground from '@/app/components/Animation/Background'; export default function ChooseRolePage() { const { t, i18n } = useTranslation(); const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.2, delayChildren: 0.3 } } }; const itemVariants = { hidden: { y: 20, opacity: 0 }, visible: { y: 0, opacity: 1, transition: { type: 'spring', stiffness: 100 } } }; const floatingAnimation = { y: [0, -10, 0], transition: { duration: 3, repeat: Infinity, ease: "easeInOut" } }; return (
{[...Array(20)].map((_, i) => ( ))}
{t('backToHome')} {t('chooseRole.welcomeToSweetHome')}

{t('chooseRole.subtitle')}

{t('chooseRole.owner')}

{t('chooseRole.ownerDesc')}

  • {t('chooseRole.ownerFeature1')}
  • {t('chooseRole.ownerFeature2')}
  • {t('chooseRole.ownerFeature3')}
{t('chooseRole.createOwnerAccount')}

{t('chooseRole.tenant')}

{t('chooseRole.tenantDesc')}

  • {t('chooseRole.tenantFeature1')}
  • {t('chooseRole.tenantFeature2')}
  • {t('chooseRole.tenantFeature3')}
{t('chooseRole.createTenantAccount')}

{t('chooseRole.agent')}

{t('chooseRole.agentDesc')}

  • {t('chooseRole.agentFeature1')}
  • {t('chooseRole.agentFeature2')}
  • {t('chooseRole.agentFeature3')}
{t('chooseRole.createAgentAccount')}
{t('chooseRole.alreadyHaveAccount')}{' '} {t('login')}
); }