Skip to content

Commit b4194c2

Browse files
Merge pull request #112 from Hrishikesh-Dalal/pokemon
Pokemon Data Added
2 parents 136636b + 4fa866e commit b4194c2

File tree

3 files changed

+392
-1
lines changed

3 files changed

+392
-1
lines changed

src/App.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import Pets from './pages/Pets.jsx';
4242
import Covid from './pages/Covid.jsx';
4343
import Navbar from './components/Navbar.jsx';
4444
import ContributorsWall from './pages/Contributors.jsx'
45+
import Pokedex from './pages/Pokedex.jsx';
4546

4647
// TODO: Extract theme state into context (see todo 5).
4748
import { useState, useEffect } from 'react';
@@ -79,7 +80,8 @@ export default function App() {
7980
<Route path="/jokes-quotes" element={<JokesQuotes />} />
8081
<Route path="/pets" element={<Pets />} />
8182
<Route path="/covid" element={<Covid />} />
82-
<Route path="/contributors" element={<ContributorsWall />} />
83+
<Route path="/contributors" element={<ContributorsWall />} />
84+
<Route path="/pokedex" element={<Pokedex />} />
8385
</Routes>
8486
</main>
8587
</div>

src/pages/Home.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ const dashboards = [
3333
{ path: '/jokes-quotes', title: 'Jokes & Quotes', desc: 'Random jokes & inspiration' },
3434
{ path: '/pets', title: 'Pets Images', desc: 'Random dog & cat images' },
3535
{ path: '/covid', title: 'COVID-19 Stats', desc: 'Global & country data' },
36+
{ path: '/pokedex', title: 'Pokédex', desc: 'Explore Pokémon species' },
3637
{ path: '/contributors', title: 'Contributor Wall', desc: 'Our Contributors' },
38+
3739
];
3840

3941
export default function Home() {

0 commit comments

Comments
 (0)