ajout du form de base pour la demande de contact

This commit is contained in:
Medenos 2022-09-27 23:28:48 -04:00
parent 3dd586818e
commit 014bca24d8
3 changed files with 50 additions and 2 deletions

View File

@ -0,0 +1,45 @@
const ContactForm = () =>{
return (
<section>
<form method="post" class="form-horizontal" role="form">
<h4 class="text-center text-white">Demander une rencontre!</h4>
<div class="form-group">
<div class="col-md-12">
<label class="text-white">Nom*</label>
<input class="form-control" />
{/* <span asp-validation-for="Name" class="text-danger"></span> */}
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<label class="text-white">Email*</label>
<input class="form-control" />
{/* <span asp-validation-for="Email" class="text-danger"></span> */}
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<label class="text-white">Téléphone*</label>
<input class="form-control" />
{/* <span asp-validation-for="Phone" class="text-danger"></span> */}
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<label class="text-white">Message</label>
<input class="form-control" rows="3"/>
{/* <span asp-validation-for="Message" class="text-danger"></span> */}
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-12">
<button type="submit" class="btn btn-default bg-success">Demande</button>
</div>
</div>
</form>
</section>
);
}
export default ContactForm;

View File

@ -1,5 +1,6 @@
import React from "react";
import { useEffect } from "react";
import ContactForm from "../components/ContactForm";
const ContactUs = () => {
@ -9,7 +10,7 @@ const ContactUs = () => {
return (
<>
Nous contacter
<ContactForm/>
</>
);
}

View File

@ -9,7 +9,9 @@ const Privacy = () => {
return (
<>
Police de vie privée
<h1 class="text-primary">Police de vie privée</h1>
<p class="text-primary">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</>
);
}