Implement personal section in navigation: Add a new 'personal' menu item with sub-items for language learning and calendar. Update localization files for English and German to include translations for the new section. Integrate personal routes into the router configuration for navigation.

This commit is contained in:
Torsten Schulz (local)
2026-01-30 13:53:27 +01:00
parent 7d2a33b3ec
commit d1503cd813
9 changed files with 133 additions and 14 deletions

View File

@@ -50,20 +50,6 @@ const menuStructure = {
visible: ["all"],
path: "/socialnetwork/gallery"
},
sprachenlernen: {
visible: ["all"],
children: {
vocabtrainer: {
visible: ["all"],
path: "/socialnetwork/vocab",
showVocabLanguages: 1 // Flag für dynamische Sprachen-Liste
},
sprachkurse: {
visible: ["all"],
path: "/socialnetwork/vocab/courses"
}
}
},
blockedUsers: {
visible: ["all"],
path: "/socialnetwork/blocked"
@@ -192,6 +178,30 @@ const menuStructure = {
}
}
},
personal: {
visible: ["all"],
icon: "profile16.png",
children: {
sprachenlernen: {
visible: ["all"],
children: {
vocabtrainer: {
visible: ["all"],
path: "/socialnetwork/vocab",
showVocabLanguages: 1 // Flag für dynamische Sprachen-Liste
},
sprachkurse: {
visible: ["all"],
path: "/socialnetwork/vocab/courses"
}
}
},
calendar: {
visible: ["all"],
path: "/personal/calendar"
}
}
},
settings: {
visible: ["all"],
icon: "settings16.png",