feat (patient): set dynamic title for patient pages

This commit is contained in:
Abizrh
2025-08-14 10:43:00 +07:00
parent 922820f1b0
commit 0b59f48fdb
4 changed files with 18 additions and 4 deletions
+6
View File
@@ -5,6 +5,12 @@ const useIdFunction = () => useId()
const textDirection = useTextDirection({ initialValue: 'ltr' })
const dir = computed(() => (textDirection.value === 'rtl' ? 'rtl' : 'ltr'))
useHead({
// as a string,
// where `%s` is replaced with the title
titleTemplate: '%s - RSSA',
})
</script>
<template>