rrr
parent
1f58e67d7b
commit
799e85fa5d
|
@ -443,9 +443,14 @@ const DisplayDetailClass = (props) => {
|
|||
} else {
|
||||
setinscritpion("1");
|
||||
}
|
||||
|
||||
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
|
||||
function Contact_bton(event) {
|
||||
setinscritpion("2");
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
|
||||
/// ----
|
||||
return (
|
||||
|
||||
|
@ -530,13 +535,22 @@ const DisplayDetailClass = (props) => {
|
|||
|
||||
<div className="right_box">
|
||||
{DetailTraining["img_banner_detail_class"] && <div>
|
||||
<img src={`${DetailTraining["img_banner_detail_class"]}`} className="img_bannermg_WOimg"/> <Button variant="contained" color="success"
|
||||
<img src={`${DetailTraining["img_banner_detail_class"]}`} className="img_bannermg_WOimg" />
|
||||
<Button variant="contained" color="success"
|
||||
className="bton_inscription"
|
||||
onClick={Inscription_bton}
|
||||
|
||||
>
|
||||
Je m'inscris
|
||||
</Button> <br />
|
||||
|
||||
<Button variant="contained" color="success"
|
||||
className="bton_recontact"
|
||||
onClick={Contact_bton}
|
||||
>
|
||||
Une question ?
|
||||
</Button>
|
||||
|
||||
|
||||
</div>}
|
||||
|
||||
{(!DetailTraining["img_banner_detail_class"] || String(DetailTraining["img_banner_detail_class"]).length < 5) &&
|
||||
|
@ -574,6 +588,13 @@ Si non, on utilise le formumaire de mysy,.
|
|||
|
||||
}
|
||||
|
||||
{String(inscritpion) === "2" && <div className="description detail_element">
|
||||
<Inscription internal_url={DetailTraining["internal_url"]} action="information" />
|
||||
|
||||
</div>
|
||||
|
||||
}
|
||||
|
||||
<div className="titre_formation">
|
||||
{parse(String(DetailTraining["title"]))}
|
||||
</div>
|
||||
|
|
|
@ -1459,7 +1459,7 @@
|
|||
border-radius: 20rem;
|
||||
background-color: red;
|
||||
border: 2px solid red;
|
||||
width: 10rem;
|
||||
width: 12rem;
|
||||
box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5);
|
||||
-webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5);
|
||||
font-weight: bold;
|
||||
|
@ -1468,8 +1468,29 @@
|
|||
top: 15rem;
|
||||
right: 5%;
|
||||
height: 3rem;
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
.bton_recontact{
|
||||
color: white;
|
||||
text-align: right;
|
||||
padding-right: 2rem;
|
||||
border-radius: 20rem;
|
||||
background-color: #104277;
|
||||
border: 2px solid #104277;
|
||||
width: 12rem;
|
||||
box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5);
|
||||
-webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5);
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
position: fixed;
|
||||
top: 20rem;
|
||||
right: 5%;
|
||||
height: 3rem;
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
|
||||
.row_inscription {
|
||||
color: white;
|
||||
text-align: right;
|
||||
|
|
Loading…
Reference in New Issue