Add channel credits

This commit is contained in:
Sam Carlton 2020-12-26 19:55:49 -06:00
parent d8f0c8b486
commit d6aaafea03
4 changed files with 62 additions and 5 deletions

View file

@ -7,6 +7,10 @@
<VideoPlayer
:video="video"
/>
<ChannelCredit
:video="video"
class="flex w-full justify-start md:px-10"
/>
</template>
<template v-else>
<div
@ -92,13 +96,15 @@ import LinkButton from '~/components/link-button.vue'
import EmailSubscribe from '~/components/email-subscribe.vue'
import VideoRow from '~/components/video/row.vue'
import VideoPlayer from '~/components/video/player.vue'
import ChannelCredit from '~/components/video/channel-credit.vue'
export default {
components: {
LinkButton,
EmailSubscribe,
VideoRow,
VideoPlayer
VideoPlayer,
ChannelCredit
},
async asyncData ({ params: { slug } }) {