fix up login screen

This commit is contained in:
2025-03-15 11:06:16 +01:00
parent 004c0f9c05
commit 6ba03fc10d
4 changed files with 55 additions and 44 deletions

View File

@@ -1,10 +1,12 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"about": "About",
"accept": "Accept",
"add": "Add",
"address": "Address",
"alive": "Alive",
"allergies": "Allergies",
"allow_family_tree_admin_access": "Allow Family Tree Admin Access",
"animal": "Animal",
"audio": "Audio",
"back": "Back",
@@ -24,11 +26,13 @@
"connection": "Connection",
"connection_type": "Connection Type",
"contact": "Contact",
"cookie_disclaimer": "This website uses cookies to ensure you get the best experience, including storing the theme and handling user sessions.",
"cookie_policy": "Cookie Policy",
"country": "Country",
"dark": "Dark",
"death": "Death",
"deceased": "Deceased",
"deny": "Deny",
"description": "Description",
"details": "Details",
"directions": "Directions",
@@ -39,6 +43,7 @@
"export_something": "Export{thing}",
"extra_names": "Extra Names",
"faith": "Faith",
"failed_to_create_user": "Failed to create user",
"family_tree": "Family Tree",
"favourite": "Favourite",
"favourite_recipes": "Favourite Recipes",
@@ -67,9 +72,11 @@
"medication": "Medication",
"message_for_future_generations": "Message for Future Generations",
"middle_name": "Middle Name",
"missing_field": "{field} is missing",
"mothers_first_name": "Mother's First Name",
"mothers_last_name": "Mother's Last Name",
"nation": "Nation",
"no": "No",
"no_data": "No Data",
"notes": "Notes",
"occupation": "Occupation",
@@ -85,6 +92,8 @@
"place_of_death": "Place of Death",
"plant": "Plant",
"politics": "Politics",
"profile_id": "Profile ID",
"profiel_id_registration":"If someone already created a profile for you, ask them for your profiles ID and enter it here.",
"profile_picture": "Profile Picture",
"privacy_policy": "Privacy Policy",
"recipe": "Recipe",
@@ -105,7 +114,7 @@
"sibling": "Sibling",
"sign_in": "Sign In",
"sign_out": "Sign Out",
"site_intro": "Welcome to Generations Heritage, a place to record and share your family history.",
"site_intro": "Welcome to Generations Heritage, a place to record your family tree and share your family history. Create a digital intellectual legacy for your descendants.",
"skill": "Skill",
"skin_colour": "Skin Colour",
"source": "Source",
@@ -129,5 +138,6 @@
"website": "Website",
"weight": "Weight",
"welcome": "Welcome to Generations Heritage",
"yes": "Yes",
"zip_code": "Zip Code"
}

View File

