diff --git a/apps/frontend/src/components/LanguageSwitcher.tsx b/apps/frontend/src/components/LanguageSwitcher.tsx index 534e669..4c5e5f0 100644 --- a/apps/frontend/src/components/LanguageSwitcher.tsx +++ b/apps/frontend/src/components/LanguageSwitcher.tsx @@ -13,22 +13,20 @@ export function LanguageSwitcher({ className }: { className?: string }) { return (
- + {languages.map((item) => ( -
{children}
- {footer && ( -
- {footer} -
- )} +
{children}
+ {footer && }
, document.body, diff --git a/apps/frontend/src/pages/ArchivePage.tsx b/apps/frontend/src/pages/ArchivePage.tsx index 87e7ca3..f006377 100644 --- a/apps/frontend/src/pages/ArchivePage.tsx +++ b/apps/frontend/src/pages/ArchivePage.tsx @@ -15,9 +15,9 @@ export function ArchivePage() { return (
-
-

{t('archive.title')}

-

+

+

{t('archive.title')}

+

{t('archive.description')}

@@ -25,10 +25,10 @@ export function ArchivePage() { {isLoading &&
{t('common.loading')}
} {!isLoading && data && data.length === 0 && ( -
- -

{t('archive.emptyTitle')}

-

{t('archive.emptyText')}

+
+ +

{t('archive.emptyTitle')}

+

{t('archive.emptyText')}

)} diff --git a/apps/frontend/src/pages/CompletedPage.tsx b/apps/frontend/src/pages/CompletedPage.tsx index 3b517b1..34c45f7 100644 --- a/apps/frontend/src/pages/CompletedPage.tsx +++ b/apps/frontend/src/pages/CompletedPage.tsx @@ -15,9 +15,9 @@ export function CompletedPage() { return (
-
-

{t('completed.title')}

-

+

+

{t('completed.title')}

+

{t('completed.description')}

@@ -25,10 +25,10 @@ export function CompletedPage() { {isLoading &&
{t('common.loading')}
} {!isLoading && data && data.length === 0 && ( -
- -

{t('completed.emptyTitle')}

-

+

+ +

{t('completed.emptyTitle')}

+

{t('completed.emptyText')}

diff --git a/apps/frontend/src/pages/DashboardPage.tsx b/apps/frontend/src/pages/DashboardPage.tsx index 97f73c7..5597838 100644 --- a/apps/frontend/src/pages/DashboardPage.tsx +++ b/apps/frontend/src/pages/DashboardPage.tsx @@ -26,10 +26,10 @@ export function DashboardPage() { return (
-
+
-

{t('dashboard.title')}

-

+

{t('dashboard.title')}

+

{t('dashboard.description')} {user && ( - +

+
-

{t('dashboard.emptyTitle')}

-

+

{t('dashboard.emptyTitle')}

+

{t('dashboard.emptyText')}

diff --git a/apps/frontend/src/pages/LoginPage.tsx b/apps/frontend/src/pages/LoginPage.tsx index 904e5dc..f2cd062 100644 --- a/apps/frontend/src/pages/LoginPage.tsx +++ b/apps/frontend/src/pages/LoginPage.tsx @@ -47,11 +47,11 @@ export function LoginPage() { }); return ( -
-
+
+
-
+
@@ -60,7 +60,7 @@ export function LoginPage() {

{t('app.name')}

-
+

{t('login.title')}

{t('login.description')} diff --git a/apps/frontend/src/pages/NotFoundPage.tsx b/apps/frontend/src/pages/NotFoundPage.tsx index 7b15e12..ddcba09 100644 --- a/apps/frontend/src/pages/NotFoundPage.tsx +++ b/apps/frontend/src/pages/NotFoundPage.tsx @@ -5,8 +5,8 @@ import { useI18n } from '@/i18n/i18n'; export function NotFoundPage() { const { t } = useI18n(); return ( -

-
+
+

404

{t('notFound.text')}

diff --git a/apps/frontend/src/pages/ProfileSettingsPage.tsx b/apps/frontend/src/pages/ProfileSettingsPage.tsx index b206940..9b51f78 100644 --- a/apps/frontend/src/pages/ProfileSettingsPage.tsx +++ b/apps/frontend/src/pages/ProfileSettingsPage.tsx @@ -122,9 +122,9 @@ export function ProfileSettingsPage() { return (
-
-

{t('profile.title')}

-

+

+

{t('profile.title')}

+

{t('profile.publicPage')} /u/{data?.slug ?? '...'}.

@@ -133,18 +133,18 @@ export function ProfileSettingsPage() { {isLoading ? (
{t('common.loading')}
) : ( -
-
- + +
+ {avatarPreview ? ( - + ) : ( )} -
-

{t('profile.avatar')}

-

{t('profile.avatarHint')}

+
+

{t('profile.avatar')}

+

{t('profile.avatarHint')}

)}
-
+