ui frotneedn fixes

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-26 06:47:23 +00:00
parent 451594bd29
commit 4fe68cc271
40 changed files with 1638 additions and 275 deletions

View File

@@ -11,6 +11,7 @@
import { useState, useEffect, useCallback, useMemo } from 'react';
import PageMeta from '../../components/common/PageMeta';
import PageHeader from '../../components/common/PageHeader';
import ModuleNavigationTabs from '../../components/navigation/ModuleNavigationTabs';
import { useToast } from '../../components/ui/toast/ToastContainer';
import {
fetchIndustries,
@@ -252,6 +253,13 @@ export default function IndustriesSectorsKeywords() {
setCurrentPage(1);
};
// Navigation tabs for Industries/Sectors/Keywords
const setupTabs = [
{ label: 'Industries', path: '#industries', icon: <PieChartIcon className="w-4 h-4" /> },
{ label: 'Sectors', path: '#sectors', icon: <CheckCircleIcon className="w-4 h-4" /> },
{ label: 'Keywords', path: '#keywords', icon: <BoltIcon className="w-4 h-4" /> },
];
// Handle sector toggle
const handleSectorToggle = (sectorSlug: string) => {
setSelectedSectors(prev =>
@@ -381,6 +389,7 @@ export default function IndustriesSectorsKeywords() {
title="Industries, Sectors & Keywords"
badge={{ icon: <PieChartIcon />, color: 'blue' }}
hideSiteSector={true}
navigation={<ModuleNavigationTabs tabs={setupTabs} />}
/>
<div className="p-6">