├── .eslintrc.json ├── public └── world.jpg ├── src ├── app │ ├── favicon.ico │ ├── globals.css │ ├── loading.js │ ├── layout.jsx │ ├── page.jsx │ ├── quiz │ │ ├── scoreboard.jsx │ │ ├── page.jsx │ │ ├── client-container.jsx │ │ ├── answer.jsx │ │ └── quiz.jsx │ ├── global-error.js │ └── form.jsx ├── error.js └── types.js ├── jsconfig.json ├── next.config.mjs ├── postcss.config.js ├── .prettierrc ├── tailwind.config.js ├── .gitignore ├── package.json ├── README.md └── pnpm-lock.yaml /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /public/world.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zougari47/quizify/HEAD/public/world.jpg -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zougari47/quizify/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "paths": { 4 | "@/*": ["./src/*"] 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = {}; 3 | 4 | export default nextConfig; 5 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /src/error.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const error = () => { 4 | return
33 | Oops something went wrong. Try to refresh this page. 34 |
35 |{decode(question)}
57 | 58 |