Files
lolympus-tournament-support/apps/web/src/App.tsx
T
dahyeon e623715ea5 feat: implement main pages and auction system
- Set up React Router with routes for Home, Match Detail, and Auction pages
- Integrate Tailwind CSS and daisyUI for application styling
- Implement match management UI components using mock data
- Add auction team-building simulation logic and associated types
- Update project configuration to support the new UI framework
2026-04-15 01:35:11 +09:00

33 lines
986 B
TypeScript

import { BrowserRouter, Routes, Route } from "react-router";
import HomePage from "./pages/HomePage";
import MatchDetailPage from "./pages/MatchDetailPage";
import AuctionPage from "./pages/AuctionPage";
function App() {
return (
<BrowserRouter>
<div className="min-h-screen bg-base-100">
{/* Navbar */}
<nav className="bg-base-100 border-b border-base-content/10 sticky top-0 z-50">
<div className="max-w-5xl mx-auto px-4 sm:px-6 flex items-center h-11">
<a
className="text-sm font-bold tracking-tight text-base-content"
href="/"
>
LOLYMPUS
</a>
</div>
</nav>
<Routes>
<Route path="/" element={<HomePage />} />
<Route path="/match/:id" element={<MatchDetailPage />} />
<Route path="/match/:id/auction" element={<AuctionPage />} />
</Routes>
</div>
</BrowserRouter>
);
}
export default App;