move routes

This commit is contained in:
SrGooglo 2023-02-24 14:25:40 +00:00
parent 5c8cc4c802
commit 5ebdda01e8
3 changed files with 47 additions and 43 deletions

View File

@ -1,5 +0,0 @@
[
"/post/*",
"/live/*",
"/featured-event/*"
]

View File

@ -0,0 +1,47 @@
export default [
{
path: "/login",
useLayout: "login",
public: true
},
{
path: "/home/*",
useLayout: "default",
useTitle: "Home",
},
{
path: "/posts/*",
useLayout: "default",
useTitle: "Posts",
},
{
path: "/post/*",
useLayout: "default",
public: true
},
{
path: "/live/*",
useLayout: "default",
public: true
},
{
path: "/featured-event/*",
useLayout: "default",
public: true
},
{
path: "/settings/*",
useLayout: "default",
centeredContent: true
},
{
path: "/security/*",
useLayout: "default",
centeredContent: true
},
{
path: "/music/creator",
useLayout: "default",
centeredContent: true
}
]

View File

@ -1,38 +0,0 @@
[
{
"id": "index",
"path": "/",
"title": "Index",
"icon": "Home",
"useLayout": "login",
"reachable": false
},
{
"id": "login",
"path": "/login",
"title": "Login",
"icon": "Login",
"useLayout": "login"
},
{
"id": "home",
"path": "/home",
"title": "Home",
"icon": "Home",
"reachable": true
},
{
"id": "tv",
"path": "/tv",
"title": "Tv",
"icon": "Tv",
"reachable": true
},
{
"id": "music",
"path": "/music",
"title": "Music",
"icon": "MdMusicVideo",
"reachable": true
}
]