Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import Pets from './pages/Pets.jsx';
import Covid from './pages/Covid.jsx';
import Navbar from './components/Navbar.jsx';
import ContributorsWall from './pages/Contributors.jsx'
import Pokedex from './pages/Pokedex.jsx';

// TODO: Extract theme state into context (see todo 5).
import { useState, useEffect } from 'react';
Expand Down Expand Up @@ -79,7 +80,8 @@ export default function App() {
<Route path="/jokes-quotes" element={<JokesQuotes />} />
<Route path="/pets" element={<Pets />} />
<Route path="/covid" element={<Covid />} />
<Route path="/contributors" element={<ContributorsWall />} />
<Route path="/contributors" element={<ContributorsWall />} />
<Route path="/pokedex" element={<Pokedex />} />
</Routes>
</main>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ const dashboards = [
{ path: '/jokes-quotes', title: 'Jokes & Quotes', desc: 'Random jokes & inspiration' },
{ path: '/pets', title: 'Pets Images', desc: 'Random dog & cat images' },
{ path: '/covid', title: 'COVID-19 Stats', desc: 'Global & country data' },
{ path: '/pokedex', title: 'Pokédex', desc: 'Explore Pokémon species' },
{ path: '/contributors', title: 'Contributor Wall', desc: 'Our Contributors' },

];

export default function Home() {
Expand Down
Loading
Loading