Initial Nuxt frontend import
Some checks failed
continuous-integration/drone/push Build is failing

- Complete GGZ Ecademy Nuxt.js user portal
- Learning products browser and management
- Member management interface
- User authentication and roles
- Multi-language support (NL/EN)
- Vuex store for state management
- Component-based architecture
This commit is contained in:
Joris Slagter
2025-12-02 17:48:48 +01:00
parent 0f691e83e3
commit 791aebc346
290 changed files with 113801 additions and 0 deletions

25
store/navigation.js Normal file
View File

@@ -0,0 +1,25 @@
export const state = () => ({
searchOverlay: false,
rightDrawer: {
display: false,
component: null,
subMenu: null,
},
});
export const mutations = {
TOGGLE_SEARCH_OVERLAY: (state, value = null) => {
state.searchOverlay = value
},
SWITCH_RIGHT_DRAWER: (state, value = true) => {
if (typeof value === 'boolean') { state.rightDrawer.display = value }
else {
state.rightDrawer.component = value.component
state.rightDrawer.subMenu = value.subMenu
state.rightDrawer.display = true
}
},
};