This is a React + Tailwind CSS application that provides information about the FIFA World Cup 2026.
Tools used:
- React
- Tailwind CSS
- Framer motion
- Flag icons
- React Simple Maps
- React Router
Download the latest version of React from the official website: https://reactjs.org/
npm create vite@latest
Download the latest version of Tailwind CSS from the official website: https://tailwindcss.com/
npm install -D tailwindcss postcss autoprefixer
Download the latest version of Framer motion from the official website: https://framer.com/motion
npm install framer-motion
Download the latest version of Flag icons from the official website: https://flagicons.lipis.dev/
npm install flag-icons
Download the latest version of React Simple Maps from the official website: https://www.react-simple-maps.io/
npm install react-simple-maps
Warning: The React Simple Maps library is not compatible with React 18.2.0 or higher as it is officially built for React 16, 17, or 18.
Download the latest version of React Router from the official website: https://reactrouter.com/
npm install react-router-dom
Also, there is a possibility that react router dom may not install because of dependency conflict with react-simple-maps. If that is the case, try running the command:
npm install react-router-dom --legacy-peer-deps.
The app is structured as follows:
fifa2026publicsrcassetsimagesWorldCup2026 logo
Componentscanada.jsonmexico.jsonstatesUS.jsonnorthAmerica.jsonFanGuide.jsxFifaMap.jsxFAQs.jsxGroups.jsxMap.jsxSlider.jsx
App.cssApp.jsxindex.cssmain.jsx
index.htmlvite-env.d.tspackage.jsonREADME.mdvite.config.js