diff --git a/src/App.tsx b/src/App.tsx index 783d05c..ec9d2f3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,6 +3,10 @@ import Home from './pages/home/Home'; import NotFound from './pages/NotFound/NotFound'; import Layout from './components/Layout'; import Search from './pages/search/Search'; +import Plays from './pages/plays/Plays'; +import Players from './pages/players/Players'; +import Games from './pages/games/Games'; +import Game from './pages/games/id/Game'; function App() { return ( @@ -10,6 +14,10 @@ function App() { + + + + diff --git a/src/pages/games/Games.tsx b/src/pages/games/Games.tsx new file mode 100644 index 0000000..7033479 --- /dev/null +++ b/src/pages/games/Games.tsx @@ -0,0 +1,3 @@ +export default function Games() { + return
Games
; +} diff --git a/src/pages/games/id/Game.tsx b/src/pages/games/id/Game.tsx new file mode 100644 index 0000000..67272d1 --- /dev/null +++ b/src/pages/games/id/Game.tsx @@ -0,0 +1,7 @@ +import { useParams } from 'wouter'; + +export default function Game() { + const params = useParams<{ id: string }>(); + const { id } = params; + return
Game {id}
; +} diff --git a/src/pages/players/Players.tsx b/src/pages/players/Players.tsx new file mode 100644 index 0000000..212dcc3 --- /dev/null +++ b/src/pages/players/Players.tsx @@ -0,0 +1,8 @@ +export default function Players() { + return ( +
+

Jugadores

+

Aquí puedes ver la lista de jugadores.

+
+ ); +} diff --git a/src/pages/plays/Plays.tsx b/src/pages/plays/Plays.tsx new file mode 100644 index 0000000..a2bb503 --- /dev/null +++ b/src/pages/plays/Plays.tsx @@ -0,0 +1,8 @@ +export default function Plays() { + return ( +
+

Jugadas

+

Aquí puedes ver la lista de jugadas.

+
+ ); +}