refactor: drop sub-directory routing

This commit is contained in:
2024-12-02 16:47:07 +01:00
parent 595735ad00
commit 4bcbc67436
8 changed files with 26 additions and 62 deletions

View File

@@ -11,8 +11,8 @@
Selfservice Portal</h2>
<p class="px-0 mb-6 text-md lg:px-24 font-medium">{{ $t('main_page_text') }}</p>
<a class="w-full block mx-auto md:w-3/4 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 xl:text-lg xl:py-4"
href="/selfservice/register/">{{ $t('register_now') }}</a>
<a href="/selfservice/profile/"
href="/register/">{{ $t('register_now') }}</a>
<a href="/profile/"
class="md:mt-4 mt-2 w-full block mx-auto md:w-3/4 px-6 py-3 text-base font-semibold rounded-md bg-gray-800 shadow-sm hover:bg-gray-700 focus:outline-none focus:bg-gray-700 xl:text-lg xl:py-4 border border-gray-400">{{
$t('view_my_data') }}</a>
</div>

View File

@@ -576,7 +576,7 @@ function delete_me() {
.then(() => {
toast.clear();
toast(t('alle_daten_geloescht'));
location.replace(`${config.baseurl_selfservice}`);
location.replace(`/`);
})
.catch((error) => {
toast.clear();

View File

@@ -48,7 +48,7 @@
</div>
</div>
<div class="mt-2">
<a href="/selfservice/register/"
<a href="/register/"
class="text-white block w-full text-center py-2 px-3 border-2 border-gray-300 rounded-md p-1 bg-blue-800 font-medium hover:border-gray-400 focus:outline-none focus:border-gray-400 sm:text-sm">{{
$t('register_now_small') }}</a>
</div>