# All files / src/pages LoginPage.tsx

0% Statements 0/2
100% Branches 0/0
0% Functions 0/1
0% Lines 0/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24

     import { LoginForm } from '../components/features/LoginForm';
    import { useTranslation } from 'react-i18next';

    function LoginPage() {
      const { t } = useTranslation();
      return (
        <div className="flex items-center justify-center py-16 px-4">
          <div className="w-full max-w-sm">
            <div className="text-center mb-8">
              <h1 className="text-[24px] font-semibold text-text-primary mb-1">{t('login.welcome')}</h1>
              <p className="text-text-secondary text-[14px]">{t('login.subtitle')}</p>
            </div>
            <div className="border border-border/50 rounded-lg overflow-hidden">
              <div className="p-6">
                <LoginForm />
              </div>
            </div>
          </div>
        </div>
      );
    }

    export { LoginPage };