Small project in which i tested some libraries/technologies i was interested in. All data is fetched from the PokeApi.
Technologies i used on this project:
- NEXT.js
- react-query
- react-range
- Tailwind CSS
The site has a dark mode variant, triggered by the prefers-color-scheme media query initially, there also is a theme switcher button that can be used to change the theme manually, this preference is saved on localstorage so the theme preference is kept on subsequent visits to the site. Implemented using Tailwind CSS and some custom code.
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- react-query - main site
- TailwindCSS - main site
- react-range - npm's site
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Live on webdex.antoniorm.dev
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Next.js deployment documentation for more details.