2020-06-21 08:41:13 +02:00
|
|
|
Vue.component('owncast-footer', {
|
2020-06-29 00:08:08 +02:00
|
|
|
props: {
|
|
|
|
appVersion: {
|
|
|
|
type: String,
|
|
|
|
default: "0.1",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2020-06-21 08:41:13 +02:00
|
|
|
template: `
|
2020-06-29 00:08:08 +02:00
|
|
|
<footer class="flex">
|
2020-06-21 08:41:13 +02:00
|
|
|
<span>
|
|
|
|
<a href="https://github.com/gabek/owncast" target="_blank">About Owncast</a>
|
2020-06-29 00:08:08 +02:00
|
|
|
</span>
|
|
|
|
<span>Version {{appVersion}}</span>
|
2020-06-21 08:41:13 +02:00
|
|
|
</footer>
|
|
|
|
`,
|
|
|
|
});
|
2020-06-21 10:31:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
`,
|
|
|
|
});
|