Files
htwkalender/frontend/src/components/FaqPage.vue
2024-06-22 22:55:46 +02:00

289 lines
10 KiB
Vue

<!--
Calendar implementation for the HTWK Leipzig timetable. Evaluation and display of the individual dates in iCal format.
Copyright (C) 2024 HTWKalender support@htwkalender.de
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<script lang="ts" setup>
</script>
<template>
<div class="flex align-items-center justify-content-center flex-column">
<div class="flex align-items-center justify-content-center m-2">
<h1>{{ $t("faqView.headline") }}</h1>
</div>
<div class="flex flex-column lg:col-7">
<div class="grid my-2">
<div class="col">
{{ $t("faqView.firstQuestion") }}
</div>
<div class="col">
{{ $t("faqView.firstAnswer") }}
</div>
</div>
<div class="grid my-2">
<div class="col">{{ $t("faqView.secondQuestion") }}</div>
<div class="col">
{{ $t("faqView.secondAnswer") }}
</div>
</div>
<div class="grid my-2">
<div class="col">{{ $t("faqView.thirdQuestion") }}</div>
<div class="col">
<Accordion>
<AccordionTab :header="$t('faqView.thirdAnswer.tabTitle')">
<ol>
<li>{{ $t("faqView.thirdAnswer.google.first") }}</li>
<li>
{{ $t("faqView.thirdAnswer.google.second") }}
</li>
<li>
{{ $t("faqView.thirdAnswer.google.third") }}
</li>
<li>
{{ $t("faqView.thirdAnswer.google.fourth") }}
</li>
</ol>
</AccordionTab>
<AccordionTab
:header="$t('faqView.thirdAnswer.microsoft_outlook.title')"
>
<p>
{{
$t("faqView.thirdAnswer.microsoft_outlook.outlook_2010.title")
}}
</p>
<ol>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2010.first",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2010.second",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2010.third",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2010.fourth",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2010.fifth",
)
}}
</li>
</ol>
<p>
{{
$t("faqView.thirdAnswer.microsoft_outlook.outlook_2007.title")
}}
</p>
<ol>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2007.first",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2007.second",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2007.third",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2007.fourth",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2007.fifth",
)
}}
</li>
<li>
{{
$t(
"faqView.thirdAnswer.microsoft_outlook.outlook_2007.sixth",
)
}}
</li>
</ol>
</AccordionTab>
<AccordionTab :header="$t('faqView.thirdAnswer.apple_osx.title')">
<ol>
<li>{{ $t("faqView.thirdAnswer.apple_osx.first") }}</li>
<li>{{ $t("faqView.thirdAnswer.apple_osx.second") }}</li>
<li>{{ $t("faqView.thirdAnswer.apple_osx.third") }}</li>
<li>{{ $t("faqView.thirdAnswer.apple_osx.fourth") }}</li>
</ol>
</AccordionTab>
<AccordionTab :header="$t('faqView.thirdAnswer.thunderbird.title')">
<ol>
<li>{{ $t("faqView.thirdAnswer.thunderbird.one") }}</li>
<li>{{ $t("faqView.thirdAnswer.thunderbird.two") }}</li>
<li>{{ $t("faqView.thirdAnswer.thunderbird.three") }}</li>
<li>{{ $t("faqView.thirdAnswer.thunderbird.four") }}</li>
<li>{{ $t("faqView.thirdAnswer.thunderbird.five") }}</li>
<li>{{ $t("faqView.thirdAnswer.thunderbird.six") }}</li>
<li>{{ $t("faqView.thirdAnswer.thunderbird.seven") }}</li>
</ol>
</AccordionTab>
<AccordionTab :header="$t('faqView.thirdAnswer.iphone.title')">
<p>{{ $t("faqView.thirdAnswer.iphone.description") }}</p>
<ol>
<li>{{ $t("faqView.thirdAnswer.iphone.one") }}</li>
<li>{{ $t("faqView.thirdAnswer.iphone.two") }}</li>
<li>{{ $t("faqView.thirdAnswer.iphone.three") }}</li>
<li>{{ $t("faqView.thirdAnswer.iphone.four") }}</li>
<li>{{ $t("faqView.thirdAnswer.iphone.five") }}</li>
<li>{{ $t("faqView.thirdAnswer.iphone.six") }}</li>
<li>{{ $t("faqView.thirdAnswer.iphone.seven") }}</li>
<li>{{ $t("faqView.thirdAnswer.iphone.eight") }}</li>
<li>{{ $t("faqView.thirdAnswer.iphone.nine") }}</li>
</ol>
</AccordionTab>
<AccordionTab header="Android">
<p>{{ $t("faqView.thirdAnswer.android.description") }}</p>
</AccordionTab>
<AccordionTab header="Windows Phone">
<p>{{ $t("faqView.thirdAnswer.windows_phone.description") }}</p>
<ol>
<li>{{ $t("faqView.thirdAnswer.windows_phone.one") }}</li>
<li>{{ $t("faqView.thirdAnswer.windows_phone.two") }}</li>
<li>{{ $t("faqView.thirdAnswer.windows_phone.three") }}</li>
<li>{{ $t("faqView.thirdAnswer.windows_phone.four") }}</li>
<li>{{ $t("faqView.thirdAnswer.windows_phone.five") }}</li>
<li>{{ $t("faqView.thirdAnswer.windows_phone.six") }}</li>
<li>{{ $t("faqView.thirdAnswer.windows_phone.seven") }}</li>
<li>{{ $t("faqView.thirdAnswer.windows_phone.eight") }}</li>
</ol>
</AccordionTab>
</Accordion>
</div>
</div>
<div class="grid my-2">
<div class="col">{{ $t("faqView.fourthQuestion") }}</div>
<div class="col">{{ $t("faqView.fourthAnswer") }}</div>
</div>
<div class="grid my-2">
<div class="col">{{ $t("faqView.fifthQuestion") }}</div>
<div class="col">{{ $t("faqView.fifthAnswer") }}</div>
</div>
<div class="grid my-2">
<div class="col my-2">{{ $t("faqView.sixthQuestion") }}</div>
<div class="col">{{ $t("faqView.sixthAnswer") }}</div>
</div>
<div class="grid my-2">
<div class="col">{{ $t("faqView.seventhQuestion") }}</div>
<div class="col">{{ $t("faqView.seventhAnswer") }}</div>
</div>
<div class="grid my-2">
<div class="col">{{ $t("faqView.eighthQuestion") }}</div>
<div class="col">{{ $t("faqView.eighthAnswer") }}</div>
</div>
<div class="grid my-2">
<div class="col">{{ $t("faqView.ninthQuestion") }}</div>
<div class="col">
{{ $t("faqView.ninthAnswer") }}
<a href="https://git.imn.htwk-leipzig.de/ekresse/htwkalender"
>Gitlab</a
>.
</div>
</div>
<div class="grid my-2">
<div class="col">{{ $t("faqView.crossPromoQuestion") }}</div>
<div class="col">
{{ $t("faqView.crossPromo.teaser") }}
<div class="flex flex-column gap-3 my-3">
<Card v-for="promoPage in new Array('mensa', 'htwkarte')" :key="promoPage">
<template #title>
<div class="flex flex-row align-items-start">
<Avatar :image="'/promo/' + promoPage + '.png'" class="mr-2 flex-shrink-0" size="xlarge" />
<div class="flex flex-column gap-1">
<div>
{{$t("faqView.crossPromo." + promoPage + ".title") }}
</div>
<div class="p-card-subtitle text-base">
<a :href="$t('faqView.crossPromo.' + promoPage + '.link')">
{{$t("faqView.crossPromo." + promoPage + ".link") }}
</a>
</div>
</div>
</div>
</template>
<template #content>
<p class="m-0">
{{ $t("faqView.crossPromo." + promoPage + ".description") }}
</p>
</template>
</Card>
</div>
</div>
</div>
<p>
{{ $t("faqView.notFound") }}<br />
<a href="mailto:support@htwkalender.de">support@htwkalender.de</a>
</p>
</div>
</div>
</template>
<style scoped>
.grid > .col {
flex-basis: 15rem;
}
.grid > .col:first-child {
font-weight: bold;
}
</style>