Frontend: design system, navigation, auth guard, signup screen #33

Merged
marcel merged 25 commits from feat/issue-16-design-system into master 2026-04-02 19:00:19 +02:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit 845e669cde - Show all commits

View File

@@ -3,6 +3,10 @@
import SignupForm from '$lib/auth/SignupForm.svelte';
</script>
<svelte:head>
<title>Konto erstellen — Mealprep</title>
</svelte:head>
<!-- Mobile: stacked, Desktop: side by side -->
<div class="flex min-h-screen flex-col md:flex-row">
<BrandPanel />

View File

@@ -20,6 +20,11 @@ describe('signup page', () => {
expect(screen.getByText('Mealprep')).toBeInTheDocument();
});
it('sets the page title', () => {
render(Page);
expect(document.title).toBe('Konto erstellen — Mealprep');
});
it('does not render any navigation chrome', () => {
render(Page);
// No nav element should exist