Skip to content

Commit

Permalink
fix: Consertando o front do newsletter
Browse files Browse the repository at this point in the history
  • Loading branch information
Otavio4283 committed Aug 14, 2024
1 parent 7b11a8d commit 67830ba
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions frontend/src/components/newsletter/index.jsx
Original file line number Diff line number Diff line change
@@ -31,13 +31,11 @@ const SubscribeForm = () => {
return (
<form onSubmit={handleSubmit}>
<div className={style.newsletter}>
<div>
<div className={style['newsletter-text']}>
<h1>Receba as mais recentes licitações diretamente no seu e-mail</h1>
<h2>Se você deseja receber no seu melhor email XXXMENTE as licitações mais recentes do Distrito Federal, cadastre seu email no LicitaBSB abaixo:</h2>
</div>
<div className={style['newsletter-image']}>
<img src={amicoImage}/>
</div>
<div className={style['newsletter-form']}>
<input
placeholder="Digite seu email aqui."
@@ -48,7 +46,10 @@ const SubscribeForm = () => {
/>
<button type="submit">Enviar</button>
</div>

</div>
<div className={style['newsletter-image']}>
<img src={amicoImage}/>
</div>
</div>
{message && <p>{message}</p>}
</form>
7 changes: 4 additions & 3 deletions frontend/src/components/newsletter/style.module.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
.newsletter {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 30px;
background-color: #F1ECE8;
border-radius: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
flex-wrap: wrap;

}

.newsletter h1 {
@@ -70,8 +71,8 @@
}

.newsletter img {
width: 251px;
height: 209px;
width: 351px;
height: 309px;
object-fit: cover;
border-radius: 10px;
}

0 comments on commit 67830ba

Please sign in to comment.