registration brand font + more translations

This commit is contained in:
2024-12-02 12:34:42 +01:00
parent 1eab535381
commit afffde8fa0
5 changed files with 72 additions and 64 deletions

View File

@@ -12,15 +12,15 @@
</div>
</div>
<div class="min-h-screen flex items-center justify-center" v-else>
<div class="max-w-md w-full py-12 px-6">
<div class="max-w-md w-full py-12 px-6 font-[Athiti]">
<img class="mx-auto h-24 w-auto" src="/favicon-lfk.png" alt />
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 text-center">
<h1 class="sm:text-3xl text-2xl font-semibold title-font mb-4 text-center">
Lauf für Kaya! - {{ $t("registrieren") }}
</h1>
<p class="mx-auto leading-relaxed text-base text-center">
<p class="mx-auto leading-relaxed text-base text-center font-medium">
{{ $t("register.register_now") }}
</p>
<p v-if="state.org_name !== ''" class="mx-auto leading-relaxed text-base text-center">
<p v-if="state.org_name !== ''" class="mx-auto leading-relaxed text-base text-center font-medium">
{{ $t("organization") }}: {{ state.org_name }}
</p>
<p v-if="state.org_name !== '' && state.org_teams.length > 0"
@@ -48,7 +48,7 @@
</option>
</select>
<p v-if="state.org_name === ''" class="mx-auto leading-relaxed text-base text-center">
Bürgerlauf
{{ $t('buergerlauf') }}
</p>
<div class="mt-4">
<label for="first_name" class="block font-medium">
@@ -172,7 +172,7 @@
class="h-4 w-4 text-indigo-600 border-gray-300 rounded" />
</div>
<div class="ml-3 text-sm">
<label for="address_activated" class="font-medium text-gray-400 select-none">{{ $t("provide_address")
<label for="address_activated" class="font-medium text-gray-600 select-none">{{ $t("provide_address")
}}</label>
</div>
</div>
@@ -282,7 +282,7 @@
class="h-4 w-4 text-indigo-600 border-gray-300 rounded" />
</div>
<div class="ml-3 text-sm">
<label for="agb_accepted" class="font-medium text-gray-400 select-none">
<label for="agb_accepted" class="font-medium text-gray-600 select-none">
{{ $t("i_accept", { tos: $t("privacy_policy") }) }}
<a target="_blank" rel="noreferrer,noopener" href="https://lauf-fuer-kaya.de/datenschutz/"
class="underline">{{ $t("privacy_policy") }}</a>
@@ -297,7 +297,7 @@
class="h-4 w-4 text-indigo-600 border-gray-300 rounded" />
</div>
<div class="ml-3 text-sm">
<label for="data_confirmed" class="font-medium text-gray-400 select-none">
<label for="data_confirmed" class="font-medium text-gray-600 select-none">
{{ $t("confirm_personal_data") }}
<span class="font-bold">*</span>
</label>
@@ -342,6 +342,8 @@ import isMobilePhone from "validator/es/lib/isMobilePhone";
import isPostalCode from "validator/es/lib/isPostalCode";
import { TYPE, useToast } from "vue-toastification";
import Footer from "@/components/Footer.vue";
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
const props = defineProps({
token: String,
@@ -419,7 +421,7 @@ function login() {
if (state.org_name !== "" && state.org_teams.length > 0) {
postdata.team = org_team.value;
}
toast("Registrierung läuft...");
toast(t('registration_running'));
const browserlocale = (
(navigator.languages && navigator.languages[0]) ||
""