mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
37 lines
711 B
Vue
37 lines
711 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>
|