import s from './styles.module.scss'; import Image from 'next/image'; import dtrLogo from '@public/images/dtr-logo-eagle.png'; import { baseMenu, TMenu } from '@core/constants/menu'; import { Icons } from '@shared/ui/icon'; import Link from 'next/link'; function BaseMenu() { const Menu = ({ list }: { list: TMenu }) => { const nodeList = (list: TMenu) => { return list.map((item, index) => { if (item.children && item.children.length) { return (
  • {item.name}
  • ); } return (
  • {item.name}
  • ); }); }; return ( ); }; return (
    {'ДиТрасо'}
    ); } export { BaseMenu };