update
Some checks failed
continuous-integration/drone/push Build is failing

dfdsf
This commit is contained in:
2026-04-18 16:45:58 +03:00
parent 6c3a954323
commit 18c37768cb
29 changed files with 3786 additions and 1470 deletions

View File

@@ -22,7 +22,7 @@
</div>
</div>
<q-page-scroller position="bottom-right" :scroll-offset="300" :offset="[18, 18]">
<q-btn fab icon="mdi-arrow-up" color="brand2"/>
<q-btn fab icon="mdi-arrow-up" color="primary"/>
</q-page-scroller>
</q-page>
</q-page-container>
@@ -36,16 +36,20 @@
import MarkdownViewver from 'components/MarkdownViewver.vue'
import { useRoute, useRouter } from 'vue-router'
import { useI18n } from 'vue-i18n'
const { locale } = useI18n({ useScope: 'global' })
import { docs } from 'src/docs'
const documentName = ref(null)
const { locale } = useI18n({ useScope: 'global' })
const route = useRoute()
const router = useRouter()
const documentName = ref(null)
onMounted(() => {
documentName.value = route.name === 'terms'
? 'Terms_of_use'
: 'Privacy-Policy'
const doc = docs.find(d => d.route === route.name)
if (doc) {
documentName.value = doc.file
} else {
router.replace('/404')
}
})
</script>