user content general layout

This commit is contained in:
Ginger Wong
2020-06-21 01:31:08 -07:00
parent 1ecf39c2f1
commit 1a44a4bd2f
6 changed files with 121 additions and 33 deletions

View File

@@ -7,3 +7,21 @@ Vue.component('owncast-footer', {
</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>
`,
});