feat(sidebar): move Routing/Outbounds to top-level items with clean URLs

- Move Routing out of the Xray Configs submenu; add Routing and Outbounds
  as top-level sidebar items below Hosts
- Give them their own clean routes (/routing, /outbound) instead of
  /xray#routing and /xray#outbound, registered in the React router and the
  Go SPA shell so direct links and refresh work
- XrayPage derives the active section from the pathname for those routes
- Add menu.routing and menu.outbounds translation keys across all locales
This commit is contained in:
MHSanaei
2026-06-22 22:20:26 +02:00
parent 20094c8d35
commit 718b7e16e1
18 changed files with 39 additions and 7 deletions
+2
View File
@@ -111,6 +111,8 @@
"nodes": "Вузли",
"settings": "Налаштування панелі",
"xray": "Конфігурації Xray",
"routing": "Маршрутизація",
"outbounds": "Вихідні",
"apiDocs": "Документація API",
"logout": "Вийти",
"link": "Керувати",