i want to change metronic logo with my logo and also i want to to redirect the routes when user go to my profile i want to show different layout to user , admin and employee
Hi,
Could you please specify which Metronic version are you using and which demo?
In demo1 you can change sidebar logo in file src/_metronic/layout/components/sidebar/SidebarLogo.tsx and header logo in src/_metronic/layout/components/header/HeaderWrapper.tsx.
To change the layout for some routes you can duplicate MainLayout and specify it in routing/PrivateRoutes.tsx.
<Route element={<MasterLayout />}>
<Route path="dashboard" element={<DashboardWrapper />} />
</Route>
<Route element={<MasterLayout2 />} route="/layout2">
<Route path="profile" element={<ProfileWrapper />} />
</Route>
i am using demo 2 of version 8
Hi,
In demo2 logo can be updated in demo2/src/_metronic/layout/components/header/HeaderWrapper.tsx
The router file is the same in all demos.
Regards,
Lauris Stepanovs,
Keenthemes Support Team