mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
35 lines
675 B
Vue
35 lines
675 B
Vue
<template>
|
|
<div
|
|
v-if="video.channel.id !== myChannelId"
|
|
class="channel-credit"
|
|
>
|
|
<LinkButton
|
|
:href="`https://www.youtube.com/channel/${video.channel.id}`"
|
|
|
|
target="_blank"
|
|
:label="`🔔 Subscribe to ${ video.channel.name }`"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import LinkButton from '~/components/link-button.vue'
|
|
|
|
export default {
|
|
components: {
|
|
LinkButton
|
|
},
|
|
props: {
|
|
video: {
|
|
type: Object,
|
|
required: true
|
|
}
|
|
},
|
|
data: function () {
|
|
return {
|
|
myChannelId: 'UCB3jOb5QVjX7lYecvyCoTqQ'
|
|
}
|
|
}
|
|
}
|
|
</script>
|