From 7f144e805392e6b6532564ce57c89669a7657c35 Mon Sep 17 00:00:00 2001 From: srgooglo Date: Sat, 3 Sep 2022 04:53:19 +0200 Subject: [PATCH] update routes --- packages/app/constants/routes.json | 34 ++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/packages/app/constants/routes.json b/packages/app/constants/routes.json index e2795691..76891ee8 100644 --- a/packages/app/constants/routes.json +++ b/packages/app/constants/routes.json @@ -1,27 +1,53 @@ [ + { + "id": "login", + "path": "/login", + "title": "Login", + "icon": "Login", + "useLayout": "login" + }, { "id": "home", + "path": "/home", "title": "Home", - "icon": "Home" + "icon": "Home", + "reachable": true }, { "id": "saved", + "path": "/saved", "title": "Saved", - "icon": "Archive" + "icon": "Archive", + "reachable": true }, { "id": "marketplace", + "path": "/marketplace", "title": "Marketplace", - "icon": "Package" + "icon": "Package", + "reachable": true }, { "id": "streams", + "path": "/streams", "title": "Streams", - "icon": "Tv" + "icon": "Tv", + "reachable": true }, { "id": "streaming_control", + "path": "/streaming_control", "title": "Streaming Control", "icon": "Video" + }, + { + "id": "administration", + "path": "/administration", + "title": "Administration", + "icon": "MdOutlineAdminPanelSettings", + "webTitleAddition": "Administration Mode", + "requiredRoles": [ + "admin" + ] } ] \ No newline at end of file