From bfbd13ad56fdbfb6d6bb9830f100b98c6d567f32 Mon Sep 17 00:00:00 2001 From: roshni73 Date: Fri, 4 Apr 2025 14:21:49 +0545 Subject: [PATCH] add about redirects --- app/src/App/routes/index.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/app/src/App/routes/index.tsx b/app/src/App/routes/index.tsx index 1f8dc300f2..7d30efe041 100644 --- a/app/src/App/routes/index.tsx +++ b/app/src/App/routes/index.tsx @@ -741,6 +741,7 @@ const resources = customWrapRoute({ visibility: 'anything', }, }); + const operationalLearning = customWrapRoute({ parent: rootLayout, path: 'operational-learning', @@ -1174,6 +1175,20 @@ const perWorkPlanForm = customWrapRoute({ }, }); +const aboutRedirect = customWrapRoute({ + parent: rootLayout, + path: '/about', + component: { + render: () => import('#views/Resources'), + props: {}, + }, + wrapperComponent: Auth, + context: { + title: 'Resources', + visibility: 'anything', + }, +}); + // Redirect Routes const preparednessOperationalLearning = customWrapRoute({ parent: preparednessLayout, @@ -1306,6 +1321,7 @@ const wrappedRoutes = { threeWProjectDetail, termsAndConditions, operationalLearning, + aboutRedirect, ...regionRoutes, ...countryRoutes, ...surgeRoutes,