Refactor Site Management Components and Update URL Parameters

- Changed `siteId` to `id` in `useParams` across multiple site-related components for consistency.
- Removed "Sites" from the sidebar settings menu.
- Updated navigation links in `SiteDashboard` to reflect new paths for integrations and deployments.
- Enhanced `SiteList` component with improved site management features, including modals for site creation and sector configuration.
- Added functionality to handle industry and sector selection for sites, with validation for maximum selections.
- Improved UI elements and alerts for better user experience in site management.
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-18 06:02:13 +00:00
parent 155a73d928
commit b05421325c
13 changed files with 787 additions and 107 deletions

View File

@@ -210,7 +210,6 @@ const AppSidebar: React.FC = () => {
subItems: [
{ name: "General", path: "/settings" },
{ name: "Plans", path: "/settings/plans" },
{ name: "Sites", path: "/settings/sites" },
{ name: "Integration", path: "/settings/integration" },
{ name: "Publishing", path: "/settings/publishing" },
{ name: "Import / Export", path: "/settings/import-export" },