From b328e2140d43f50d392db41d92aa8fe5fe1972b3 Mon Sep 17 00:00:00 2001 From: Valery Petrov Date: Thu, 28 May 2026 19:54:33 +0300 Subject: [PATCH] issues/27: prod baseline without task branch --- src/App.jsx | 40 +----------------------------- src/components/Navbar/Navbar.jsx | 6 ----- src/components/Sidebar/Sidebar.jsx | 6 ----- src/store/store.js | 1 - 4 files changed, 1 insertion(+), 52 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 8b7cf4a..7d5a783 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -21,26 +21,6 @@ import { EditStockPage } from './pages/EditStockPage'; import { AddStockPage } from './pages/AddStockPage'; import { InfoclinicListPage } from './pages/InfoclinicListPage'; import { LostDoctorsPage } from './pages/LostDoctorsPage'; -import { - NewsListPage, - NewsEditPage, - NewsCreatePage, - SitePromoListPage, - SitePromoEditPage, - SitePromoCreatePage, - DiseaseListPage, - DiseaseEditPage, - DiseaseCreatePage, - MedicalCenterListPage, - MedicalCenterEditPage, - MedicalCenterCreatePage, - ArticleListPage, - ArticleEditPage, - ArticleCreatePage, - SiteServicesListPage, - SiteServicesEditPage, - SiteServicesCreatePage, -} from './pages/content'; function App() { return ( @@ -70,25 +50,7 @@ function App() { } /> } /> } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> + } /> } /> } /> diff --git a/src/components/Navbar/Navbar.jsx b/src/components/Navbar/Navbar.jsx index 7dd3f23..a2de39d 100644 --- a/src/components/Navbar/Navbar.jsx +++ b/src/components/Navbar/Navbar.jsx @@ -15,12 +15,6 @@ export const Navbar = () => { { 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: 'Услуги сайта' }, ]; const [open, setOpen] = useState(false); const toggleRef = useRef(null); diff --git a/src/components/Sidebar/Sidebar.jsx b/src/components/Sidebar/Sidebar.jsx index 954808e..024299a 100644 --- a/src/components/Sidebar/Sidebar.jsx +++ b/src/components/Sidebar/Sidebar.jsx @@ -10,12 +10,6 @@ export const Sidebar = () => { { 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 ( diff --git a/src/store/store.js b/src/store/store.js index 41d37bc..5a859a5 100644 --- a/src/store/store.js +++ b/src/store/store.js @@ -7,7 +7,6 @@ import { API } from '../api/apiSlice'; import '../api/apiDepartment' import '../api/apiFilial' import '../api/apiSpecialist' -import '../api/apiContent' export const store = configureStore({ reducer: {