fix: Fix navigation links and restore LanguageSwitcher

- Add missing nav keys to types.ts, de.ts, en.ts (sessions, buddies, stats, wishlist)
- Add LanguageSwitcher back to authenticated header
- Create /sessions page with SessionList
- Create /buddies page with BuddyList
- Create /stats page with StatsDashboard
- Create /wishlist placeholder page
This commit is contained in:
2026-01-18 21:18:25 +01:00
parent d109dfad0e
commit 1d02079df3
12 changed files with 506 additions and 110 deletions

38
src/app/sessions/page.tsx Normal file
View File

@@ -0,0 +1,38 @@
'use client';
import { useRouter } from 'next/navigation';
import { ArrowLeft, Calendar, Plus } from 'lucide-react';
import SessionList from '@/components/SessionList';
import { useI18n } from '@/i18n/I18nContext';
export default function SessionsPage() {
const router = useRouter();
const { t } = useI18n();
return (
<main className="min-h-screen bg-zinc-950 p-4 pb-24">
<div className="max-w-2xl mx-auto">
{/* Header */}
<div className="flex items-center gap-4 mb-8">
<button
onClick={() => router.back()}
className="p-2 rounded-xl bg-zinc-900 border border-zinc-800 text-zinc-400 hover:text-white hover:border-zinc-700 transition-colors"
>
<ArrowLeft size={20} />
</button>
<div>
<h1 className="text-2xl font-bold text-white">
{t('session.title')}
</h1>
<p className="text-sm text-zinc-500">
Manage your tasting events
</p>
</div>
</div>
{/* Session List */}
<SessionList />
</div>
</main>
);
}