Almost updated
This commit is contained in:
@ -21,31 +21,14 @@ export default function Header4() {
|
||||
{ id: 13, title: "Data Processing", href: "/service-details/13" },
|
||||
{ id: 14, title: "Receipt Data Entry Services", href: "/service-details/14" },
|
||||
{ id: 15, title: "Logistics Data Entry Services", href: "/service-details/15" },
|
||||
{ id: 16, title: "Construction", href: "/service-details/16" }
|
||||
{ id: 16, title: "Construction", href: "/#" }
|
||||
];
|
||||
|
||||
const renderServiceLink = (service) => {
|
||||
// Disable Construction service (id: 16) same as in Services component
|
||||
const isDisabled = service.id === 16;
|
||||
|
||||
if (isDisabled) {
|
||||
return (
|
||||
<span
|
||||
style={{
|
||||
display: 'block',
|
||||
padding: '8px 16px',
|
||||
color: '#999999',
|
||||
fontSize: '14px',
|
||||
fontWeight: '500',
|
||||
borderLeft: '3px solid transparent',
|
||||
cursor: 'not-allowed',
|
||||
opacity: '0.5'
|
||||
}}
|
||||
>
|
||||
{service.title}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user