Skip to content
Snippets Groups Projects
Commit 4154c091 authored by Manikanth Dindigala's avatar Manikanth Dindigala
Browse files

fix: navigating from tido homepage to website

parent 251037b8
No related branches found
No related tags found
1 merge request!55fix/#105: navigating from tido homepage to website
Pipeline #218636 passed
......@@ -53,7 +53,7 @@
<v-list-item
v-for="(item, index) in editions"
:key="index"
:href="item.to + path"
:href="item.to + getPath()"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
......@@ -90,15 +90,11 @@ export default {
{ title: 'Edition guidelines', to: '/editionguidelines.html' },
{ title: 'Related Literature', to: '/relatedliterature.html' },
],
origin:'',
}),
mounted(){
this.origin = window?.location?.origin;
},
computed:{
path(){
return this.origin + this.$route.path;
methods:{
getPath(){
return window?.location?.origin + window?.location?.pathname;
}
},
}
}
</script>
......@@ -9,7 +9,7 @@
>
<a
class="white--text text-overline text-decoration-none text-uppercase"
:href="editionSyriac.to"
:href="editionSyriac.to + getPath()"
:title="editionSyriac.title"
role="link"
tabindex="0"
......@@ -26,7 +26,7 @@
>
<a
class="white--text text-overline text-decoration-none text-uppercase"
:href="editionArabic.to"
:href="editionArabic.to + getPath()"
:title="editionArabic.title"
role="link"
tabindex="0"
......@@ -45,6 +45,11 @@ export default {
data: () => ({
editionSyriac: editionLinks[0],
editionArabic: editionLinks[1]
})
}),
methods:{
getPath(){
return window?.location?.origin + window?.location?.pathname;
}
}
}
</script>
<template>
<v-app>
<Bar/>
<client-only>
<Bar/>
</client-only>
<v-main>
<Content/>
</v-main>
......
<template>
<v-app>
<Bar/>
<client-only>
<Bar/>
</client-only>
<v-main>
<v-container>
<Content/>
......
<template>
<v-app>
<Bar/>
<client-only>
<Bar/>
</client-only>
<v-main>
<v-container>
<Content/>
......
......@@ -14,7 +14,9 @@ Lorem ipsum dolor sit amut.{.body-1}
## Editions {.text-h3 .mb-4 .secondary--text}
<Cta/>
<client-only>
<Cta/>
</client-only>
## Contact {.text-h3 .mb-4 .secondary--text}
......
......@@ -16,7 +16,9 @@ The edition focuses on the textual and literary analysis of the Syriac and Arabi
## Collections {.text-h3 .mb-4 .secondary--text}
<Cta/>
<client-only>
<Cta/>
</client-only>
## Contact {.text-h3 .mb-4 .secondary--text}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment