diff --git a/.vscode/settings.json b/.vscode/settings.json index 5a976ad..7a73a41 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,2 @@ { - "workbench.colorCustomizations": { - "activityBar.background": "#521342", - "titleBar.activeBackground": "#731B5D", - "titleBar.activeForeground": "#FDF8FC" - } } \ No newline at end of file diff --git a/components/Footer.tsx b/components/Footer.tsx index 472dc2d..d894ab2 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -23,11 +23,9 @@ const Footer = () => {
18 rue Léon Frot, 75 011 Paris
-01.65.38.94.23
@@ -65,8 +63,8 @@ const Footer = () => {Thé Tip Top © 2022 - projet fictif pour lequel aucun réel - achat ou aucune réservation ne pourrait être effectué.
+Thé Tip Top © 2022 - projet fictif pour lequel aucun réel + achat ou aucune réservation ne pourrait être effectué.
diff --git a/package-lock.json b/package-lock.json index 5325928..29a3213 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,6 @@ "next": "13.0.2", "next-auth": "4.16.4", "nodemailer": "^6.8.0", - "nprogress": "^0.2.0", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "^7.39.2", @@ -28,7 +27,6 @@ "react-markdown": "8.0.3", "react-spinners": "^0.13.7", "react-toastify": "^9.1.1", - "usehooks-ts": "^2.9.1", "yup": "^0.32.11", "yup-phone": "^1.3.2" }, @@ -2419,11 +2417,6 @@ "which": "bin/which" } }, - "node_modules/nprogress": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz", - "integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==" - }, "node_modules/oauth": { "version": "0.9.15", "resolved": "https://registry.npmjs.org/oauth/-/oauth-0.9.15.tgz", @@ -3519,19 +3512,6 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/usehooks-ts": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-2.9.1.tgz", - "integrity": "sha512-2FAuSIGHlY+apM9FVlj8/oNhd+1y+Uwv5QNkMQz1oSfdHk4PXo1qoCw9I5M7j0vpH8CSWFJwXbVPeYDjLCx9PA==", - "engines": { - "node": ">=16.15.0", - "npm": ">=8" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", @@ -5322,11 +5302,6 @@ } } }, - "nprogress": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz", - "integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==" - }, "oauth": { "version": "0.9.15", "resolved": "https://registry.npmjs.org/oauth/-/oauth-0.9.15.tgz", @@ -6051,12 +6026,6 @@ "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", "requires": {} }, - "usehooks-ts": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-2.9.1.tgz", - "integrity": "sha512-2FAuSIGHlY+apM9FVlj8/oNhd+1y+Uwv5QNkMQz1oSfdHk4PXo1qoCw9I5M7j0vpH8CSWFJwXbVPeYDjLCx9PA==", - "requires": {} - }, "uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", diff --git a/package.json b/package.json index b4bd3c0..53365ac 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "next": "13.0.2", "next-auth": "4.16.4", "nodemailer": "^6.8.0", - "nprogress": "^0.2.0", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "^7.39.2", @@ -31,7 +30,6 @@ "react-markdown": "8.0.3", "react-spinners": "^0.13.7", "react-toastify": "^9.1.1", - "usehooks-ts": "^2.9.1", "yup": "^0.32.11", "yup-phone": "^1.3.2" }, diff --git a/pages/mon-compte.tsx b/pages/mon-compte.tsx index 0800b8f..c7c7ad4 100644 --- a/pages/mon-compte.tsx +++ b/pages/mon-compte.tsx @@ -26,8 +26,6 @@ import Link from "next/link"; import { TfiInfoAlt } from 'react-icons/tfi' import { TfiGift } from 'react-icons/tfi' - - import { toast } from "react-toastify"; import { Token } from "nodemailer/lib/xoauth2"; import { isGeneratorFunction } from "util/types"; @@ -35,7 +33,6 @@ import { UserProps } from "../types/user"; import { UserGainProps } from "../types/userGain"; import { Gain, Produit, User } from "@prisma/client"; - type FormData = { email: string; name: string; @@ -172,12 +169,9 @@ const MonCompte = (props: Props) => { -Some quick example text to build on the card title and make up the bulk of the card's content.
+{produit.description}
+
+ Prix conseillé : {produit.prixTtc} €
+