diff --git a/.env b/.env index 5d77322..77268fd 100644 --- a/.env +++ b/.env @@ -18,6 +18,4 @@ EMAIL_FROM=contact@dsp-archiwebo21-ad-ec-cb-mt.fr DATABASE_URL="postgres://postgres:postgrespwd@127.0.0.1:5454/thetiptop" -API_KEY=1234 - diff --git a/pages/mon-compte.tsx b/pages/mon-compte.tsx index 666cdc0..37dee77 100644 --- a/pages/mon-compte.tsx +++ b/pages/mon-compte.tsx @@ -2,6 +2,7 @@ import React, { useState } from "react"; import prisma from '../lib/prisma' import * as Yup from 'yup'; import Head from "next/head"; +import Image from 'next/image'; import { getSession, useSession } from "next-auth/react"; import { yupResolver } from "@hookform/resolvers/yup"; import "yup-phone"; @@ -11,6 +12,7 @@ import { TfiInfoAlt } from 'react-icons/tfi' import { TfiGift } from 'react-icons/tfi' import { toast } from "react-toastify"; import { Gain, User } from "@prisma/client"; +import unandethe from '../public/images/unandethe.webp' type FormData = { email: string; @@ -148,9 +150,17 @@ const MonCompte = (props: Props) => {
- {props.user.isBigWinner &&
-

Vous avez été séléctionner pour gagner 1 an de thé !

-
} + {props.user.isBigWinner && +
+

!!! Vous avez été séléctionné pour gagner 1 an de thé !!!

+ logo un an cadeau + +
}

Mes informations

diff --git a/public/images/unandethé.webp b/public/images/unandethe.webp similarity index 100% rename from public/images/unandethé.webp rename to public/images/unandethe.webp