ui frotneedn fixes
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user