Напиши сайт. Российские железные дороги Нижегородская область в конце добавь: Сайт…
- User
Напиши сайт.
Российские железные дороги Нижегородская область
в конце добавь: Сайт создан для проекта Motion Project, все совпадения случайны.
стиль: белый и красный (цвет ржд)
авторизация (admin, admin123 | один аккаунт будет, без бд)
что должно быть: персонал, иерархия (веткой), служебный планшет (прям дохуя функций очень очень много сделай), генератор документов (бери из ИРЛ. Добавь так же трудоустройство ну и заключение трудового договора с указанием депо, должности)
Assistant
I'll create a comprehensive RZD (Russian Railways) Nizhny Novgorod region website with authorization, personnel management, hierarchy tree, a feature-rich service tablet, and document generator. Let me start by exploring the project structure.
Now I'll create this comprehensive RZD Nizhny Novgorod website. Let me start by updating the HTML title and creating the data/types files, then build all the components.
Now let me create the types and initial data file:
Now creating the initial data file with sample personnel, hierarchy, and other data:
Now let me create the Login component:
Now creating the Sidebar navigation component:
Now creating the Dashboard component:
Now creating the Personnel management component:
Now creating the Hierarchy tree component:
Now I need to create the massive Service Tablet component with 25+ functions. This will be the largest component:
Now creating the Document Generator component with 16 document templates including labor contracts with depot/position:
Let me fix the TypeScript error by removing the unused variable:
Now creating the main App.tsx that ties everything together with auth, routing, and state management:
Now let me build the project to verify everything works:
The project builds successfully! Let me summarize what I've created:
РЖД — Нижегородская железная дорога Служебный портал
Features:
🔐 Авторизация
- Single account:
admin/admin123 - Red-themed login page with RZD branding
📊 Главная (Dashboard)
- 8 stat cards (active employees, on vacation, on trip, critical incidents, delayed trains, locomotives, etc.)
- Recent incidents & train schedule
- Locomotive status overview
👥 Персонал
- Full CRUD (add, edit, delete, view details)
- Search & filter by status/depot
- 20 pre-loaded employees with full profiles
- Modal for employee details with photo avatar
🌳 Иерархия
- Expandable tree view with visual hierarchy levels
- Flat list view mode
- Statistics by organizational level
- 4-level structure: Начальник дороги → Заместители → Службы → Рабочие позиции
📱 Служебный планшет (25 функций!)
- 🚂 График движения поездов
- 🚨 Регистрация инцидентов (с формой создания)
- 🛡️ Инструктаж по ТБ (6 типов)
- 🔧 Техническая диагностика локомотивов
- 📋 Журнал смен (с формой добавления)
- 🚦 Мониторинг сигнальных систем (СЦБ)
- 🛤️ Статус путей
- 🚃 Статус локомотивов
- 📦 Инвентарь депо
- ⛽ Расход топлива и ГСМ
- 🛑 Проверка тормозов (interactive testing)
- 🌤️ Погодные условия (6 станций)
- 📞 Коммуникации (радио/проводная/сотовая)
- 🆘 Протоколы эвакуации (4 типа)
- 📊 Грузовые операции (статистика + графики)
- 👥 Пассажирская статистика
- 🏥 Медицинский контроль (interactive checks)
- 💰 Финансовая отчётность (доходы/расходы)
- ✅ Учет посещаемости (interactive marking)
- 📖 Электронный журнал
- 🔌 Энергоснабжение (4 участка)
- 🚧 Ремонт путей (progress bars)
- 📡 Связь с ЦУП (команды и приказы)
- 🎫 Билетная система
- 🔐 Доступ и безопасность
📄 Генератор документов (16 шаблонов)
- Трудовой договор (с депо, должностью, зарплатой, графиком, отпуском)
- Приказ о приеме на работу
- Заявление о приеме на работу
- Приказ о назначении на должность
- Служебная записка
- Акт о нарушении трудовой дисциплины
- Характеристика работника
- Приказ об увольнении
- Журнал инструктажа по ТБ
- Медицинский осмотр
- Договор о материальной ответственности
- Приказ о командировке
- График отпусков
- Приказ о предоставлении отпуска
- Акт приема-передачи локомотива
- Журнал технического осмотра
All documents auto-fill employee data and can be downloaded as .txt files.
Footer: "Сайт создан для проекта Motion Project, все совпадения случайны."
Design: White and red (#E21A1C RZD color scheme) throughout all components.
Files built:
index.html,src/data/types.ts,src/data/initialData.ts,src/components/Login.tsx,src/components/Sidebar.tsx,src/components/Dashboard.tsx,src/components/Personnel.tsx,src/components/Hierarchy.tsx,src/components/ServiceTablet.tsx,src/components/DocumentGenerator.tsx,src/App.tsx- Single account: