# All files / src/app/banned page.tsx

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

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

    'use client';

    import { useTranslation } from 'react-i18next';

    export default function BannedPage() {
      const { t } = useTranslation();

      return (
        <div className="min-h-screen bg-gray-50 flex items-center justify-center p-4">
          <div className="w-full max-w-md text-center">
            <div className="mx-auto mb-4 w-12 h-12 bg-red-100 rounded-full flex items-center justify-center">
              <span className="text-red-600 font-bold">!</span>
            </div>
            <h1 className="text-xl font-semibold text-gray-900 mb-2">{t('banned.title')}</h1>
            <p className="text-gray-600 mb-4">{t('banned.description')}</p>
            <a href="/login" className="text-white bg-red-600 hover:bg-red-700 px-4 py-2 rounded inline-block">{t('common.goToLogin')}</a>
          </div>
        </div>
      );
    }