File size: 1,246 Bytes
41a71fd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
import { classNames } from '@/shared/lib/classNames/classNames';
import cls from './Menu.module.scss';
import { AppLink, AppLinkTheme } from '@/shared/ui/AppLink';
import Location from '@/shared/assets/icons/location.svg?react';
interface MenuProps {
className?: string;
}
export const Menu = (props: MenuProps) => {
const { className } = props;
return (
<nav className={classNames(cls.Menu, {}, [className])}>
<ul className={cls.list}>
<li className={cls.item}>
<AppLink //
className={cls.blockItem}
to="/someTests"
theme={AppLinkTheme.NAVIGATION}
icon={<Location />}
>
Тестовая страница
</AppLink>
</li>
<li className={cls.item}>
<AppLink //
to="/contact"
className={cls.blockItem}
theme={AppLinkTheme.NAVIGATION}
>
Контакты
</AppLink>
</li>
</ul>
</nav>
);
};
|