Repository navigation
Commit 4785eec
committed
refactor: use shared AdminAppShell, CommonRoutes, and common resource components
Extract repeated BrowserRouter/Admin boilerplate, common routes (yemot-simulator,
tutorial, pages-view, roadmap, register, maintenance, settings), and shared admin/
settings resources into nra-client shared components.
- AdminAppShell: wraps BrowserRouter > RTLStyle > Admin
- CommonRoutes: yemot-simulator, tutorial, pages-view, roadmap, register, maintenance, settings
- CommonAdminResources: text, yemot_call, recieved_mail, audit_log, user, page, payment_track
- CommonSettingsResources: text_by_user, mail_address, image, import_file
Reduces App.jsx by ~65 lines. No functional changes.
Shared components: client/shared @ 79b36261 parent 31c2446 commit 4785eec
2 files changed
Lines changed: 110 additions & 175 deletions
0 commit comments