mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
57 lines
1.2 KiB
Vue
57 lines
1.2 KiB
Vue
<template>
|
|
<div>
|
|
<no-ssr>
|
|
<ds-flex gutter="small">
|
|
<ds-flex-item>
|
|
<transition
|
|
name="slide-up"
|
|
appear>
|
|
<nuxt-child />
|
|
</transition>
|
|
</ds-flex-item>
|
|
<ds-flex-item :width="{ base: '200px' }">
|
|
<ds-menu
|
|
:routes="routes" />
|
|
</ds-flex-item>
|
|
</ds-flex>
|
|
</no-ssr>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
routes: [
|
|
{
|
|
name: 'Post',
|
|
path: `/post/${this.$route.params.slug}`,
|
|
children: [
|
|
{
|
|
name: 'Kommentare',
|
|
path: `/post/${this.$route.params.slug}#comments`
|
|
},
|
|
{
|
|
name: 'Miteinander reden',
|
|
path: `/post/${this.$route.params.slug}#lets-talk`
|
|
},
|
|
{
|
|
name: 'Versus',
|
|
path: `/post/${this.$route.params.slug}#versus`
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'Mehr Info',
|
|
path: `/post/${this.$route.params.slug}/more-info`
|
|
},
|
|
{
|
|
name: 'Aktiv werden',
|
|
path: `/post/${this.$route.params.slug}/take-action`
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|