Added link to home from login

This commit is contained in:
Karl Ludwig Weise
2026-01-16 15:47:49 +01:00
parent ded98597fc
commit 95d0180c0b
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"welcome": "Willkommen bei OpenReception",
"home": "Startseite",
"poweredBy": "Betrieben mit",
"i18n": {
"label": "Sprache wählen",
+1
View File
@@ -1,6 +1,7 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"welcome": "Welcome to OpenReception",
"home": "Home",
"poweredBy": "Powered by",
"i18n": {
"label": "Select Language",
+5
View File
@@ -5,6 +5,8 @@
import { PageWithClaim } from "$lib/components/ui/page";
import LoginForm from "./login-form.svelte";
import type { EventReporter } from "$lib/components/ui/form/form-root.svelte";
import { Button } from "$lib/components/ui/button";
import { ROUTES } from "$lib/const/routes";
const { data } = $props();
@@ -26,6 +28,9 @@
</svelte:head>
<PageWithClaim isWithLanguageSwitch>
{#snippet left()}
<Button href={ROUTES.MAIN} size="sm" variant="link">{m["home"]()}</Button>
{/snippet}
<CenteredCard.Root>
<CenteredCard.Header>
<CenteredCard.Title>