You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
647 B
35 lines
647 B
Vue.component('owncast-footer', { |
|
props: { |
|
appVersion: { |
|
type: String, |
|
default: "0.1", |
|
}, |
|
}, |
|
|
|
template: ` |
|
<footer class="flex"> |
|
<span> |
|
<a href="https://github.com/gabek/owncast" target="_blank">About Owncast</a> |
|
</span> |
|
<span>Version {{appVersion}}</span> |
|
</footer> |
|
`, |
|
}); |
|
|
|
|
|
Vue.component('stream-tags', { |
|
props: ['tags'], |
|
template: ` |
|
<ul |
|
class="tag-list flex" |
|
v-if="this.tags.length" |
|
> |
|
<li class="tag rounded-sm text-gray-100 bg-gray-700" |
|
v-for="tag in this.tags" |
|
v-bind:key="tag" |
|
> |
|
{{tag}} |
|
</li> |
|
</ul> |
|
`, |
|
}); |