fix(unit-3): Add settings/profile routes, move profile to UserMenu

- Add /settings (Owner only) and /profile routes under authenticatedRoute
  so sidebar stays visible and layout is preserved
- Create SettingsPage and ProfilePage placeholder components (coming soon)
- Remove Profile nav item from Sidebar — profile now accessible via UserMenu
- Add Profile link to UserMenu dropdown above logout
- Update Sidebar tests to reflect profile-free nav

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 12:56:16 +02:00
co-authored by Claude Haiku 4.5
parent 76b7bfc09b
commit f476e06691
6 changed files with 58 additions and 9 deletions
+13
View File
@@ -0,0 +1,13 @@
import { useTranslation } from 'react-i18next';
export function ProfilePage() {
const { t } = useTranslation();
return (
<div className="space-y-2">
<h1 className="text-2xl font-semibold" data-testid="profile-title">
{t('nav.profile')}
</h1>
<p className="text-muted-foreground">Coming soon.</p>
</div>
);
}
+13
View File
@@ -0,0 +1,13 @@
import { useTranslation } from 'react-i18next';
export function SettingsPage() {
const { t } = useTranslation();
return (
<div className="space-y-2">
<h1 className="text-2xl font-semibold" data-testid="settings-title">
{t('nav.settings')}
</h1>
<p className="text-muted-foreground">Coming soon.</p>
</div>
);
}