mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
refactor(menu): refactor main manu
This commit is contained in:
@@ -60,7 +60,118 @@ const sampleIndexResponse: SCIndexResponse = {
|
||||
features: {
|
||||
widgets: true,
|
||||
},
|
||||
menus: [],
|
||||
menus: [
|
||||
{
|
||||
icon: 'menu',
|
||||
id: 'main',
|
||||
items: [
|
||||
{
|
||||
icon: 'search',
|
||||
route: '/search',
|
||||
title: 'search',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Suche',
|
||||
},
|
||||
en: {
|
||||
title: 'search',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'map',
|
||||
route: '/map',
|
||||
title: 'campus map',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Campus Karte',
|
||||
},
|
||||
en: {
|
||||
title: 'campus map',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'cafe',
|
||||
route: '/canteen',
|
||||
title: 'canteen',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Mensa',
|
||||
},
|
||||
en: {
|
||||
title: 'canteen',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
name: '',
|
||||
translations: {
|
||||
de: {
|
||||
name: 'Hauptmenü',
|
||||
},
|
||||
en: {
|
||||
name: 'main menu',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'person',
|
||||
id: 'personal',
|
||||
items: [
|
||||
{
|
||||
icon: 'settings',
|
||||
route: '/settings',
|
||||
title: 'settings',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Einstellungen',
|
||||
},
|
||||
en: {
|
||||
title: 'settings',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
name: 'Your Study-App',
|
||||
translations: {
|
||||
de: {
|
||||
name: 'Deine Studi-App',
|
||||
},
|
||||
en: {
|
||||
name: 'Your Study-App',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: '',
|
||||
id: 'meta',
|
||||
items: [
|
||||
{
|
||||
icon: 'information',
|
||||
route: '/about',
|
||||
title: 'about',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Über StApps',
|
||||
},
|
||||
en: {
|
||||
title: 'About StApps',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
name: '',
|
||||
translations: {
|
||||
de: {
|
||||
name: '',
|
||||
},
|
||||
en: {
|
||||
name: '',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
name: 'StApps - Technische Universität Berlin',
|
||||
privacyPolicyUrl: 'https://stappsbe01.innocampus.tu-berlin.de/_static/privacy.md',
|
||||
settings: [
|
||||
|
||||
Reference in New Issue
Block a user