App+Admin: cofniecie zakladki testowej (pomiar watkiego gardla deployu - build wszystkich uslug niezaleznie od zmian)
This commit is contained in:
@@ -21,7 +21,6 @@ import Exercises from './pages/catalog/Exercises';
|
||||
import EquipmentCatalog from './pages/catalog/Equipment';
|
||||
import Announcements from './pages/announcements/Announcements';
|
||||
import Logs from './pages/Logs';
|
||||
import TestPage from './pages/TestPage';
|
||||
import VerificationsList, { VerificationDetail } from './pages/Verifications';
|
||||
|
||||
export default function App() {
|
||||
@@ -63,7 +62,6 @@ export default function App() {
|
||||
<Route path="/verifications/:id" element={<VerificationDetail />} />
|
||||
<Route path="/announcements" element={<Announcements />} />
|
||||
<Route path="/logs" element={<Logs />} />
|
||||
<Route path="/test" element={<TestPage />} />
|
||||
</Route>
|
||||
<Route path="*" element={<Navigate to="/" replace />} />
|
||||
</Routes>
|
||||
|
||||
@@ -5,7 +5,6 @@ import {
|
||||
AppWindow,
|
||||
Building2,
|
||||
Dumbbell,
|
||||
FlaskConical,
|
||||
LogOut,
|
||||
Megaphone,
|
||||
Menu,
|
||||
@@ -46,7 +45,6 @@ const SECTIONS: NavSection[] = [
|
||||
labelKey: 'nav.management',
|
||||
items: [
|
||||
{ to: '/gyms', labelKey: 'nav.gyms', icon: Building2, end: false },
|
||||
{ to: '/test', labelKey: 'nav.test', icon: FlaskConical, end: false },
|
||||
{ to: '/verifications', labelKey: 'nav.verifications', icon: ShieldCheck, end: false },
|
||||
{ to: '/users', labelKey: 'nav.users', icon: Users, end: false },
|
||||
{ to: '/announcements', labelKey: 'nav.announcements', icon: Megaphone, end: false },
|
||||
|
||||
@@ -44,8 +44,7 @@
|
||||
"roleTrainer": "Trainer",
|
||||
"roleMember": "Member",
|
||||
"buildInfo": "build {{sha}} · {{time}}",
|
||||
"buildDev": "dev",
|
||||
"test": "Test"
|
||||
"buildDev": "dev"
|
||||
},
|
||||
"topbar": {
|
||||
"openMenu": "Open menu",
|
||||
|
||||
@@ -44,8 +44,7 @@
|
||||
"roleTrainer": "Trener",
|
||||
"roleMember": "Ćwiczący",
|
||||
"buildInfo": "wersja {{sha}} · {{time}}",
|
||||
"buildDev": "dev",
|
||||
"test": "Test"
|
||||
"buildDev": "dev"
|
||||
},
|
||||
"topbar": {
|
||||
"openMenu": "Otwórz menu",
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useTopbar } from '../topbar';
|
||||
|
||||
export default function TestPage() {
|
||||
const { t } = useTranslation();
|
||||
useTopbar({ title: t('common:nav.test') });
|
||||
return <p className="text-dim">{t('common:nav.test')}</p>;
|
||||
}
|
||||
Reference in New Issue
Block a user