Responsive : toutes les pages et composants Header/Footer
- Header : menu hamburger animé pour mobile, nav cachée sur petit écran - Footer : grid 2 colonnes sur mobile, 4 colonnes sur desktop - Accueil : titres et paddings adaptés mobile/tablette/desktop - ReglesJeu : titres, cartes et CTA responsives - MentionsLegales / Confidentialite : paddings et titres adaptés mobile - Contact : padding et formulaire adaptés mobile - Admin : tableau avec scroll horizontal sur mobile - Employe : formulaire de recherche en colonne sur mobile - Ajout composants Layout, Header, Footer et logo depuis branche Alexis Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,174 +1,81 @@
|
||||
export default function Contact() {
|
||||
return (
|
||||
<main className="bg-green-50 min-h-screen px-6 py-16">
|
||||
|
||||
<div className="max-w-6xl mx-auto grid md:grid-cols-2 gap-8">
|
||||
|
||||
<main className="bg-green-50 min-h-screen 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">
|
||||
|
||||
{/* Informations */}
|
||||
<section className="bg-white rounded-2xl shadow p-10">
|
||||
|
||||
<h1 className="text-4xl font-bold text-green-800 mb-6">
|
||||
<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">
|
||||
Contact
|
||||
</h1>
|
||||
|
||||
|
||||
<p className="text-gray-600 leading-relaxed mb-8">
|
||||
Une question concernant le jeu-concours, votre participation
|
||||
ou votre lot ? Notre équipe ThéTipTop est à votre écoute.
|
||||
<p className="text-gray-600 leading-relaxed mb-6 sm:mb-8 text-sm sm:text-base">
|
||||
Une question concernant le jeu-concours, votre participation ou votre lot ?
|
||||
Notre équipe ThéTipTop est à votre écoute.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<div className="space-y-6 text-gray-700">
|
||||
|
||||
|
||||
<div className="space-y-5 text-gray-700">
|
||||
<div>
|
||||
<h2 className="font-semibold text-green-700">
|
||||
Adresse
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
ThéTipTop
|
||||
<br />
|
||||
18 rue Léon Frot
|
||||
<br />
|
||||
75011 Paris, France
|
||||
</p>
|
||||
<h2 className="font-semibold text-green-700 mb-1">Adresse</h2>
|
||||
<p className="text-sm sm:text-base">ThéTipTop<br />18 rue Léon Frot<br />75011 Paris, France</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
<h2 className="font-semibold text-green-700">
|
||||
Email
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
contact@thetiptop.fr
|
||||
</p>
|
||||
<h2 className="font-semibold text-green-700 mb-1">Email</h2>
|
||||
<a href="mailto:contact@thetiptop.fr" className="text-sm sm:text-base hover:text-green-700">contact@thetiptop.fr</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
<h2 className="font-semibold text-green-700">
|
||||
Téléphone
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
01 84 80 20 34
|
||||
</p>
|
||||
<h2 className="font-semibold text-green-700 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>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
{/* Formulaire */}
|
||||
|
||||
<section className="bg-white rounded-2xl shadow p-10">
|
||||
|
||||
|
||||
<h2 className="text-2xl font-bold text-green-800 mb-6">
|
||||
<section className="bg-white rounded-2xl shadow p-5 sm:p-8 md:p-10">
|
||||
<h2 className="text-xl sm:text-2xl font-bold text-green-800 mb-4 sm:mb-6">
|
||||
Envoyez-nous un message
|
||||
</h2>
|
||||
|
||||
|
||||
|
||||
<form className="space-y-5">
|
||||
|
||||
|
||||
<form className="space-y-4 sm:space-y-5">
|
||||
<div>
|
||||
|
||||
<label className="block text-gray-700 mb-2">
|
||||
Nom
|
||||
</label>
|
||||
|
||||
<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-3 focus:outline-none focus:ring-2 focus:ring-green-600"
|
||||
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-2">
|
||||
Email
|
||||
</label>
|
||||
|
||||
<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-3 focus:outline-none focus:ring-2 focus:ring-green-600"
|
||||
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-2">
|
||||
Sujet
|
||||
</label>
|
||||
|
||||
<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-3 focus:outline-none focus:ring-2 focus:ring-green-600"
|
||||
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-2">
|
||||
Message
|
||||
</label>
|
||||
|
||||
<label className="block text-gray-700 mb-1.5 text-sm sm:text-base">Message</label>
|
||||
<textarea
|
||||
rows="5"
|
||||
rows="4"
|
||||
placeholder="Votre message..."
|
||||
className="w-full border border-gray-300 rounded-xl px-4 py-3 focus:outline-none focus:ring-2 focus:ring-green-600"
|
||||
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-3 rounded-xl transition"
|
||||
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>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</main>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user