├── .eslintrc.json ├── public ├── favicon.ico ├── screenshots │ ├── Web-Screenshot.png │ └── Mobile-Screenshot.png ├── assets │ ├── chevron-back-outline.svg │ ├── chevron-down-outline.svg │ ├── chevron-forward-outline.svg │ └── types │ │ ├── normal.svg │ │ ├── grass.svg │ │ ├── electric.svg │ │ ├── water.svg │ │ ├── dark.svg │ │ ├── ground.svg │ │ ├── steel.svg │ │ ├── poison.svg │ │ ├── fighting.svg │ │ ├── flying.svg │ │ ├── ghost.svg │ │ ├── ice.svg │ │ ├── bug.svg │ │ ├── rock.svg │ │ ├── fairy.svg │ │ ├── psychic.svg │ │ ├── fire.svg │ │ └── dragon.svg └── vercel.svg ├── next.config.js ├── pages ├── _app.js ├── _middleware.js └── dex │ └── [number].jsx ├── components ├── Type │ └── index.jsx ├── MatchupCard │ └── index.jsx ├── Navbar │ └── index.jsx ├── EvolutionCard │ └── index.jsx └── StatsCard │ └── index.jsx ├── .gitignore ├── package.json ├── styles ├── globals.css ├── Navbar.module.css ├── Matchup.module.css ├── Stats.module.css ├── Pokemon.module.css ├── Evolution.module.css └── Type.module.css ├── README.md └── lib ├── matchups.js ├── pokemon.js └── types.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vynex/ToxaDex/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/screenshots/Web-Screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vynex/ToxaDex/HEAD/public/screenshots/Web-Screenshot.png -------------------------------------------------------------------------------- /public/screenshots/Mobile-Screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vynex/ToxaDex/HEAD/public/screenshots/Mobile-Screenshot.png -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | reactStrictMode: true, 3 | images: { 4 | domains: ['raw.githubusercontent.com'], 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /pages/_app.js: -------------------------------------------------------------------------------- 1 | import '../styles/globals.css' 2 | 3 | function MyApp({ Component, pageProps }) { 4 | return 5 | } 6 | 7 | export default MyApp 8 | -------------------------------------------------------------------------------- /pages/_middleware.js: -------------------------------------------------------------------------------- 1 | import { NextResponse, NextRequest } from 'next/server'; 2 | 3 | export const middleware = async (req, ev) => { 4 | const { pathname } = req.nextUrl; 5 | 6 | if (pathname == '/') return NextResponse.redirect('/dex/1'); 7 | return NextResponse.next(); 8 | }; 9 | -------------------------------------------------------------------------------- /public/assets/chevron-back-outline.svg: -------------------------------------------------------------------------------- 1 | Chevron Back -------------------------------------------------------------------------------- /public/assets/chevron-down-outline.svg: -------------------------------------------------------------------------------- 1 | Chevron Down -------------------------------------------------------------------------------- /public/assets/chevron-forward-outline.svg: -------------------------------------------------------------------------------- 1 | Chevron Forward -------------------------------------------------------------------------------- /components/Type/index.jsx: -------------------------------------------------------------------------------- 1 | import styles from '../../styles/Type.module.css'; 2 | 3 | const Type = ({ type }) => { 4 | return ( 5 |