feat: add catalog menu entry and rearrange

This commit is contained in:
Rainer Killinger
2021-08-04 14:27:30 +02:00
parent 70db25ca64
commit 4e42772ca3

View File

@@ -52,19 +52,6 @@ const config: Partial<SCConfigFile> = {
icon: 'menu', icon: 'menu',
id: 'main', id: 'main',
items: [ items: [
{
icon: 'calendar',
route: '/schedule',
title: 'schedule',
translations: {
de: {
title: 'Stundenplan',
},
en: {
title: 'schedule',
},
},
},
{ {
icon: 'newspaper', icon: 'newspaper',
route: '/', route: '/',
@@ -92,15 +79,15 @@ const config: Partial<SCConfigFile> = {
}, },
}, },
{ {
icon: 'map', icon: 'calendar',
route: '/map', route: '/schedule',
title: 'campus map', title: 'schedule',
translations: { translations: {
de: { de: {
title: 'Campus Karte', title: 'Stundenplan',
}, },
en: { en: {
title: 'campus map', title: 'schedule',
}, },
}, },
}, },
@@ -117,6 +104,32 @@ const config: Partial<SCConfigFile> = {
}, },
}, },
}, },
{
icon: 'folder',
route: '/catalog',
title: 'course catalog',
translations: {
de: {
title: 'Vorlesungsverzeichnis',
},
en: {
title: 'course catalog',
},
},
},
{
icon: 'map',
route: '/map',
title: 'campus map',
translations: {
de: {
title: 'Campus Karte',
},
en: {
title: 'campus map',
},
},
},
], ],
name: 'main menu', name: 'main menu',
translations: { translations: {