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 lang="ts" setup></script>
</script>
<template> <template>
<div class="flex align-items-center justify-content-center flex-column"> <div class="flex align-items-center justify-content-center flex-column">
@ -221,7 +220,7 @@
</div> </div>
<p> <p>
{{ $t("faqView.notFound") }}<br /> {{ $t("faqView.notFound") }}<br />
<a href="mailto:support@htwkalender.de">support@htwkalender.de</a> <a href="mailto:support@htwkalender.de">support@htwkalender.de</a>
</p> </p>
</div> </div>
</div> </div>

View File

@ -41,7 +41,7 @@ const items = computed(() => [
{ {
label: t("imprint"), label: t("imprint"),
icon: "pi pi-fw pi-id-card", 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"), label: t("privacy"),

View File

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