Este é um placeholder de código customizado. Mude para a Pré-visualização ou publique a página para ver como seu código funciona.
Dê clique duplo para editar
<style>
.jorney{
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
color: white;
gap: 55px;
font-family: "poppins";
}
.right{
width: 100%;
/* height: 300px; */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 12px;
}
.right .top{
display: flex;
flex-direction: row;
width: 100%;
gap: 81px;
padding-left: 38px;
font-size: 28px;
font-weight: 600;
color: #438acb !important;
}
.right .bottom{
display: flex;
flex-direction: row;
width: 100%;
gap: 91px;
padding-left: 63px;
font-size: 28px;
font-weight: 600;
color: #438acb !important;
}
.right p{
font-size: 28px;
font-weight: 600;
color: #A8B8C9 !important;
}
p.active{
color: #438acb !important;
}
#imagemJorney{
object-fit: cover;
height: 100%;
}
.left{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
gap: 12px;
}
.header{
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
/* gap: 12px; */
}
#titulo{
font-size: 32px;
font-weight: 600;
}
#conteudo{
font-size: 18px;
font-weight: 400;
color: white !important;
height: 110px !important;
}
button{
text-decoration: none;
border: none;
background-color: #f5f5f528;
border-radius: 100%;
width: 40px;
height: 40px;
cursor: pointer;
}
.mobile{
display: none;
}
button:hover{
background-color: #f5f5f544;
}
.header-btns{
display: flex;
flex-direction: row;
gap: 16px;
}
.btn{
font-size: 28px;
color: #A8B8C9 !important;
}
@media screen and (max-width: 900px) {
.jorney {
flex-direction: column;
}
#imagemJorney{
object-fit: cover;
height: auto;
width: 100%;
}
}
@media screen and (max-width: 690px) {
.right .top,.right .bottom {
display: flex;
flex-direction: row;
width: 100%;
gap: 44px;
padding-left: 18px;
font-size: 13px;
font-weight: 600;
color: #438acb !important;
}
.right p {
font-size: 17px;
font-weight: 600;
color: #A8B8C9 !important;
}
.header-btns{
display:none;
}
.mobile{
display: block;
}
}
</style>
<div class="jorney">
<div class="left">
<div class="header">
<button class="mobile" onclick="prevContent()"><i class="btn ri-arrow-left-line"></i></button>
<h2 id="titulo">Request</h2>
<button class="mobile" onclick="nextContent()"><i class="btn ri-arrow-right-line"></i></button>
<div class="header-btns">
<button onclick="prevContent()"><i class="btn ri-arrow-left-line"></i></button>
<button onclick="nextContent()"><i class="btn ri-arrow-right-line"></i></button>
</div>
</div>
<div class="conteudo">
<p id="conteudo">
Just contact SoftExpert saying you are interested in migrating to the Cloud service, and the process will be started.
</p>
</div>
</div>
<div class="right">
<div class="top">
<p class="titulo-imagem active">Resquest</p>
<p class="titulo-imagem">Form</p>
<p class="titulo-imagem">Validation</p>
</div>
<img id="imagemJorney" src="https://multimedia.emkt.mail-softexpert.com/softexpert-B/photos/41f68be9-6431-40cd-9b5f-d91245512bf5.png" alt="">
<div class="bottom">
<p class="titulo-imagem">Backup</p>
<p class="titulo-imagem">Tests</p>
<p class="titulo-imagem">Deployment</p>
</div>
</div>
</div>
<script>
const arrConteudo = [
{
"titulo":"Request",
"descricao":"Just contact SoftExpert saying you are interested in migrating to the Cloud service, and the process will be started.",
"imagem":"https://multimedia.emkt.mail-softexpert.com/softexpert-B/photos/41f68be9-6431-40cd-9b5f-d91245512bf5.png",
},
{
"titulo":"Form",
"descricao":"Fill out our detailed form to help us understand your current environment and system requirements.",
"imagem":"https://multimedia.emkt.mail-softexpert.com/softexpert-B/photos/d53e1d1b-6708-4635-9bef-ffd4a18574b3.png",
},
{
"titulo":"Validation",
"descricao":"Our team will analyze your information to create a robust and efficient migration plan, ensuring compatibility and viability.",
"imagem":"https://multimedia.emkt.mail-softexpert.com/softexpert-B/photos/b8c1ebc4-6fff-4657-8b83-5e4a50897372.png",
},
{
"titulo":"Backup",
"descricao":"The security of your data is a priority for us. We implement comprehensive backup strategies to protect your information during the migration.",
"imagem":"https://multimedia.emkt.mail-softexpert.com/softexpert-B/photos/60c123bd-ca17-4719-9412-3fbc91a8de27.png",
},
{
"titulo":"Tests",
"descricao":"Here you will have the opportunity to test your migrated data using a testing environment.",
"imagem":"https://multimedia.emkt.mail-softexpert.com/softexpert-B/photos/7e7528a9-cafb-4f3f-a45f-2630399cb7e9.png",
},
{
"titulo":"Deployment",
"descricao":"The final stage: we implement the cloud solution with ongoing support to ensure an efficient and seamless transition.",
"imagem":"https://multimedia.emkt.mail-softexpert.com/softexpert-B/photos/8bddc4c7-589c-4fd9-a0af-9fc33823413e.png",
}
]
const conteudo = document.getElementById("conteudo");
const imagem = document.getElementById("imagemJorney");
const titulo = document.getElementById("titulo");
let selected = 0;
const titles = document.querySelectorAll('.titulo-imagem');
function nextContent(){
if(selected < 5){
selected = selected + 1;
titulo.innerText = arrConteudo[selected]["titulo"];
conteudo.innerText = arrConteudo[selected]["descricao"];
imagem.src = arrConteudo[selected]["imagem"];
titles.forEach((title) => {
title.classList.remove('active');
});
titles[selected].classList.add('active');
}
return
}
function prevContent(){
if(selected > 0){
selected = selected - 1;
titulo.innerText = arrConteudo[selected]["titulo"];
conteudo.innerText = arrConteudo[selected]["descricao"];
imagem.src = arrConteudo[selected]["imagem"];
titles.forEach((title, index) => {
titles[index].classList.remove('active');
});
titles[selected].classList.add('active');
}
return
}
</script>