@@ -238,23 +238,23 @@ <h2 class="section__title" data-lang="fr">Contactez-nous</h2>
238238 < p class ="section__subtitle " data-lang ="en "> Have a project in mind? Let's talk about it.</ p >
239239 < p class ="section__subtitle " data-lang ="fr "> Vous avez un projet en tête ? Parlons-en.</ p >
240240
241- <!-- TODO: Replace action="#" with your actual form endpoint (e.g., Formspree, Netlify Forms, or custom backend) -- >
242- < form class =" contact-form fade-in " action =" # " method =" POST " >
241+ < form class =" contact- form fade-in " accept-charset =" UTF-8 " method =" post " >
242+ < script src =" https://nicetou.ch/forms/nice.js " > </ script >
243243 < div class ="contact-form__group ">
244- < label for ="name " data-lang ="en "> Name</ label >
245- < label for ="name " data-lang ="fr "> Nom</ label >
246- < input type ="text " id ="name " name ="name " required >
244+ < label for ="sender "> Email</ label >
245+ < input type ="email " id ="sender " name ="sender " required >
247246 </ div >
248247 < div class ="contact-form__group ">
249- < label for ="email "> Email</ label >
250- < input type ="email " id ="email " name ="email " required >
248+ < label for ="subject " data-lang ="en "> Subject</ label >
249+ < label for ="subject " data-lang ="fr "> Sujet</ label >
250+ < input type ="text " id ="subject " name ="subject " minlength ="6 " required >
251251 </ div >
252252 < div class ="contact-form__group ">
253- < label for ="message "> Message</ label >
254- < textarea id ="message " name ="message " rows ="5 " required > </ textarea >
253+ < label for ="body "> Message</ label >
254+ < textarea id ="body " name ="body " rows ="5 " required > </ textarea >
255255 </ div >
256- < button type ="submit " class ="btn " data-lang ="en "> Send Message</ button >
257- < button type ="submit " class ="btn " data-lang ="fr "> Envoyer le message</ button >
256+ < button type ="submit " name =" commit " class ="btn " data-lang ="en "> Send Message</ button >
257+ < button type ="submit " name =" commit " class ="btn " data-lang ="fr "> Envoyer le message</ button >
258258 </ form >
259259 </ div >
260260 </ section >
0 commit comments