issues/27: prod baseline without task branch
This commit is contained in:
-38
@@ -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 (
|
||||
@@ -71,24 +51,6 @@ function App() {
|
||||
<Route path="promotions" element={<StocksListPage/>} />
|
||||
<Route path="promotions/edit/:id" element={<EditStockPage/>} />
|
||||
<Route path="promotions/create" element={<AddStockPage/>} />
|
||||
<Route path="news" element={<NewsListPage />} />
|
||||
<Route path="news/edit/:id" element={<NewsEditPage />} />
|
||||
<Route path="news/create" element={<NewsCreatePage />} />
|
||||
<Route path="site-promo" element={<SitePromoListPage />} />
|
||||
<Route path="site-promo/edit/:id" element={<SitePromoEditPage />} />
|
||||
<Route path="site-promo/create" element={<SitePromoCreatePage />} />
|
||||
<Route path="disease" element={<DiseaseListPage />} />
|
||||
<Route path="disease/edit/:id" element={<DiseaseEditPage />} />
|
||||
<Route path="disease/create" element={<DiseaseCreatePage />} />
|
||||
<Route path="medical-center" element={<MedicalCenterListPage />} />
|
||||
<Route path="medical-center/edit/:id" element={<MedicalCenterEditPage />} />
|
||||
<Route path="medical-center/create" element={<MedicalCenterCreatePage />} />
|
||||
<Route path="article" element={<ArticleListPage />} />
|
||||
<Route path="article/edit/:id" element={<ArticleEditPage />} />
|
||||
<Route path="article/create" element={<ArticleCreatePage />} />
|
||||
<Route path="site-services" element={<SiteServicesListPage />} />
|
||||
<Route path="site-services/edit/:id" element={<SiteServicesEditPage />} />
|
||||
<Route path="site-services/create" element={<SiteServicesCreatePage />} />
|
||||
<Route path="*" element={<NotFoundPage />} />
|
||||
</Route>
|
||||
<Route path="*" element={<Navigate to="/" replace />} />
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user