Add dynamic titles #71
This commit is contained in:
@ -9,6 +9,7 @@ import CategoryPreview from '@/components/CategoryPreview.vue'
|
||||
import { getEndpoint, followersStreaming } from '@/mixins'
|
||||
import type { CategoryPreview as CategoryPreviewInterface } from '@/types'
|
||||
import { getFollows } from '@/settingsManager'
|
||||
import VueTitle from '@/components/VueTitle.vue'
|
||||
|
||||
export default {
|
||||
async setup() {
|
||||
@ -96,7 +97,8 @@ export default {
|
||||
StreamPreviewVue,
|
||||
ErrorMessage,
|
||||
LoadingScreen,
|
||||
CategoryPreview
|
||||
CategoryPreview,
|
||||
VueTitle
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -106,6 +108,7 @@ export default {
|
||||
<error-message v-show="status == 'error'"></error-message>
|
||||
|
||||
<div v-show="data" class="max-w-5xl mx-auto">
|
||||
<vue-title title="Discover"></vue-title>
|
||||
<div v-if="following && following.length > 0" class="p-2 text-contrast">
|
||||
<h1 class="font-bold text-5xl">{{ $t('home.following') }}</h1>
|
||||
<p class="text-xl">{{ $t('home.streamersYouFollow') }}</p>
|
||||
|
Reference in New Issue
Block a user