Add dynamic titles #71

This commit is contained in:
dragongoose
2024-06-02 11:42:35 -04:00
parent a3d462e9db
commit f3f6dd88aa
9 changed files with 49 additions and 6 deletions

View File

@ -9,6 +9,7 @@ import {
getFollows
} from '@/settingsManager'
import type { Settings } from '@/settingsManager'
import VueTitle from '@/components/VueTitle.vue';
export default {
setup() {
@ -79,11 +80,15 @@ export default {
this.settings = settings
this.save()
}
},
components: {
VueTitle
}
}
</script>
<template>
<vue-title title="Settings"></vue-title>
<div class="mx-auto w-[35rem] max-w-[95vw] p-5 py-3 bg-secondary rounded-md text-contrast">
<h1 class="font-bold text-3xl">{{ $t('nav.settings') }}</h1>
<hr class="my-2" />