feat: privacy page i18n
This commit is contained in:
parent
8c5011186b
commit
ffa77aba3d
|
@ -21,7 +21,7 @@ const kungalgamePageWidth = computed(() => {
|
||||||
<Aside />
|
<Aside />
|
||||||
|
|
||||||
<!-- KUNGalgame en translation -->
|
<!-- KUNGalgame en translation -->
|
||||||
<div v-if="showKUNGalgameLanguage === 'en'" class="article">
|
<div class="article" v-if="showKUNGalgameLanguage === 'en'">
|
||||||
<h1>About Us</h1>
|
<h1>About Us</h1>
|
||||||
<h2 id="introduction">Website Introduction</h2>
|
<h2 id="introduction">Website Introduction</h2>
|
||||||
<p>
|
<p>
|
||||||
|
@ -280,7 +280,7 @@ const kungalgamePageWidth = computed(() => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- KUNGalgame cn translation -->
|
<!-- KUNGalgame cn translation -->
|
||||||
<div v-if="showKUNGalgameLanguage === 'zh'" class="article">
|
<div class="article" v-if="showKUNGalgameLanguage === 'zh'">
|
||||||
<h1>关于我们</h1>
|
<h1>关于我们</h1>
|
||||||
<h2 id="introduction">网站简介</h2>
|
<h2 id="introduction">网站简介</h2>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -1,17 +1,55 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import BackToPrevious from '@/components/BackToPrevious.vue'
|
import BackToPrevious from '@/components/BackToPrevious.vue'
|
||||||
import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
|
import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
|
||||||
|
|
||||||
|
import { useKUNGalgameSettingsStore } from '@/store/modules/settings'
|
||||||
|
import { storeToRefs } from 'pinia'
|
||||||
|
|
||||||
|
const { showKUNGalgameLanguage } = storeToRefs(useKUNGalgameSettingsStore())
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<!-- 根容器 -->
|
|
||||||
<div class="root">
|
<div class="root">
|
||||||
<!-- 内容容器 -->
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<!-- 标题 -->
|
<div class="title">{{ $tm('kungalgame.privacy') }}</div>
|
||||||
<div class="title">隐私政策</div>
|
|
||||||
<!-- 内容区 -->
|
<div class="article" v-if="showKUNGalgameLanguage === 'en'">
|
||||||
<div class="article">
|
<br />
|
||||||
|
<p>
|
||||||
|
We will never use your personal information and will not use your
|
||||||
|
personal information for anything outside of this site.
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
Yes, only this sentence, because
|
||||||
|
<strong>
|
||||||
|
we are not a commercial forum, and profit is not our purpose.
|
||||||
|
</strong>
|
||||||
|
There is no need to profit from personal data.
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>To be precise, we need the following permissions:</p>
|
||||||
|
<br />
|
||||||
|
<ul class="list">
|
||||||
|
<li>
|
||||||
|
Personal Information: Email, registration time, etc., used for
|
||||||
|
password recovery.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Log-Related Information: Through cookies, Local Storage, and other
|
||||||
|
means, we provide search history, image caching, and other
|
||||||
|
experience optimizations. You can disable cookies and similar
|
||||||
|
methods to prevent our use.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Device-Related Information: Device date, operating system
|
||||||
|
information, etc., for convenient device adaptation.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<BackToPrevious />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="article" v-if="showKUNGalgameLanguage === 'zh'">
|
||||||
<br />
|
<br />
|
||||||
<p>
|
<p>
|
||||||
我们永远不会利用你的个人信息,不会将你的个人信息用于除了本站以外的任何地方
|
我们永远不会利用你的个人信息,不会将你的个人信息用于除了本站以外的任何地方
|
||||||
|
@ -34,7 +72,7 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
|
||||||
</ul>
|
</ul>
|
||||||
<BackToPrevious />
|
<BackToPrevious />
|
||||||
</div>
|
</div>
|
||||||
<!-- 版权 -->
|
|
||||||
<KUNGalgameFooter style="position: absolute; bottom: -60px" />
|
<KUNGalgameFooter style="position: absolute; bottom: -60px" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -43,6 +81,7 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.root {
|
.root {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
min-height: 900px;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
var(--kungalgame-trans-pink-1),
|
var(--kungalgame-trans-pink-1),
|
||||||
|
@ -53,10 +92,9 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: var(--kungalgame-white);
|
background-color: var(--kungalgame-white);
|
||||||
}
|
}
|
||||||
/* 内容区容器 */
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
/* 居中 */
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: var(--kungalgame-trans-blue-0);
|
background-color: var(--kungalgame-trans-blue-0);
|
||||||
|
@ -67,30 +105,28 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: var(--kungalgame-font-color-3);
|
color: var(--kungalgame-font-color-3);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
box-shadow: var(--kungalgame-shadow-1);
|
||||||
|
transition: 0.3s;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* 内容区容器 hover */
|
|
||||||
.container:hover {
|
|
||||||
box-shadow: var(--kungalgame-shadow-1);
|
|
||||||
transition: 0.3s;
|
|
||||||
}
|
|
||||||
/* 内容区 */
|
|
||||||
.article {
|
.article {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
/* 单个项目之间的距离 */
|
|
||||||
.list > li {
|
.list > li {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
list-style: inside;
|
list-style: inside;
|
||||||
}
|
}
|
||||||
/* 页面的标题 */
|
|
||||||
.title {
|
.title {
|
||||||
/* 固定高度 */
|
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
height: 77px;
|
height: 77px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
/* 距离下一个项目的距离 */
|
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue