'use client' import { useTranslation } from 'react-i18next' import Link from 'next/link' import { useSelectedLayoutSegment } from 'next/navigation' import { RiHammerFill, RiHammerLine, } from '@remixicon/react' import classNames from '@/utils/classnames' type ToolsNavProps = { className?: string } const ToolsNav = ({ className, }: ToolsNavProps) => { const { t } = useTranslation() const selectedSegment = useSelectedLayoutSegment() const activated = selectedSegment === 'tools' return ( { activated ? : } {t('common.menus.tools')} ) } export default ToolsNav