H5: admin-scherm voor de hero (formulier, slides, upload, focus-editor met voorbeeld, TypeScript-tweeling van FocusMath)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -233,6 +233,18 @@ const cmsRoute = createRoute({
|
||||
),
|
||||
});
|
||||
|
||||
const heroRoute = createRoute({
|
||||
getParentRoute: () => authenticatedRoute,
|
||||
path: '/hero',
|
||||
component: () => (
|
||||
<RoleGuard allowedRoles={['Owner', 'Administrator']}>
|
||||
<ModuleGuard requiredModule="Hero">
|
||||
{lazyPage(() => import('@/features/hero/pages/HeroPage'), 'HeroPage')()}
|
||||
</ModuleGuard>
|
||||
</RoleGuard>
|
||||
),
|
||||
});
|
||||
|
||||
const offeringsRoute = createRoute({
|
||||
getParentRoute: () => authenticatedRoute,
|
||||
path: '/offerings',
|
||||
@@ -320,6 +332,7 @@ export const routeTree = rootRoute.addChildren([
|
||||
dashboardRoute,
|
||||
usersRoute,
|
||||
cmsRoute,
|
||||
heroRoute,
|
||||
offeringsRoute,
|
||||
offeringsNewRoute,
|
||||
offeringsEditRoute,
|
||||
|
||||
Reference in New Issue
Block a user