Home - route fixes

ref #27
This commit is contained in:
Philipp Dormann 2021-03-31 18:56:34 +02:00
parent 63d9ee2f86
commit c178932d94
1 changed files with 7 additions and 6 deletions

View File

@ -9,14 +9,14 @@
<p class="px-0 mb-6 text-lg text-gray-100 md:text-xl lg:px-24">Selfservice Portal</p>
<p class="px-0 mb-6 text-md text-gray-100 lg:px-24">{{ $t('main_page_text') }}</p>
<div class="mt-6 sm:flex place-content-center">
<router-link
<a
class="w-full sm:w-auto inline-flex px-6 py-3 border border-transparent text-base font-semibold rounded-md text-gray-900 bg-white shadow-sm hover:text-gray-600 focus:outline-none focus:text-gray-600 transition ease-in-out duration-150 xl:text-lg xl:py-4"
to="/register"
>{{ $t('register_now') }}</router-link>
<router-link
to="/profile"
href="./register/"
>{{ $t('register_now') }}</a>
<a
href="./profile/"
class="mt-4 sm:ml-4 sm:mt-0 w-full sm:w-auto inline-flex px-6 py-3 border border-transparent text-base font-semibold rounded-md text-white bg-gray-800 shadow-sm hover:bg-gray-700 focus:outline-none focus:bg-gray-700 transition ease-in-out duration-150 xl:text-lg xl:py-4"
>{{ $t('view_my_data') }}</router-link>
>{{ $t('view_my_data') }}</a>
</div>
</div>
</section>
@ -26,4 +26,5 @@
<script setup>
import Footer from "@/components/Footer.vue";
console.log(config);
</script>