diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 2009e46..b6ed85b 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,8 +4,10 @@
-
+
+
+
@@ -19,7 +21,6 @@
-
@@ -29,15 +30,15 @@
-
+
-
+
@@ -55,7 +56,7 @@
-
+
@@ -225,17 +226,14 @@
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
"RunOnceActivity.git.unshallow": "true",
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
- "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
- "git-widget-placeholder": "feat/front-end-layout-admin",
- "junie.onboarding.icon.badge.shown": "true",
+ "git-widget-placeholder": "develop",
"last_opened_file_path": "/home/sroy/Documents/test/Ferme",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
- "settings.editor.selected.configurable": "preferences.keymap",
- "to.speed.mode.migration.done": "true",
+ "settings.editor.selected.configurable": "configurable.tailwindcss",
"ts.external.directory.path": "/opt/phpstorm/plugins/javascript-plugin/jsLanguageServicesImpl/external",
"vue.rearranger.settings.migration": "true"
},
@@ -297,7 +295,14 @@
-
+
+
+
+ 1768316835575
+
+
+
+ 1768316835575
@@ -667,31 +672,23 @@
1770217875423
-
+
- 1770296486375
+ 1770283622425
- 1770296486375
+ 1770283622425
-
+
- 1770306414981
+ 1770308927948
- 1770306414982
+ 1770308927948
-
-
- 1770362009861
-
-
-
- 1770362009861
-
-
+
@@ -741,6 +738,7 @@
+
@@ -764,20 +762,8 @@
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/Entity/ReceptionPelletBuilding.php
- 6
-
-
-
-
+
+
@@ -791,4 +777,4 @@
-
\ No newline at end of file
+
diff --git a/frontend/layouts/default.vue b/frontend/layouts/default.vue
index 7941d82..4d48f9b 100644
--- a/frontend/layouts/default.vue
+++ b/frontend/layouts/default.vue
@@ -1,15 +1,16 @@
-
-
-
- LOGO
-
-
-
+
+
+
+
+
+
+
+ Menu
+
+
+
+
+
+ Accueil
+
+
+ Déconnexion
+
+
+
-
+
@@ -59,11 +110,21 @@ import { useAuthStore } from '~/stores/auth'
const route = useRoute()
const auth = useAuthStore()
const isReceptionActive = computed(() => route.path.startsWith('/reception'))
+const isMenuOpen = ref(false)
+
+const closeMenu = () => {
+ isMenuOpen.value = false
+}
+
+const toggleMenu = () => {
+ isMenuOpen.value = !isMenuOpen.value
+}
const handleLogout = async () => {
try {
await auth.logout()
} finally {
+ closeMenu()
await navigateTo('/login')
}
}
diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue
index fd54a9a..b7e90a4 100644
--- a/frontend/pages/index.vue
+++ b/frontend/pages/index.vue
@@ -1,7 +1,7 @@
-