diff --git a/app/src/components/AuthShell.tsx b/app/src/components/AuthShell.tsx
index 1a9dcc0..3c93f38 100644
--- a/app/src/components/AuthShell.tsx
+++ b/app/src/components/AuthShell.tsx
@@ -1,4 +1,5 @@
import type { ReactNode } from 'react';
+import { useTranslation } from 'react-i18next';
import { Dumbbell, Handshake, Ruler } from 'lucide-react';
import { Card, ThemeToggle, LanguageToggle } from './ui';
import { Brandmark } from './Brandmark';
@@ -6,6 +7,12 @@ import { Brandmark } from './Brandmark';
/* Layout stron auth: panel brandingowy (gradient w akcencie + wzór siatki, claim)
+ panel formularza. Na mobile — jeden słupek (branding u góry). */
export default function AuthShell({ children }: { children: ReactNode }) {
+ const { t } = useTranslation('auth');
+ const FEATURES = [
+ { icon: Handshake, title: t('featureCoachingTitle'), desc: t('featureCoachingDesc') },
+ { icon: Dumbbell, title: t('featureSetsTitle'), desc: t('featureSetsDesc') },
+ { icon: Ruler, title: t('featureMeasuresTitle'), desc: t('featureMeasuresDesc') },
+ ];
return (
@@ -35,34 +42,13 @@ export default function AuthShell({ children }: { children: ReactNode }) {
FitOS
- Trening, który
-
- się dowozi.
+ {t('claimTitle')}
- Od planowania po ostatnią serię.
+ {t('claimSubtitle')}
-
- {[
- {
- icon: Handshake,
- title: 'Coaching',
- desc: 'Pod okiem doświadoczonego trenera.',
- },
- {
- icon: Dumbbell,
- title: 'Serie planowe',
- desc: 'Tydzień → dzień → sesja → wynik.',
- },
- {
- icon: Ruler,
- title: 'Pomiary ciała',
- desc: 'Waga i obwody w czasie: historia statystyk.',
- },
- ].map(({ icon: Icon, title, desc }) => (
+
+ {FEATURES.map(({ icon: Icon, title, desc }) => (
-
void;
}) {
+ const { t } = useTranslation('nav');
return (
@@ -274,8 +278,8 @@ export default function Layout() {