feat(ui): introduce PferdReiterEingabe, NennungenTabelle, and NennungsMaske components
- Added `PferdReiterEingabe` for horse and rider selection with search functionality and keyboard navigation. - Implemented `NennungenTabelle` to display filtered registrations based on selected horse or rider. - Introduced `NennungsMaske` to combine search, table, and competition views for streamlined user interaction. - Extended types with `Veranstalter` interface and mock data for better context and integration. - Documented ÖTO-compliant tournament structure for frontend reference. Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
import {createBrowserRouter} from 'react-router';
|
||||
import {Login} from './components/Login';
|
||||
import {AdminVerwaltung} from './components/Dashboard';
|
||||
import {TurnierErstellen} from './components/TurnierErstellen';
|
||||
import {TurnierAnsicht} from './components/TurnierAnsicht';
|
||||
import {VeranstalterAuswahl} from './components/VeranstalterAuswahl';
|
||||
import {NeuerVeranstalter} from './components/NeuerVeranstalter';
|
||||
import {VeranstalterUebersicht} from './components/VeranstalterUebersicht';
|
||||
import {VeranstalterProfil} from './components/VeranstalterProfil';
|
||||
|
||||
export const router = createBrowserRouter([
|
||||
{
|
||||
path: '/',
|
||||
Component: Login,
|
||||
},
|
||||
{
|
||||
path: '/admin',
|
||||
Component: AdminVerwaltung,
|
||||
},
|
||||
{
|
||||
path: '/veranstalter/auswahl',
|
||||
Component: VeranstalterAuswahl,
|
||||
},
|
||||
{
|
||||
path: '/veranstalter/neu',
|
||||
Component: NeuerVeranstalter,
|
||||
},
|
||||
{
|
||||
path: '/veranstalter/:id',
|
||||
Component: VeranstalterUebersicht,
|
||||
},
|
||||
{
|
||||
path: '/veranstalter/:id/profil',
|
||||
Component: VeranstalterProfil,
|
||||
},
|
||||
{
|
||||
path: '/veranstaltung/:id',
|
||||
Component: TurnierErstellen,
|
||||
},
|
||||
{
|
||||
path: '/veranstaltung/:veranstaltungId/turnier/neu',
|
||||
Component: TurnierAnsicht,
|
||||
},
|
||||
{
|
||||
path: '/veranstaltung/:veranstaltungId/turnier/:nr',
|
||||
Component: TurnierAnsicht,
|
||||
},
|
||||
]);
|
||||
Reference in New Issue
Block a user