Ocelot-Social/webapp/pages/code-of-conduct.vue
2020-11-10 10:28:20 +01:00

58 lines
1.3 KiB
Vue

<template>
<div>
<ds-space>
<ds-heading tag="h2">{{ $t('site.code-of-conduct') }}</ds-heading>
<p>{{ $t('code-of-conduct.subheader', metadata) }}</p>
</ds-space>
<ds-container>
<div v-for="section in sections" :key="section">
<strong>{{ $t(`code-of-conduct.${section}.title`) }}</strong>
<p>{{ $t(`code-of-conduct.${section}.description`) }}</p>
</div>
<br />
<div v-for="section in listSections" :key="section.key">
<strong>{{ $t(`code-of-conduct.${section.key}.title`) }}</strong>
<p>{{ $t(`code-of-conduct.${section.key}.description`) }}</p>
<ul>
<li v-for="i in section.items" :key="i">
{{ $t(`code-of-conduct.${section.key}.list.${i}`) }}
</li>
</ul>
</div>
<p>
{{ $t('code-of-conduct.get-help') }}
<a
class="hc-editor-link-blot"
href="mailto:moderation@human-connection.org"
target="_blank"
>
moderation@human-connection.org
</a>
</p>
<br />
</ds-container>
</div>
</template>
<script>
import metadata from '~/constants/metadata.js'
export default {
layout: 'basic',
head() {
return {
title: this.$t('site.code-of-conduct'),
}
},
data() {
return {
metadata,
}
},
}
</script>