ajout du form de base pour la demande de contact
This commit is contained in:
parent
3dd586818e
commit
014bca24d8
@ -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;
|
@ -1,5 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
|
import ContactForm from "../components/ContactForm";
|
||||||
|
|
||||||
const ContactUs = () => {
|
const ContactUs = () => {
|
||||||
|
|
||||||
@ -9,7 +10,7 @@ const ContactUs = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
Nous contacter
|
<ContactForm/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,9 @@ const Privacy = () => {
|
|||||||
|
|
||||||
return (
|
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>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user