initial commit

This commit is contained in:
Zoe
2026-01-11 05:04:29 -06:00
commit 0877cc10bd
65 changed files with 5009 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
export const useSettings = () => {
const open = useState<boolean>('settings:open', () => false)
const currentPage = useState<string>('settings:currentPage', () => 'page1')
const toggle = () => { open.value = !open.value }
const setPage = (page: string) => { currentPage.value = page }
const close = () => {
open.value = false
currentPage.value = 'page1'
}
return { open, currentPage, toggle, setPage, close }
}