comty/packages/app/config/routes.js
SrGooglo 14f38b87c5 Refactor routing to use @ragestudio/vessel/router package
- 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
2025-06-16 20:56:15 +00:00

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,
},
},
]