mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
move routes
This commit is contained in:
parent
5c8cc4c802
commit
5ebdda01e8
@ -1,5 +0,0 @@
|
||||
[
|
||||
"/post/*",
|
||||
"/live/*",
|
||||
"/featured-event/*"
|
||||
]
|
47
packages/app/constants/routes.js
Executable file
47
packages/app/constants/routes.js
Executable 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
|
||||
}
|
||||
]
|
@ -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
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user