mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-18 15:04:17 +00:00
- Remove custom router implementation - Update App.jsx to use new Router.Render with route declarations - Add react-router dependency - Update static renders to match new router structure
78 lines
1.1 KiB
JavaScript
Executable File
78 lines
1.1 KiB
JavaScript
Executable File
export default [
|
|
{
|
|
path: "/auth",
|
|
useLayout: "minimal",
|
|
public: true,
|
|
},
|
|
{
|
|
path: "/post/*",
|
|
useLayout: "default",
|
|
public: true,
|
|
},
|
|
{
|
|
path: "/tv/live/*",
|
|
useLayout: "default",
|
|
public: true,
|
|
},
|
|
{
|
|
path: "/tv/*",
|
|
useLayout: "default",
|
|
centeredContent: false,
|
|
},
|
|
{
|
|
path: "/featured-event/*",
|
|
useLayout: "default",
|
|
public: true,
|
|
},
|
|
{
|
|
path: "/settings",
|
|
useLayout: "default",
|
|
centeredContent: {
|
|
mobile: true,
|
|
desktop: false,
|
|
},
|
|
mobileTopBarSpacer: true,
|
|
},
|
|
{
|
|
path: "/music/*",
|
|
useLayout: "default",
|
|
centeredContent: false,
|
|
},
|
|
{
|
|
path: "/nfc/*",
|
|
useLayout: "minimal",
|
|
public: true,
|
|
},
|
|
{
|
|
path: "/privacy/*",
|
|
useLayout: "default",
|
|
public: true,
|
|
},
|
|
{
|
|
path: "/terms/*",
|
|
useLayout: "default",
|
|
public: true,
|
|
},
|
|
{
|
|
path: "/recover/*",
|
|
useLayout: "minimal",
|
|
public: true,
|
|
},
|
|
|
|
{
|
|
path: "/marketplace/*",
|
|
useLayout: "default",
|
|
centeredContent: true,
|
|
extendedContent: true,
|
|
},
|
|
// THIS MUST BE THE LAST ROUTE
|
|
{
|
|
path: "/",
|
|
useLayout: "default",
|
|
centeredContent: {
|
|
mobile: false,
|
|
desktop: true,
|
|
},
|
|
},
|
|
]
|