feat: navigation

This commit is contained in:
opbnq-q
2025-03-13 15:22:53 +07:00
parent a475be9cb2
commit bb58dd0e2d
10 changed files with 90 additions and 27 deletions

View File

@@ -0,0 +1,16 @@
import { defineStore } from "pinia";
export interface NavModalState {
visible: boolean
}
export const useNavModalStore = defineStore('nav-modal', {
state: (): NavModalState => ({
visible: false
}),
actions: {
changeVisibility() {
this.visible = !this.visible
}
}
})