Merge branch '43-bug-imprint-link-without-www-loading' into 'main'

Resolve "bug imprint link without www loading"

Closes #43

See merge request ekresse/htwkalender!29
This commit is contained in:
ekresse
2024-03-20 00:59:28 +00:00
3 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,4 @@
<script lang="ts" setup>
</script>
<script lang="ts" setup></script>
<template>
<div class="flex align-items-center justify-content-center flex-column">

View File

@ -41,7 +41,7 @@ const items = computed(() => [
{
label: t("imprint"),
icon: "pi pi-fw pi-id-card",
url: "https://htwk-leipzig.de/hochschule/kontakt/impressum/",
url: "https://www.htwk-leipzig.de/hochschule/kontakt/impressum/",
},
{
label: t("privacy"),

View File

@ -67,15 +67,17 @@ const router = createRouter({
name: "privacy-policy",
component: Faq,
beforeEnter() {
window.location.href = "https://www.htwk-leipzig.de/hochschule/kontakt/datenschutzerklaerung/";
}
window.location.href =
"https://www.htwk-leipzig.de/hochschule/kontakt/datenschutzerklaerung/";
},
},
{
path: "/imprint",
name: "imprint",
component: Faq,
beforeEnter() {
window.location.href = "https://www.htwk-leipzig.de/hochschule/kontakt/impressum/";
window.location.href =
"https://www.htwk-leipzig.de/hochschule/kontakt/impressum/";
},
},
{