📅 dynamic copyright year in Footer component

ref #30
This commit is contained in:
Philipp Dormann 2021-01-10 17:17:07 +01:00
parent c089bb3929
commit b8a9e4f272

View File

@ -4,11 +4,14 @@
.getElementById("buildinfo")
.textContent.replace("RELEASE_INFO-", "")
.replace("-RELEASE_INFO", "");
const year = new Date().getFullYear();
</script>
<footer class="p-5 w-full">
<p class="text-sm text-gray-500 mt-4">
Lauf für Kaya! Läufersystem - Copyright © 2020 + proudly powered by
Lauf für Kaya! Läufersystem - Copyright ©
{year}
+ proudly powered by
<a
class="underline"
href="https://odit.services"