@@ -1,10 +1,12 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"about": "Rólunk",
"accept": "Elfogadás",
"add": "Hozzáadás",
"address": "Cím",
"alive": "Élő",
"allergies": "Allergiák",
"allow_family_tree_admin_access": "Családfa adminisztrátor hozzáférésének engedélyezése",
"animal": "Állat",
"audio": "Hang",
"back": "Vissza",
@@ -24,11 +26,13 @@
"connection": "Kapcsolat",
"connection_type": "Kapcsolat típusa",
"contact": "Kapcsolat",
"cookie_disclaimer": "Ez a weboldal sütiket használ annak érdekében, hogy a lehető legjobb élményt nyújtsa, beleértve a téma tárolását és a felhasználói munkamenetek kezelését.",
"cookie_policy": "Süti szabályzat",
"country": "Ország",
"dark": "Sötét",
"death": "Halál",
"deceased": "Elhunyt",
"deny": "Elutasítás",
"description": "Leírás",
"details": "Részletek",
"directions": "Útvonalak",
@@ -39,6 +43,7 @@
"export_something": "{thing}Exportálás",
"extra_names": "Extra nevek",
"faith": "Vallás",
"failed_to_create_user": "Felhasználó létrehozása sikertelen",
"family_tree": "Családfa",
"favourite": "Kedvenc",
"favourite_recipes": "Kedvenc receptek",
@@ -67,9 +72,11 @@
"medication": "Gyógyszer",
"message_for_future_generations": "Üzenet a jövő generációinak",
"middle_name": "Második név",
"mothers_first_name": "Anya keresztneve",
"mothers_last_name": "Anya vezetékneve",
"missing_field": "{field} mező hiányzik",
"mothers_first_name": "Anyja keresztneve",
"mothers_last_name": "Anyja vezetékneve",
"nation": "Nemzet",
"no": "Nem",
"no_data": "Nincs adat",
"notes": "Jegyzetek",
"occupation": "Foglalkozás",
@@ -105,7 +112,7 @@
"sibling": "Testvér",
"sign_in": "Bejelentkezés",
"sign_out": "Kijelentkezés",
"site_intro": "Üdvözöljük a Generációk Öröksége oldalán, ahol rögzítheti és megoszthatja családtörténetét.",
"site_intro": "Üdvözöljük a Generációk Öröksége oldalán, ahol rögzítheti családfáját és megoszthatja családtörténetét szereteivel. Hozon létre digitális szellemi hagyatékot leszármazottai számára.",
"skill": "Képesség",
"skin_colour": "Bőrszín",
"source": "Forrás",
@@ -129,5 +136,6 @@
"website": "Weboldal",
"weight": "Súly",
"welcome": "Üdvözöljük a Generációk Öröksége oldalán",
"yes": "Igen",
"zip_code": "Irányítószám"
}

View File

@@ -1,8 +1,6 @@
<script lang="ts">
import {sign_in,site_intro,title,family_tree} from '$lib/paraglide/messages.js';
import Google from "./web_neutral_rd_SI.svg";
import FamilyTree from "./highresolution_icon_no_background_croped.png";
import ThemeButton from '$lib/theme-select.svelte';
import { sign_in, site_intro, title, family_tree, welcome } from '$lib/paraglide/messages.js';
import FamilyTree from './highresolution_icon_no_background_croped.png';
</script>
<svelte:head>
@@ -10,25 +8,35 @@
</svelte:head>
<div class="hero bg-base-200 min-h-screen">
<div class="hero-content flex flex-col items-center justify-center text-center">
<div class="max-w-md">
<figure class="px-10 pt-10 top-margin-10">
<img
src="{FamilyTree}"
alt="{family_tree()}"
class="rounded-xl" />
</figure>
<h1 class="text-5xl font-bold">{sign_in()}</h1>
<p class="py-6">
{site_intro()}
</p>
<a href="/login/google" class="inline-block">
<img src="{Google}" alt="{sign_in()}" class="w-full h-auto">
</a>
</div>
</div>
<div class="hero-content flex flex-col items-center justify-center text-center">
<div class="max-w-lg">
<figure class="top-margin-10 px-10 pt-10">
<img src={FamilyTree} alt={family_tree()} class="rounded-xl" />
</figure>
<h1 class="text-3xl font-bold">{welcome()}</h1>
<p class="py-6">
{site_intro()}
</p>
<a href="/login/google" class="btn rounded-full bg-white text-black border-[#e5e5e5]">
<!-- Google -->
<svg
aria-label="Google logo"
width="16"
height="16"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
><g
><path d="m0 0H512V512H0" fill="none"></path><path
fill="#34a853"
d="M153 292c30 82 118 95 171 60h62v48A192 192 0 0190 341"
></path><path fill="#4285f4" d="m386 400a140 175 0 0053-179H260v74h102q-7 37-38 57"
></path><path fill="#fbbc02" d="m90 341a208 200 0 010-171l63 49q-12 37 0 73"></path>
<path fill="#ea4335" d="m153 219c22-69 116-109 179-50l55-54c-78-75-230-72-297 55"
></path></g
></svg
>
Google {sign_in()}
</a>
</div>
</div>
</div>
<div class="absolute top-2 right-2">
<ThemeButton />
</div>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 18 KiB