Some checks failed
Build and Push / build (push) Failing after 8s
Full-stack tournament management app with real-time scoring: - Go 1.26 backend with REST API and WebSocket live scoring - React 19 + Vite 8 frontend with mobile-first design - File-based JSON storage with JSONL audit logs - Multi-stage Docker build with Gitea CI/CD pipeline - Post-tournament questionnaire with spirit voting - Technical documentation and project description Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
1.2 KiB
JavaScript
32 lines
1.2 KiB
JavaScript
import React from 'react';
|
|
import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
|
|
import Header from './components/Header';
|
|
import Footer from './components/Footer';
|
|
import HomePage from './pages/HomePage';
|
|
import TournamentPage from './pages/TournamentPage';
|
|
import SchedulePage from './pages/SchedulePage';
|
|
import GamePage from './pages/GamePage';
|
|
import QuestionnairePage from './pages/QuestionnairePage';
|
|
import ResultsPage from './pages/ResultsPage';
|
|
import PastPage from './pages/PastPage';
|
|
|
|
export default function App() {
|
|
return (
|
|
<BrowserRouter>
|
|
<div className="app">
|
|
<Header />
|
|
<Routes>
|
|
<Route path="/" element={<Navigate to="/tournament/fujarna-14-3-2026" replace />} />
|
|
<Route path="/tournament/:id" element={<TournamentPage />} />
|
|
<Route path="/tournament/:id/schedule" element={<SchedulePage />} />
|
|
<Route path="/tournament/:id/game/:gid" element={<GamePage />} />
|
|
<Route path="/tournament/:id/questionnaire" element={<QuestionnairePage />} />
|
|
<Route path="/tournament/:id/results" element={<ResultsPage />} />
|
|
<Route path="/past" element={<PastPage />} />
|
|
</Routes>
|
|
<Footer />
|
|
</div>
|
|
</BrowserRouter>
|
|
);
|
|
}
|