Skip to content

Commit

Permalink
Completed exercise jonasschmedtmann#16: Fast React Pizza in section 2…
Browse files Browse the repository at this point in the history
…4 of the course
  • Loading branch information
MI-Programmer committed Jun 22, 2024
1 parent b129d17 commit fc1bd7b
Show file tree
Hide file tree
Showing 56 changed files with 7,243 additions and 408 deletions.
22 changes: 22 additions & 0 deletions 16-fast-react-pizza/starter/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
settings: { react: { version: "18.2" } },
plugins: ["react-refresh"],
rules: {
"react/jsx-no-target-blank": "off",
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
"react/prop-types": "off",
},
};
24 changes: 24 additions & 0 deletions 16-fast-react-pizza/starter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 3 additions & 0 deletions 16-fast-react-pizza/starter/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["prettier-plugin-tailwindcss"]
}
44 changes: 0 additions & 44 deletions 16-fast-react-pizza/starter/Cart.jsx

This file was deleted.

16 changes: 0 additions & 16 deletions 16-fast-react-pizza/starter/CartItem.jsx

This file was deleted.

13 changes: 0 additions & 13 deletions 16-fast-react-pizza/starter/CartOverview.jsx

This file was deleted.

80 changes: 0 additions & 80 deletions 16-fast-react-pizza/starter/CreateOrder.jsx

This file was deleted.

30 changes: 0 additions & 30 deletions 16-fast-react-pizza/starter/CreateUser.jsx

This file was deleted.

13 changes: 0 additions & 13 deletions 16-fast-react-pizza/starter/EmptyCart.jsx

This file was deleted.

15 changes: 0 additions & 15 deletions 16-fast-react-pizza/starter/Error.jsx

This file was deleted.

13 changes: 0 additions & 13 deletions 16-fast-react-pizza/starter/Home.jsx

This file was deleted.

5 changes: 0 additions & 5 deletions 16-fast-react-pizza/starter/Menu.jsx

This file was deleted.

18 changes: 0 additions & 18 deletions 16-fast-react-pizza/starter/MenuItem.jsx

This file was deleted.

86 changes: 0 additions & 86 deletions 16-fast-react-pizza/starter/Order.jsx

This file was deleted.

Loading

0 comments on commit fc1bd7b

Please sign in to comment.