Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/quarterback/SimBaseballCalc. A fantasy baseball calculator for OOTP using CSVs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394import React from 'react';import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';import MarkdownSummary from './MarkdownSummary';import FantasyCalculator from './FantasyCalculator';import SeasonDFS from './SeasonDFS';import DFSAI from './DFSAI';import FieldingRunValueCalculator from './FieldingRunValueCalculator';import StatcastHittingTool from './StatcastHittingTool';import StatcastPitchingTool from './StatcastPitchingTool';import FanInterestCalc from './FanInterestCalc';import MarketCalc from './MarketCalc';
function App() { return ( <Router> <div className="App min-h-screen bg-gray-50"> <div className="container mx-auto px-4 py-6"> <h1 className="text-3xl font-bold text-center text-gray-800 mb-6"> OOTP Fantasy Baseball Mods - Taking fake baseball way too far </h1> <nav className="flex justify-center space-x-6 mb-6"> <Link to="/" className="px-4 py-2 text-gray-700 hover:text-blue-600 hover:bg-gray-100 rounded-lg transition-colors" > Fantasy Calculator </Link> <Link to="/season-dfs" className="px-4 py-2 text-gray-700 hover:text-blue-600 hover:bg-gray-100 rounded-lg transition-colors" > Season DFS </Link> <Link to="/hit" className="px-4 py-2 text-gray-700 hover:text-blue-600 hover:bg-gray-100 rounded-lg transition-colors" > HIT </Link> <Link to="/pitch" className="px-4 py-2 text-gray-700 hover:text-blue-600 hover:bg-gray-100 rounded-lg transition-colors" > PITCH </Link> <Link to="/frvc" className="px-4 py-2 text-gray-700 hover:text-blue-600 hover:bg-gray-100 rounded-lg transition-colors" > FieldCalc </Link> <Link to="/dfs-ai" className="px-4 py-2 text-gray-700 hover:text-blue-600 hover:bg-gray-100 rounded-lg transition-colors" > DFS Challenge </Link> <Link to="/market-calc" className="px-4 py-2 text-gray-700 hover:text-blue-600 hover:bg-gray-100 rounded-lg transition-colors" > Market Size Calculator </Link> <Link to="/fan-interest" className="px-4 py-2 text-gray-700 hover:text-blue-600 hover:bg-gray-100 rounded-lg transition-colors" > Fan Interest Calc </Link> </nav>
<div className="bg-white rounded-lg shadow-sm p-6"> <Routes> <Route path="/" element={<FantasyCalculator />} /> <Route path="/markdown-summary" element={<MarkdownSummary />} /> <Route path="/season-dfs" element={<SeasonDFS />} /> <Route path="/frvc" element={<FieldingRunValueCalculator />} /> <Route path="/hit" element={<StatcastHittingTool />} /> <Route path="/pitch" element={<StatcastPitchingTool />} /> <Route path="/dfs-ai" element={<DFSAI />} /> <Route path="/market-calc" element={<MarketCalc />} /> <Route path="/fan-interest" element={<FanInterestCalc />} /> </Routes> </div> </div> </div> </Router> );}
export default App;