This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
<q-icon name="keyboard_arrow_right"/>
|
<q-icon name="keyboard_arrow_right"/>
|
||||||
</div>
|
</div>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
<div class="text-white q-pt-md edge-block justify-start text-grey-2">
|
<div class="text-white q-pt-sm edge-block justify-start text-grey-2">
|
||||||
{{ $t('banner__main_btn_description')}}
|
{{ $t('banner__main_btn_description')}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -14,6 +14,9 @@
|
|||||||
class="q-pa-md text-h4 cursor-pointer"
|
class="q-pa-md text-h4 cursor-pointer"
|
||||||
@click="router.push({ name: 'main' })"
|
@click="router.push({ name: 'main' })"
|
||||||
/>
|
/>
|
||||||
|
<div class="text-h5 text-bold">
|
||||||
|
{{ $t(getDoc(documentName)) }}
|
||||||
|
</div>
|
||||||
<markdown-viewver
|
<markdown-viewver
|
||||||
v-if="documentName"
|
v-if="documentName"
|
||||||
:locale
|
:locale
|
||||||
@@ -43,6 +46,10 @@
|
|||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const documentName = ref(null)
|
const documentName = ref(null)
|
||||||
|
|
||||||
|
const getDoc = (fileName) => {
|
||||||
|
return docs.find(d => d.file === fileName)?.translationKey ?? ''
|
||||||
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
const doc = docs.find(d => d.route === route.name)
|
const doc = docs.find(d => d.route === route.name)
|
||||||
if (doc) {
|
if (doc) {
|
||||||
|
|||||||
Reference in New Issue
Block a user