mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3
This commit is contained in:
166 files changed
+19790
-5539
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<LegalLayout
|
||||
active="privacy"
|
||||
:title="lang === 'zh' ? '隐私政策' : 'Privacy Policy'"
|
||||
:body="privacyBody(lang, contact)"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed } from "vue";
|
||||
import { pickLang, legalContact, privacyBody } from "~/utils/legal";
|
||||
|
||||
const route = useRoute();
|
||||
const config = useRuntimeConfig();
|
||||
const lang = computed(() => pickLang(String(route.query.lang ?? "")));
|
||||
const contact = computed(() => legalContact(lang.value, String(config.public.legalContact ?? "")));
|
||||
</script>
|
||||
Reference in new issue
Block a user