✨ (privacy) add privacy page.
This commit is contained in:
@@ -15,6 +15,11 @@ const routes: RouteConfig[] = [
|
|||||||
name: 'HomePlay',
|
name: 'HomePlay',
|
||||||
component: Home,
|
component: Home,
|
||||||
props: { play: true }
|
props: { play: true }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/Privacy',
|
||||||
|
name: 'Privacy',
|
||||||
|
component: () => import('@/views/Privacy.vue')
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
35
src/views/Privacy.vue
Normal file
35
src/views/Privacy.vue
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<template>
|
||||||
|
<section class="privacy" v-t="'privacy'"></section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
import { defineComponent } from '@vue/composition-api'
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
name: 'Home'
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@import '@/styles/variables';
|
||||||
|
|
||||||
|
.privacy {
|
||||||
|
font-family: $serif-font-family;
|
||||||
|
flex: 1;
|
||||||
|
padding: 1rem;
|
||||||
|
max-width: 450px;
|
||||||
|
line-height: 2rem;
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<i18n>
|
||||||
|
{
|
||||||
|
"en": {
|
||||||
|
"privacy": "Binôme doesn't save any kind of information in server. However, there are preferences stored in your device. There are: dev usernames, interval session and if you want to focus or chill in your pair programming session"
|
||||||
|
},
|
||||||
|
"fr": {
|
||||||
|
"privacy": "Binôme n'envoie aucune donnée à un quelconque serveur. En revanche, certaines données sont enregistrées sur votre appareil afin de garder en mémoire vos préférences. Ces données sont : les surnoms des développeurs, le temps des sessions et le paramètre pour rester concentré ou être détendu pendant la programmation."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</i18n>
|
||||||
Reference in New Issue
Block a user