shareSponsorLink function

This commit is contained in:
Philipp Dormann 2025-03-17 22:20:54 +01:00
parent c94f9e550e
commit ccea9d6197
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -500,6 +500,14 @@ const newsponsor_tel = ref("")
const newsponsor_vorname = ref("")
const newsponsor_nachname = ref("")
function shareSponsorLink() {
navigator.share({
title: state.firstname,
text: "Am 23.05.2025 findet der Lauf für Kaya! statt 🏃‍♂️🏃‍♀️\nWerde mein Sponsor beim Lauf für Kaya! 2025 und unterstütze mich pro gelaufenem Kilometer: https://lauf-fuer-kaya.de",
// url: "https://lauf-fuer-kaya.de",
})
}
function textToBase64Barcode(text) {
const canvas = document.createElement("canvas");
let codeconfig = {