Files
CollabTable/frontend/src/lib/features/auth/AuthPage.svelte
T
Gabriel20xx ac08be0248
Lint / Lint (push) Failing after 7s
Tests / Go backend (push) Failing after 6s
Tests / Dashboard checks (push) Failing after 4s
Docker / Docker Build & Push (push) Failing after 10s
Migrate shared UI and backend components
2026-08-04 17:05:37 +02:00

19 lines
518 B
Svelte

<script>
import { AuthPage as SharedAuthPage } from '@gabriel20xx/shared-code/web-ui';
import { useAuth } from '$lib/features/auth/auth.svelte.js';
let { setupRequired } = $props();
const auth = useAuth();
const onLogin = (input) => auth.login(input.identifier, input.password);
const onSetup = (input) => auth.setup(input.username, input.email, input.password);
</script>
<SharedAuthPage
brand="CollabTable"
tagline="Collaborative tables for your team"
{setupRequired}
{onLogin}
{onSetup}
/>