Correction des couleurs de textes et de fond
This commit is contained in:
BIN
frontend/src/assets/img/img-contact.jpg
Normal file
BIN
frontend/src/assets/img/img-contact.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 MiB |
@@ -16,7 +16,7 @@ export default function Footer() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<footer className="bg-green-900 text-white">
|
<footer className="bg-[#006B6B] text-white">
|
||||||
|
|
||||||
|
|
||||||
{/* Partie principale */}
|
{/* Partie principale */}
|
||||||
@@ -31,7 +31,7 @@ export default function Footer() {
|
|||||||
</h3>
|
</h3>
|
||||||
</FooterLink>
|
</FooterLink>
|
||||||
|
|
||||||
<p className="text-green-100 text-sm leading-relaxed">
|
<p className="text-teal-100 text-sm leading-relaxed">
|
||||||
Participez au jeu-concours Thé Tip Top et tentez de gagner
|
Participez au jeu-concours Thé Tip Top et tentez de gagner
|
||||||
des lots gourmands autour du thé.
|
des lots gourmands autour du thé.
|
||||||
</p>
|
</p>
|
||||||
@@ -48,7 +48,7 @@ export default function Footer() {
|
|||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
|
||||||
<ul className="space-y-3 text-green-100">
|
<ul className="space-y-3 text-teal-100">
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<FooterLink
|
<FooterLink
|
||||||
@@ -105,7 +105,7 @@ export default function Footer() {
|
|||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
|
||||||
<ul className="space-y-3 text-green-100">
|
<ul className="space-y-3 text-teal-100">
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<FooterLink
|
<FooterLink
|
||||||
@@ -159,19 +159,19 @@ export default function Footer() {
|
|||||||
Contact
|
Contact
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<p className="text-green-100 text-sm mb-3">
|
<p className="text-teal-100 text-sm mb-3">
|
||||||
Une question sur le jeu ?
|
Une question sur le jeu ?
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<a href="tel:+33184802034" className="block mt-2 font-medium hover:text-green-300">
|
<a href="tel:+33184802034" className="block mt-2 font-medium hover:text-teal-300">
|
||||||
01 84 80 20 34
|
01 84 80 20 34
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="mailto:contact@thetiptop.fr" className="inline-block mt-3 font-medium hover:text-green-300">
|
<a href="mailto:contact@thetiptop.fr" className="inline-block mt-3 font-medium hover:text-teal-300">
|
||||||
contact@thetiptop.fr
|
contact@thetiptop.fr
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<p className="text-green-100 text-sm mt-2">
|
<p className="text-teal-100 text-sm mt-2">
|
||||||
18 rue Léon Frot
|
18 rue Léon Frot
|
||||||
<br />
|
<br />
|
||||||
75011 Paris, France
|
75011 Paris, France
|
||||||
@@ -187,16 +187,16 @@ export default function Footer() {
|
|||||||
|
|
||||||
{/* Barre basse */}
|
{/* Barre basse */}
|
||||||
|
|
||||||
<div className="border-t border-green-800">
|
<div className="border-t border-teal-800">
|
||||||
|
|
||||||
<div className="max-w-7xl mx-auto px-6 py-5 flex flex-col md:flex-row justify-between items-center gap-3">
|
<div className="max-w-7xl mx-auto px-6 py-5 flex flex-col md:flex-row justify-between items-center gap-3">
|
||||||
|
|
||||||
|
|
||||||
<p className="text-green-200 text-sm">
|
<p className="text-teal-200 text-sm">
|
||||||
© {new Date().getFullYear()} Thé Tip Top. Tous droits réservés.
|
© {new Date().getFullYear()} Thé Tip Top. Tous droits réservés.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className="flex gap-5 text-sm text-green-200">
|
<div className="flex gap-5 text-sm text-teal-200">
|
||||||
<a
|
<a
|
||||||
href="https://www.facebook.com/profile.php?id=61590449280854"
|
href="https://www.facebook.com/profile.php?id=61590449280854"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export default function Header() {
|
|||||||
key={link.to}
|
key={link.to}
|
||||||
to={link.to}
|
to={link.to}
|
||||||
className={`font-medium transition-colors ${
|
className={`font-medium transition-colors ${
|
||||||
pathname === link.to ? 'text-green-700' : 'text-gray-700 hover:text-green-700'
|
pathname === link.to ? 'text-[#006B6B]' : 'text-gray-700 hover:text-[#006B6B]'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{link.label}
|
{link.label}
|
||||||
@@ -55,7 +55,7 @@ export default function Header() {
|
|||||||
|
|
||||||
{isLoggedIn ? (
|
{isLoggedIn ? (
|
||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center gap-3">
|
||||||
<Link to="/profile" className="flex items-center gap-2 text-sm text-gray-700 hover:text-green-700 font-medium transition-colors">
|
<Link to="/profile" className="flex items-center gap-2 text-sm text-gray-700 hover:text-[#006B6B] font-medium transition-colors">
|
||||||
<div className="w-8 h-8 rounded-full bg-[#006B6B] flex items-center justify-center text-white text-xs font-bold">
|
<div className="w-8 h-8 rounded-full bg-[#006B6B] flex items-center justify-center text-white text-xs font-bold">
|
||||||
{initials}
|
{initials}
|
||||||
</div>
|
</div>
|
||||||
@@ -70,10 +70,10 @@ export default function Header() {
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<Link to="/connexion" className="bg-green-700 text-white px-4 py-2 rounded-lg hover:bg-green-800 transition-colors text-sm">
|
<Link to="/connexion" className="bg-[#006B6B] text-white px-4 py-2 rounded-lg hover:bg-[#005a5a] transition-colors text-sm">
|
||||||
Connexion
|
Connexion
|
||||||
</Link>
|
</Link>
|
||||||
<Link to="/inscription" className="border border-green-700 text-green-700 px-4 py-2 rounded-lg hover:bg-green-50 transition-colors text-sm">
|
<Link to="/inscription" className="border border-[#006B6B] text-[#006B6B] px-4 py-2 rounded-lg hover:bg-[#006B6B] hover:text-white transition-colors text-sm">
|
||||||
Inscription
|
Inscription
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
@@ -101,7 +101,7 @@ export default function Header() {
|
|||||||
to={link.to}
|
to={link.to}
|
||||||
onClick={() => setMenuOpen(false)}
|
onClick={() => setMenuOpen(false)}
|
||||||
className={`block py-3 font-medium border-b border-gray-50 ${
|
className={`block py-3 font-medium border-b border-gray-50 ${
|
||||||
pathname === link.to ? 'text-green-700' : 'text-gray-700'
|
pathname === link.to ? 'text-[#006B6B]' : 'text-gray-700'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{link.label}
|
{link.label}
|
||||||
@@ -130,14 +130,14 @@ export default function Header() {
|
|||||||
<Link
|
<Link
|
||||||
to="/connexion"
|
to="/connexion"
|
||||||
onClick={() => setMenuOpen(false)}
|
onClick={() => setMenuOpen(false)}
|
||||||
className="w-full text-center bg-green-700 text-white px-4 py-2.5 rounded-lg hover:bg-green-800 transition-colors text-sm font-medium"
|
className="w-full text-center bg-[#006B6B] text-white px-4 py-2.5 rounded-lg hover:bg-[#005a5a] transition-colors text-sm font-medium"
|
||||||
>
|
>
|
||||||
Connexion
|
Connexion
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
to="/inscription"
|
to="/inscription"
|
||||||
onClick={() => setMenuOpen(false)}
|
onClick={() => setMenuOpen(false)}
|
||||||
className="w-full text-center border border-green-700 text-green-700 px-4 py-2.5 rounded-lg hover:bg-green-50 transition-colors text-sm font-medium"
|
className="w-full text-center border border-[#006B6B] text-[#006B6B] px-4 py-2.5 rounded-lg hover:bg-[#006B6B] hover:text-white transition-colors text-sm font-medium"
|
||||||
>
|
>
|
||||||
Inscription
|
Inscription
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
@@ -2,12 +2,12 @@ import { Link } from 'react-router-dom'
|
|||||||
|
|
||||||
export default function Accueil() {
|
export default function Accueil() {
|
||||||
return (
|
return (
|
||||||
<div className="bg-green-50">
|
<div className="bg-gray-50 min-h-screen">
|
||||||
|
|
||||||
{/* Hero */}
|
{/* Hero */}
|
||||||
<section className="max-w-7xl mx-auto px-4 sm:px-6 py-12 sm:py-16 md:py-24">
|
<section className="max-w-7xl mx-auto px-4 sm:px-6 py-12 sm:py-16 md:py-24">
|
||||||
<div className="text-center max-w-3xl mx-auto">
|
<div className="text-center max-w-3xl mx-auto">
|
||||||
<h1 className="text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold text-green-800 mb-4 sm:mb-6 leading-tight">
|
<h1 className="text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold text-[#006B6B] mb-4 sm:mb-6 leading-tight">
|
||||||
Bienvenue au jeu-concours Thé Tip Top
|
Bienvenue au jeu-concours Thé Tip Top
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-base sm:text-lg md:text-xl text-gray-600 mb-8 sm:mb-10">
|
<p className="text-base sm:text-lg md:text-xl text-gray-600 mb-8 sm:mb-10">
|
||||||
@@ -18,13 +18,13 @@ export default function Accueil() {
|
|||||||
<div className="flex flex-col sm:flex-row justify-center gap-3 sm:gap-4">
|
<div className="flex flex-col sm:flex-row justify-center gap-3 sm:gap-4">
|
||||||
<Link
|
<Link
|
||||||
to="/saisir-code-unique"
|
to="/saisir-code-unique"
|
||||||
className="bg-green-700 hover:bg-green-800 text-white font-semibold px-6 sm:px-8 py-3 sm:py-4 rounded-xl transition-colors text-sm sm:text-base"
|
className="bg-[#006B6B] hover:bg-[#005555] text-white font-semibold px-6 sm:px-8 py-3 sm:py-4 rounded-xl transition-colors text-sm sm:text-base"
|
||||||
>
|
>
|
||||||
Tester mon code
|
Tester mon code
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
to="/regles-jeu"
|
to="/regles-jeu"
|
||||||
className="border border-green-700 text-green-700 hover:bg-green-100 font-semibold px-6 sm:px-8 py-3 sm:py-4 rounded-xl transition-colors text-sm sm:text-base"
|
className="border border-[#006B6B] text-[#006B6B] hover:bg-[#005555] hover:text-white font-semibold px-6 sm:px-8 py-3 sm:py-4 rounded-xl transition-colors text-sm sm:text-base"
|
||||||
>
|
>
|
||||||
Découvrir les règles
|
Découvrir les règles
|
||||||
</Link>
|
</Link>
|
||||||
@@ -34,7 +34,7 @@ export default function Accueil() {
|
|||||||
|
|
||||||
{/* Comment participer */}
|
{/* Comment participer */}
|
||||||
<section className="max-w-5xl mx-auto px-4 sm:px-6 pb-12 sm:pb-20">
|
<section className="max-w-5xl mx-auto px-4 sm:px-6 pb-12 sm:pb-20">
|
||||||
<h2 className="text-2xl sm:text-3xl font-bold text-green-800 mb-6 sm:mb-8 text-center">
|
<h2 className="text-2xl sm:text-3xl font-bold text-[#006B6B] mb-6 sm:mb-8 text-center">
|
||||||
Comment participer ?
|
Comment participer ?
|
||||||
</h2>
|
</h2>
|
||||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-4">
|
<div className="grid grid-cols-2 md:grid-cols-4 gap-4">
|
||||||
@@ -45,7 +45,7 @@ export default function Accueil() {
|
|||||||
{ num: '4', text: 'Découvrez votre lot' },
|
{ num: '4', text: 'Découvrez votre lot' },
|
||||||
].map((step) => (
|
].map((step) => (
|
||||||
<div key={step.num} className="bg-white rounded-2xl shadow p-4 sm:p-6 text-center">
|
<div key={step.num} className="bg-white rounded-2xl shadow p-4 sm:p-6 text-center">
|
||||||
<div className="text-2xl sm:text-3xl font-bold text-green-700 mb-2 sm:mb-3">{step.num}</div>
|
<div className="text-2xl sm:text-3xl font-bold text-[#006B6B] mb-2 sm:mb-3">{step.num}</div>
|
||||||
<p className="text-sm sm:text-base text-gray-700">{step.text}</p>
|
<p className="text-sm sm:text-base text-gray-700">{step.text}</p>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
export default function Confidentialite() {
|
export default function Confidentialite() {
|
||||||
return (
|
return (
|
||||||
<main className="bg-green-50 min-h-screen px-4 sm:px-6 py-10 sm:py-16">
|
<main className="bg-[#F0F0F0] min-h-screen px-4 sm:px-6 py-10 sm:py-16">
|
||||||
<div className="max-w-5xl mx-auto bg-white rounded-2xl shadow p-5 sm:p-8 md:p-10">
|
<div className="max-w-5xl mx-auto bg-white rounded-2xl shadow p-5 sm:p-8 md:p-10">
|
||||||
|
|
||||||
<h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-green-800 mb-4 sm:mb-6">
|
<h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-[#006B6B] mb-4 sm:mb-6">
|
||||||
Politique de confidentialité
|
Politique de confidentialité
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ export default function Confidentialite() {
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<section className="mb-6 sm:mb-8">
|
<section className="mb-6 sm:mb-8">
|
||||||
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-green-700 mb-2 sm:mb-3">
|
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-[#006B6B] mb-2 sm:mb-3">
|
||||||
Article 1 – Responsable du traitement
|
Article 1 – Responsable du traitement
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-gray-700 leading-relaxed text-sm sm:text-base">
|
<p className="text-gray-700 leading-relaxed text-sm sm:text-base">
|
||||||
@@ -24,7 +24,7 @@ export default function Confidentialite() {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="mb-6 sm:mb-8">
|
<section className="mb-6 sm:mb-8">
|
||||||
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-green-700 mb-2 sm:mb-3">
|
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-[#006B6B] mb-2 sm:mb-3">
|
||||||
Article 2 – Données collectées
|
Article 2 – Données collectées
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-gray-700 mb-3 text-sm sm:text-base">Dans le cadre de votre participation, nous pouvons collecter :</p>
|
<p className="text-gray-700 mb-3 text-sm sm:text-base">Dans le cadre de votre participation, nous pouvons collecter :</p>
|
||||||
@@ -38,7 +38,7 @@ export default function Confidentialite() {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="mb-6 sm:mb-8">
|
<section className="mb-6 sm:mb-8">
|
||||||
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-green-700 mb-2 sm:mb-3">
|
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-[#006B6B] mb-2 sm:mb-3">
|
||||||
Article 3 – Utilisation des données
|
Article 3 – Utilisation des données
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-gray-700 leading-relaxed text-sm sm:text-base">
|
<p className="text-gray-700 leading-relaxed text-sm sm:text-base">
|
||||||
@@ -49,7 +49,7 @@ export default function Confidentialite() {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="mb-6 sm:mb-8">
|
<section className="mb-6 sm:mb-8">
|
||||||
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-green-700 mb-2 sm:mb-3">
|
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-[#006B6B] mb-2 sm:mb-3">
|
||||||
Article 4 – Conservation des données
|
Article 4 – Conservation des données
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-gray-700 leading-relaxed text-sm sm:text-base">
|
<p className="text-gray-700 leading-relaxed text-sm sm:text-base">
|
||||||
@@ -59,7 +59,7 @@ export default function Confidentialite() {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="mb-6 sm:mb-8">
|
<section className="mb-6 sm:mb-8">
|
||||||
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-green-700 mb-2 sm:mb-3">
|
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-[#006B6B] mb-2 sm:mb-3">
|
||||||
Article 5 – Cookies
|
Article 5 – Cookies
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-gray-700 leading-relaxed text-sm sm:text-base">
|
<p className="text-gray-700 leading-relaxed text-sm sm:text-base">
|
||||||
@@ -70,7 +70,7 @@ export default function Confidentialite() {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="mb-6 sm:mb-8">
|
<section className="mb-6 sm:mb-8">
|
||||||
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-green-700 mb-2 sm:mb-3">
|
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-[#006B6B] mb-2 sm:mb-3">
|
||||||
Article 6 – Vos droits
|
Article 6 – Vos droits
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-gray-700 mb-3 text-sm sm:text-base">Conformément au RGPD, vous disposez des droits suivants :</p>
|
<p className="text-gray-700 mb-3 text-sm sm:text-base">Conformément au RGPD, vous disposez des droits suivants :</p>
|
||||||
@@ -84,7 +84,7 @@ export default function Confidentialite() {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-green-700 mb-2 sm:mb-3">
|
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-[#006B6B] mb-2 sm:mb-3">
|
||||||
Article 7 – Contact
|
Article 7 – Contact
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-gray-700 text-sm sm:text-base">
|
<p className="text-gray-700 text-sm sm:text-base">
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
|
import imgContact from '../assets/img/img-contact.jpg'
|
||||||
|
|
||||||
export default function Contact() {
|
export default function Contact() {
|
||||||
return (
|
return (
|
||||||
<main className="bg-green-50 min-h-screen px-4 sm:px-6 py-10 sm:py-16">
|
<main className="bg-[#F0F0F0] px-4 sm:px-6 py-10 sm:py-16">
|
||||||
<div className="max-w-6xl mx-auto grid md:grid-cols-2 gap-6 sm:gap-8">
|
<div className="max-w-6xl mx-auto grid md:grid-cols-2 gap-6 sm:gap-8">
|
||||||
|
|
||||||
{/* Informations */}
|
{/* Informations */}
|
||||||
<section className="bg-white rounded-2xl shadow p-5 sm:p-8 md:p-10">
|
<section className="bg-white rounded-2xl shadow p-5 sm:p-8 md:p-10">
|
||||||
<h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-green-800 mb-4 sm:mb-6">
|
<h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-[#006B6B] mb-4 sm:mb-6">
|
||||||
Contact
|
Contact
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-gray-600 leading-relaxed mb-6 sm:mb-8 text-sm sm:text-base">
|
<p className="text-gray-600 leading-relaxed mb-6 sm:mb-8 text-sm sm:text-base">
|
||||||
@@ -14,65 +16,27 @@ export default function Contact() {
|
|||||||
</p>
|
</p>
|
||||||
<div className="space-y-5 text-gray-700">
|
<div className="space-y-5 text-gray-700">
|
||||||
<div>
|
<div>
|
||||||
<h2 className="font-semibold text-green-700 mb-1">Adresse</h2>
|
<h2 className="font-semibold text-[#006B6B] mb-1">Adresse</h2>
|
||||||
<p className="text-sm sm:text-base">ThéTipTop<br />18 rue Léon Frot<br />75011 Paris, France</p>
|
<p className="text-sm sm:text-base">ThéTipTop<br />18 rue Léon Frot<br />75011 Paris, France</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h2 className="font-semibold text-green-700 mb-1">Email</h2>
|
<h2 className="font-semibold text-[#006B6B] mb-1">Email</h2>
|
||||||
<a href="mailto:contact@thetiptop.fr" className="text-sm sm:text-base hover:text-green-700">contact@thetiptop.fr</a>
|
<a href="mailto:contact@thetiptop.fr" className="text-sm sm:text-base hover:text-[#006B6B]">contact@thetiptop.fr</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h2 className="font-semibold text-green-700 mb-1">Téléphone</h2>
|
<h2 className="font-semibold text-[#006B6B] mb-1">Téléphone</h2>
|
||||||
<a href="tel:+33184802034" className="text-sm sm:text-base hover:text-green-700">01 84 80 20 34</a>
|
<a href="tel:+33184802034" className="text-sm sm:text-base hover:text-[#006B6B]">01 84 80 20 34</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* Formulaire */}
|
{/* Image */}
|
||||||
<section className="bg-white rounded-2xl shadow p-5 sm:p-8 md:p-10">
|
<section className="rounded-2xl shadow overflow-hidden h-64 sm:h-80 md:h-117 md:self-start">
|
||||||
<h2 className="text-xl sm:text-2xl font-bold text-green-800 mb-4 sm:mb-6">
|
<img
|
||||||
Envoyez-nous un message
|
src={imgContact}
|
||||||
</h2>
|
alt="Une personne savourant un thé"
|
||||||
<form className="space-y-4 sm:space-y-5">
|
className="w-full h-full object-cover"
|
||||||
<div>
|
|
||||||
<label className="block text-gray-700 mb-1.5 text-sm sm:text-base">Nom</label>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
placeholder="Votre nom"
|
|
||||||
className="w-full border border-gray-300 rounded-xl px-4 py-2.5 sm:py-3 text-sm sm:text-base focus:outline-none focus:ring-2 focus:ring-green-600"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<label className="block text-gray-700 mb-1.5 text-sm sm:text-base">Email</label>
|
|
||||||
<input
|
|
||||||
type="email"
|
|
||||||
placeholder="Votre email"
|
|
||||||
className="w-full border border-gray-300 rounded-xl px-4 py-2.5 sm:py-3 text-sm sm:text-base focus:outline-none focus:ring-2 focus:ring-green-600"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<label className="block text-gray-700 mb-1.5 text-sm sm:text-base">Sujet</label>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
placeholder="Sujet de votre demande"
|
|
||||||
className="w-full border border-gray-300 rounded-xl px-4 py-2.5 sm:py-3 text-sm sm:text-base focus:outline-none focus:ring-2 focus:ring-green-600"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<label className="block text-gray-700 mb-1.5 text-sm sm:text-base">Message</label>
|
|
||||||
<textarea
|
|
||||||
rows="4"
|
|
||||||
placeholder="Votre message..."
|
|
||||||
className="w-full border border-gray-300 rounded-xl px-4 py-2.5 sm:py-3 text-sm sm:text-base focus:outline-none focus:ring-2 focus:ring-green-600 resize-none"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<button
|
|
||||||
type="submit"
|
|
||||||
className="w-full bg-green-700 hover:bg-green-800 text-white font-semibold py-2.5 sm:py-3 rounded-xl transition text-sm sm:text-base"
|
|
||||||
>
|
|
||||||
Envoyer le message
|
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
export default function MentionsLegales() {
|
export default function MentionsLegales() {
|
||||||
return (
|
return (
|
||||||
<main className="bg-green-50 min-h-screen px-4 sm:px-6 py-10 sm:py-16">
|
<main className="bg-gray-50 min-h-screen px-4 sm:px-6 py-10 sm:py-16">
|
||||||
<div className="max-w-5xl mx-auto bg-white rounded-2xl shadow p-5 sm:p-8 md:p-10">
|
<div className="max-w-5xl mx-auto bg-white rounded-2xl shadow p-5 sm:p-8 md:p-10">
|
||||||
|
|
||||||
<h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-green-800 mb-4 sm:mb-6">
|
<h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-[#006B6B] mb-4 sm:mb-6">
|
||||||
Mentions légales
|
Mentions légales
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@ export default function MentionsLegales() {
|
|||||||
},
|
},
|
||||||
].map((article) => (
|
].map((article) => (
|
||||||
<section key={article.title} className="mb-6 sm:mb-8">
|
<section key={article.title} className="mb-6 sm:mb-8">
|
||||||
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-green-700 mb-2 sm:mb-3">
|
<h2 className="text-lg sm:text-xl md:text-2xl font-bold text-[#006B6B] mb-2 sm:mb-3">
|
||||||
{article.title}
|
{article.title}
|
||||||
</h2>
|
</h2>
|
||||||
{article.content}
|
{article.content}
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ export default function ReglesJeu() {
|
|||||||
const isLoggedIn = !!user
|
const isLoggedIn = !!user
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="bg-green-50 min-h-screen">
|
<div className="bg-gray-50 min-h-screen">
|
||||||
|
|
||||||
{/* Hero */}
|
{/* Hero */}
|
||||||
<section className="max-w-7xl mx-auto px-4 sm:px-6 py-12 sm:py-16 md:py-20">
|
<section className="max-w-7xl mx-auto px-4 sm:px-6 py-12 sm:py-16 md:py-20">
|
||||||
<div className="text-center max-w-3xl mx-auto">
|
<div className="text-center max-w-3xl mx-auto">
|
||||||
<h1 className="text-3xl sm:text-4xl md:text-5xl font-bold text-green-800 mb-4 sm:mb-6">
|
<h1 className="text-3xl sm:text-4xl md:text-5xl font-bold text-[#006B6B] mb-4 sm:mb-6">
|
||||||
Règles du jeu
|
Règles du jeu
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-base sm:text-xl text-gray-600">
|
<p className="text-base sm:text-xl text-gray-600">
|
||||||
@@ -23,7 +23,7 @@ export default function ReglesJeu() {
|
|||||||
|
|
||||||
{/* Comment participer */}
|
{/* Comment participer */}
|
||||||
<section className="max-w-6xl mx-auto px-4 sm:px-6 pb-12 sm:pb-16">
|
<section className="max-w-6xl mx-auto px-4 sm:px-6 pb-12 sm:pb-16">
|
||||||
<h2 className="text-2xl sm:text-3xl font-bold text-green-800 text-center mb-8 sm:mb-10">
|
<h2 className="text-2xl sm:text-3xl font-bold text-[#006B6B] text-center mb-8 sm:mb-10">
|
||||||
Comment participer ?
|
Comment participer ?
|
||||||
</h2>
|
</h2>
|
||||||
<div className="grid sm:grid-cols-2 md:grid-cols-3 gap-4 sm:gap-6">
|
<div className="grid sm:grid-cols-2 md:grid-cols-3 gap-4 sm:gap-6">
|
||||||
@@ -45,7 +45,7 @@ export default function ReglesJeu() {
|
|||||||
},
|
},
|
||||||
].map((step) => (
|
].map((step) => (
|
||||||
<div key={step.num} className="bg-white rounded-2xl shadow p-6 sm:p-8 text-center">
|
<div key={step.num} className="bg-white rounded-2xl shadow p-6 sm:p-8 text-center">
|
||||||
<div className="text-3xl sm:text-4xl font-bold text-green-700 mb-3 sm:mb-4">{step.num}</div>
|
<div className="text-3xl sm:text-4xl font-bold text-[#006B6B] mb-3 sm:mb-4">{step.num}</div>
|
||||||
<h3 className="text-lg sm:text-xl font-semibold mb-2 sm:mb-3">{step.title}</h3>
|
<h3 className="text-lg sm:text-xl font-semibold mb-2 sm:mb-3">{step.title}</h3>
|
||||||
<p className="text-gray-600 text-sm sm:text-base">{step.text}</p>
|
<p className="text-gray-600 text-sm sm:text-base">{step.text}</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -56,7 +56,7 @@ export default function ReglesJeu() {
|
|||||||
{/* Lots */}
|
{/* Lots */}
|
||||||
<section className="max-w-5xl mx-auto px-4 sm:px-6 pb-12 sm:pb-16">
|
<section className="max-w-5xl mx-auto px-4 sm:px-6 pb-12 sm:pb-16">
|
||||||
<div className="bg-white rounded-2xl shadow p-6 sm:p-10">
|
<div className="bg-white rounded-2xl shadow p-6 sm:p-10">
|
||||||
<h2 className="text-2xl sm:text-3xl font-bold text-green-800 mb-4 sm:mb-6 text-center">
|
<h2 className="text-2xl sm:text-3xl font-bold text-[#006B6B] mb-4 sm:mb-6 text-center">
|
||||||
Que pouvez-vous gagner ?
|
Que pouvez-vous gagner ?
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-gray-600 text-base sm:text-lg text-center leading-relaxed mb-6 sm:mb-8">
|
<p className="text-gray-600 text-base sm:text-lg text-center leading-relaxed mb-6 sm:mb-8">
|
||||||
@@ -64,8 +64,8 @@ export default function ReglesJeu() {
|
|||||||
d'un infuseur à thé à un coffret découverte d'une valeur de 69€,
|
d'un infuseur à thé à un coffret découverte d'une valeur de 69€,
|
||||||
en passant par des thés détox et des thés signatures.
|
en passant par des thés détox et des thés signatures.
|
||||||
</p>
|
</p>
|
||||||
<div className="bg-green-50 rounded-xl p-4 sm:p-6 text-center">
|
<div className="bg-gray-100 rounded-xl p-4 sm:p-6 text-center">
|
||||||
<h3 className="text-xl sm:text-2xl font-bold text-green-700 mb-2">Grand gagnant</h3>
|
<h3 className="text-xl sm:text-2xl font-bold text-[#006B6B] mb-2">Grand gagnant</h3>
|
||||||
<p className="text-gray-700 text-sm sm:text-base">
|
<p className="text-gray-700 text-sm sm:text-base">
|
||||||
Le participant tiré au sort remportera une année de thé d'une valeur de 360€ !
|
Le participant tiré au sort remportera une année de thé d'une valeur de 360€ !
|
||||||
</p>
|
</p>
|
||||||
@@ -75,7 +75,7 @@ export default function ReglesJeu() {
|
|||||||
|
|
||||||
{/* CTA */}
|
{/* CTA */}
|
||||||
<section className="max-w-5xl mx-auto px-4 sm:px-6 pb-12 sm:pb-20">
|
<section className="max-w-5xl mx-auto px-4 sm:px-6 pb-12 sm:pb-20">
|
||||||
<div className="bg-green-700 rounded-2xl p-6 sm:p-10 text-center text-white">
|
<div className="bg-[#006B6B] rounded-2xl p-6 sm:p-10 text-center text-white">
|
||||||
<h2 className="text-2xl sm:text-3xl font-bold mb-3 sm:mb-4">
|
<h2 className="text-2xl sm:text-3xl font-bold mb-3 sm:mb-4">
|
||||||
Ne manquez pas votre chance !
|
Ne manquez pas votre chance !
|
||||||
</h2>
|
</h2>
|
||||||
@@ -86,14 +86,14 @@ export default function ReglesJeu() {
|
|||||||
{!isLoggedIn && (
|
{!isLoggedIn && (
|
||||||
<Link
|
<Link
|
||||||
to="/inscription"
|
to="/inscription"
|
||||||
className="bg-white text-green-700 px-6 sm:px-8 py-3 rounded-xl font-semibold hover:bg-green-50 text-sm sm:text-base"
|
className="bg-white text-[#006B6B] px-6 sm:px-8 py-3 rounded-xl font-semibold hover:bg-[#006B6B] hover:text-white text-sm sm:text-base"
|
||||||
>
|
>
|
||||||
Inscrivez-vous
|
Inscrivez-vous
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
<Link
|
<Link
|
||||||
to="/saisir-code-unique"
|
to="/saisir-code-unique"
|
||||||
className="border border-white px-6 sm:px-8 py-3 rounded-xl font-semibold hover:bg-green-800 text-sm sm:text-base"
|
className="border border-white px-6 sm:px-8 py-3 rounded-xl font-semibold hover:bg-[#006B6B] hover:text-white text-sm sm:text-base"
|
||||||
>
|
>
|
||||||
Entrer mon code de ticket
|
Entrer mon code de ticket
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
@@ -43,16 +43,16 @@ const sections = [
|
|||||||
|
|
||||||
export default function Sitemap() {
|
export default function Sitemap() {
|
||||||
const { user } = useAuth()
|
const { user } = useAuth()
|
||||||
const isAdmin = user?.role === 'admin'
|
const isAdmin = user?.role === 'ADMIN'
|
||||||
const visibleSections = sections.filter(
|
const visibleSections = sections.filter(
|
||||||
(section) => section.title !== 'Espaces professionnels' || isAdmin
|
(section) => section.title !== 'Espaces professionnels' || isAdmin
|
||||||
)
|
)
|
||||||
return (
|
return (
|
||||||
<main className="bg-green-50 min-h-screen px-4 sm:px-6 py-10 sm:py-16">
|
<main className="bg-gray-50 min-h-screen px-4 sm:px-6 py-10 sm:py-16">
|
||||||
<div className="max-w-4xl mx-auto">
|
<div className="max-w-4xl mx-auto">
|
||||||
|
|
||||||
<div className="mb-8 sm:mb-10">
|
<div className="mb-8 sm:mb-10">
|
||||||
<h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-green-800 mb-2">
|
<h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-[#006B6B] mb-2">
|
||||||
Plan du site
|
Plan du site
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-gray-500 text-sm sm:text-base">
|
<p className="text-gray-500 text-sm sm:text-base">
|
||||||
@@ -63,7 +63,7 @@ export default function Sitemap() {
|
|||||||
<div className="grid sm:grid-cols-2 gap-6">
|
<div className="grid sm:grid-cols-2 gap-6">
|
||||||
{visibleSections.map((section) => (
|
{visibleSections.map((section) => (
|
||||||
<div key={section.title} className="bg-white rounded-2xl shadow p-5 sm:p-6">
|
<div key={section.title} className="bg-white rounded-2xl shadow p-5 sm:p-6">
|
||||||
<h2 className="text-base sm:text-lg font-bold text-green-700 mb-4 pb-2 border-b border-gray-100">
|
<h2 className="text-base sm:text-lg font-bold text-[#006B6B] mb-4 pb-2 border-b border-gray-100">
|
||||||
{section.title}
|
{section.title}
|
||||||
</h2>
|
</h2>
|
||||||
<ul className="space-y-3">
|
<ul className="space-y-3">
|
||||||
|
|||||||
Reference in New Issue
Block a user