import s from './styles.module.scss'; import Image from 'next/image'; import Link from 'next/link'; import { Icons } from '@shared/ui/icon'; import { baseMenu } from '@shared/const/menu'; import { TMenu } from '@shared/types/menu'; import dtrLogo from '@public/images/dtr-logo-eagle.png'; import { BeautyButton } from '@/entities'; function BaseMenu() { const phone = '+7 (900) 241-34-34'; 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 (
    {'ДиТрасо'}
    {phone}
    ); } export { BaseMenu };