This commit is contained in:
@@ -483,7 +483,7 @@
|
||||
import { reactive } from "vue";
|
||||
import { TYPE, useToast } from "vue-toastification";
|
||||
import axios from "redaxios";
|
||||
import bwipjs from "bwip-js";
|
||||
import { toCanvas } from "bwip-js";
|
||||
import Footer from "@/components/Footer.vue";
|
||||
import { useI18n } from 'vue-i18n'
|
||||
const { t } = useI18n()
|
||||
@@ -505,7 +505,7 @@ function textToBase64Barcode(text) {
|
||||
) {
|
||||
codeconfig.height = 10;
|
||||
}
|
||||
bwipjs.toCanvas(canvas, codeconfig);
|
||||
toCanvas(canvas, codeconfig);
|
||||
return canvas.toDataURL("image/png");
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
<div class="min-h-screen flex items-center justify-center">
|
||||
<div class="max-w-md w-full py-12 px-6">
|
||||
<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">Lauf für Kaya! - {{ $t('profile')
|
||||
<h1 class="sm:text-3xl text-2xl font-semibold title-font mb-4 text-center font-[Athiti]">Lauf für Kaya! - {{
|
||||
$t('profile')
|
||||
}}</h1>
|
||||
<p class="mx-auto leading-relaxed text-base text-center">
|
||||
{{ $t('access_is_only_provided_via_your_email_link') }}
|
||||
@@ -27,7 +28,7 @@
|
||||
class="dark:bg-gray-800 mt-1 block w-full shadow-sm sm:text-sm border-2 bg-gray-50 text-gray-500 rounded-md p-2" />
|
||||
<p v-if="!isEmail(user_email) && user_email !== ''" class="text-sm">{{
|
||||
$t('please_provide_valid_mail')
|
||||
}}</p>
|
||||
}}</p>
|
||||
</div>
|
||||
<div class="mt-2">
|
||||
<button :disabled="(!state.submit_enabled)"
|
||||
|
||||
Reference in New Issue
Block a user