Ocelot-Social/webapp/pages/moderation.vue
2019-05-29 09:47:24 -03:00

34 lines
686 B
Vue

<template>
<div>
<ds-heading tag="h1">
{{ $t('moderation.name') }}
</ds-heading>
<ds-flex gutter="small">
<ds-flex-item :width="{ base: '100%', md: '200px' }">
<ds-menu :routes="routes" />
</ds-flex-item>
<ds-flex-item :width="{ base: '100%', md: 1 }">
<transition name="slide-up" appear>
<nuxt-child />
</transition>
</ds-flex-item>
</ds-flex>
</div>
</template>
<script>
export default {
middleware: ['isModerator'],
computed: {
routes() {
return [
{
name: this.$t('moderation.reports.name'),
path: `/moderation`,
},
]
},
},
}
</script>