big refactor

This commit is contained in:
2026-04-29 16:25:11 -05:00
parent 6c411ce2b6
commit 8265fb689a
156 changed files with 15845 additions and 50373 deletions

View File

@@ -1,6 +1,7 @@
export function usePageTitle(title: string) {
export function usePageTitle(title: string | (() => string)) {
const computedTitle = typeof title === 'function' ? computed(title) : ref(title)
useHead({
title,
titleTemplate: (t) => (t ? `${t} · Policy UI` : 'Policy UI')
title: computed(() => `${computedTitle.value} · Segur-OS`)
})
}