chore: initial import for test contour
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import { SidebarNavItem } from '../SidebarNavItem/SidebarNavItem';
|
||||
|
||||
export const Sidebar = () => {
|
||||
const links = [
|
||||
{ to: '/', icon: 'fas fa-home', label: 'Главная', end: true },
|
||||
{ to: '/specialist', icon: 'fas fa-user-md', label: 'Врачи' },
|
||||
{ to: '/lostDoctors', icon: 'fas fa-address-card', label: 'Врачи-потеряшки' },
|
||||
{ to: '/infoclinic', icon: 'fas fa-table', label: 'Расписание ИК' },
|
||||
{ to: '/prices',icon: 'fas fa-receipt', label: 'Цены и услуги' },
|
||||
{ to: '/promotions',icon: 'fas fa-percent', label: 'Акции' },
|
||||
{ to: '/departments',icon: 'fas fa-stethoscope', label: 'Отделения' },
|
||||
{ to: '/filials',icon: 'fas fa-building', label: 'Филиалы' },
|
||||
{ to: '/news', icon: 'fas fa-newspaper', label: 'Новости' },
|
||||
{ to: '/site-promo', icon: 'fas fa-bullhorn', label: 'Промо (контент)' },
|
||||
{ to: '/disease', icon: 'fas fa-heartbeat', label: 'Заболевания' },
|
||||
{ to: '/medical-center', icon: 'fas fa-hospital', label: 'Медцентры' },
|
||||
{ to: '/article', icon: 'fas fa-file-alt', label: 'Статьи' },
|
||||
{ to: '/site-services', icon: 'fas fa-concierge-bell', label: 'Услуги сайта' },
|
||||
];
|
||||
|
||||
return (
|
||||
<ul className={`navbar-nav bg-gradient-primary sidebar sidebar-dark accordion d-none d-lg-block`}>
|
||||
{links.map(({ to, icon, label, end }) => (
|
||||
<SidebarNavItem
|
||||
key={to}
|
||||
to={to}
|
||||
icon={icon}
|
||||
label={label}
|
||||
end={end}
|
||||
/>
|
||||
))}
|
||||
</ul>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user