mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
59 lines
1.1 KiB
Vue
59 lines
1.1 KiB
Vue
<template>
|
|
<div>
|
|
<ds-heading tag="h1">
|
|
Administartion
|
|
</ds-heading>
|
|
<ds-flex gutter="small">
|
|
<ds-flex-item :width="{ base: '200px' }">
|
|
<ds-menu :routes="routes" />
|
|
</ds-flex-item>
|
|
<ds-flex-item>
|
|
<transition
|
|
name="slide-up"
|
|
appear>
|
|
<nuxt-child />
|
|
</transition>
|
|
</ds-flex-item>
|
|
</ds-flex>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
routes: [
|
|
{
|
|
name: 'Dashboard',
|
|
path: `/admin`
|
|
},
|
|
{
|
|
name: 'Users',
|
|
path: `/admin/users`
|
|
},
|
|
{
|
|
name: 'Organizations',
|
|
path: `/admin/organizations`
|
|
},
|
|
{
|
|
name: 'Pages',
|
|
path: `/admin/pages`
|
|
},
|
|
{
|
|
name: 'Notifications',
|
|
path: `/admin/notifications`
|
|
},
|
|
{
|
|
name: 'Categories',
|
|
path: `/admin/categories`
|
|
},
|
|
{
|
|
name: 'Settings',
|
|
path: `/admin/settings`
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|