feat: new frontend

This commit is contained in:
Rekryt
2025-07-02 20:40:13 +03:00
parent bda887db3c
commit 7d7c82514f
111 changed files with 5223 additions and 52 deletions

17
frontend/stores/app.ts Normal file
View File

@@ -0,0 +1,17 @@
export const useAppStore = defineStore('app', {
state: () => ({
drawer: false,
color: 'success',
}),
actions: {
setDrawer(value: boolean) {
this.drawer = value;
},
setColor(value: string) {
this.color = value;
},
toggleDrawer() {
this.drawer = !this.drawer;
},
},
});