Skip to content

Commit

Permalink
Merge branch 'main' into feat/noti_responsiva
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe committed Sep 18, 2024
2 parents 675703a + 2bf8779 commit 9eceacb
Show file tree
Hide file tree
Showing 25 changed files with 1,135 additions and 449 deletions.
16 changes: 8 additions & 8 deletions assets/css/aboutus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
}

.lighter-banner{
.lighter-banner {
display: flex;
flex-direction: column;
text-align: center;
Expand All @@ -18,10 +18,10 @@
background-blend-mode: multiply;

.banner-img {
z-index: -1;
position: absolute;
width: 100vw;
height: 260px;
z-index: -1;
position: absolute;
width: 100vw;
height: 260px;
}

}
Expand Down Expand Up @@ -64,7 +64,7 @@
}

.know-content {
width: 100vw;
width: 100vw;
padding: 0px 20px;
margin-top: 40px;
}
Expand Down Expand Up @@ -221,7 +221,7 @@
}

img {
order: 2;
order: 2;
width: 100%;
}

Expand Down Expand Up @@ -251,4 +251,4 @@
height: 100%;
z-index: -1;
}
}
}
2 changes: 2 additions & 0 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ footer {
// Sem autenticação
@import "./pages/login.scss";
@import "./aboutus.scss";
@import "./noticias.scss";
@import "./cooperativas.scss";

@import "./agenda.scss";
@import "./contact.scss";
Expand Down
49 changes: 49 additions & 0 deletions assets/css/contact.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,38 @@
display: flex;
align-items: center;
justify-content: center;
max-width: 100vw;
margin-bottom: 40px;
padding: 80px 120px;

.contact-message {
display: flex;
flex-direction: column;
justify-content: center;
width: 50%;

h2 {
margin-bottom: 20px;
}

.text-black-80 {
margin-bottom: 20px;
}

.return-button {
display: flex;
align-items: center;
justify-content: center;
background: #0064C8;
border-radius: 4px;
gap: 8px;
padding: 16px 24px;
width: 267px;
cursor: pointer;
}

}

.contact-form {
width: 50%;
.form-inputs {
Expand Down Expand Up @@ -51,4 +80,24 @@
}
}
}
}

@media (min-width: 769px) and (max-width: 1024px) {
.contact-area {
margin: 20px 40px;
}
}

@media (min-width: 360px) and (max-width: 768px) {
.contact-area {
display: flex;
padding: 10px 5px;
flex-direction: column;
text-align: center;
gap: 40px;

.contact-message {
align-items: center;
}
}
}
87 changes: 87 additions & 0 deletions assets/css/cooperativas.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
.cooperativas-wrapper {
@apply flex flex-col;

.cooperativas-container {
@apply flex flex-col;
gap: 5rem;
margin-bottom: 5rem;

.header {
@apply relative;

.header-content {
img {
width: 100%;
height: auto;
}

h2 {
@apply absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
}
}

.block {
@apply flex flex-row;
gap: 3.5rem;
margin: 0 2.5rem 0 2.5rem;

.block-content {
@apply flex flex-col;
gap: 2.5rem;
width: 50%;
}

img {
width: 50%;
}
}
}
}

@media (max-width: 768px) {
.cooperativas-wrapper {
.cooperativas-container {
@apply flex flex-wrap;
gap: 4rem;

.header {
height: 16.25rem;

.header-content {
img {
height: 16.25rem;
object-fit: none;
}
}
}

.block {
@apply flex-wrap;
gap: 4rem;
margin: 0 1rem 0 1rem;

.block-content {
width: 100%;

h1 {
font-size: 2rem;
}
}

img {
width: 100%;
border-radius: 0.5rem;
}

&:nth-child(3) {
@apply flex flex-col-reverse;
}
}
}
}
}
64 changes: 62 additions & 2 deletions assets/css/get_in_touch.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
.onde-nos-encontrar-wrapper {
@apply flex bg-orange-100;
grid-area: onde-nos-encontrar;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
gap: 5rem;
padding: 5rem;
padding: 5rem 0 5rem 0;
width: 100vw;

.redes-sociais-wrapper {
@apply flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;

.redes-sociais-links-wrapper {
@apply flex;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
padding-top: 2.5rem;

.redes-sociais-link {
Expand Down Expand Up @@ -50,6 +56,7 @@
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
gap: 2.5rem;

.contact-btn {
Expand All @@ -74,3 +81,56 @@
}
}
}

@media (max-width: 767px) {
.onde-nos-encontrar-wrapper {
.redes-sociais-wrapper {
margin: 1rem;

.redes-sociais-links-wrapper {
@apply flex;

.redes-sociais-link {
padding: 0;

.redes-sociais-icon {
width: 60px;
height: 60px;
}
}
}
}
}
}

@media (min-width: 768px) {
.onde-nos-encontrar-wrapper {
.redes-sociais-wrapper {
.redes-sociais-links-wrapper {
/* 2 colunas em telas médias */
@apply grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto;
column-gap: 80px;
min-height: auto;
margin-top: 2.5rem;
}
}
}
}

@media (min-width: 1024px) {
.onde-nos-encontrar-wrapper {
.redes-sociais-wrapper {
.redes-sociais-links-wrapper {
/* 3 colunas em telas grandes */
@apply grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto;
column-gap: 80px;
min-height: auto;
margin-top: 2.5rem;
}
}
}
}
Loading

0 comments on commit 9eceacb

Please sign in to comment.