feat: Adiciona newsletter

This commit is contained in:
Izabela Balizardo 2023-02-07 21:35:39 -03:00
parent ec95d20eac
commit a1be360e7f
4 changed files with 185 additions and 89 deletions

View File

@ -20,7 +20,13 @@
}, },
"tab-list#descricao": { "tab-list#descricao": {
"children": ["tab-list.item#descricao1", "tab-list.item#descricao2", "tab-list.item#descricao3", "tab-list.item#descricao4", "tab-list.item#descricao5"] "children": [
"tab-list.item#descricao1",
"tab-list.item#descricao2",
"tab-list.item#descricao3",
"tab-list.item#descricao4",
"tab-list.item#descricao5"
]
}, },
"tab-list.item#descricao1": { "tab-list.item#descricao1": {
"props": { "props": {
@ -43,8 +49,6 @@
} }
}, },
"tab-list.item#descricao4": { "tab-list.item#descricao4": {
"props": { "props": {
"tabId": "descricao4", "tabId": "descricao4",
@ -52,8 +56,6 @@
} }
}, },
"tab-list.item#descricao5": { "tab-list.item#descricao5": {
"props": { "props": {
"tabId": "descricao5", "tabId": "descricao5",
@ -61,9 +63,6 @@
} }
}, },
"tab-content#descricao": { "tab-content#descricao": {
"children": [ "children": [
"tab-content.item#descricao1", "tab-content.item#descricao1",
@ -74,60 +73,39 @@
] ]
}, },
"tab-content.item#descricao1": { "tab-content.item#descricao1": {
"children": [ "children": ["product-description", "product-images#descricao"],
"product-description",
"product-images#descricao"
],
"props": { "props": {
"tabId": "descricao1" "tabId": "descricao1"
} }
}, },
"tab-content.item#descricao2": { "tab-content.item#descricao2": {
"children": [ "children": ["product-description", "product-images#descricao"],
"product-description",
"product-images#descricao"
],
"props": { "props": {
"tabId": "descricao2" "tabId": "descricao2"
} }
}, },
"tab-content.item#descricao3": { "tab-content.item#descricao3": {
"children": [ "children": ["product-description", "product-images#descricao"],
"product-description",
"product-images#descricao"
],
"props": { "props": {
"tabId": "descricao3" "tabId": "descricao3"
} }
}, },
"tab-content.item#descricao4": { "tab-content.item#descricao4": {
"children": [ "children": ["product-description", "product-images#descricao"],
"product-description",
"product-images#descricao"
],
"props": { "props": {
"tabId": "descricao4" "tabId": "descricao4"
} }
}, },
"tab-content.item#descricao5": { "tab-content.item#descricao5": {
"children": [ "children": ["product-description", "product-images#descricao"],
"product-description",
"product-images#descricao"
],
"props": { "props": {
"tabId": "descricao5" "tabId": "descricao5"
} }
}, },
"product-images#descricao": { "product-images#descricao": {
"props": { "props": {
"displayMode": "first-image", "displayMode": "first-image",
@ -135,12 +113,6 @@
} }
}, },
"list-context.product-list#list": { "list-context.product-list#list": {
"blocks": ["product-summary.shelf#carrosselprodutos"], "blocks": ["product-summary.shelf#carrosselprodutos"],
"children": ["slider-layout#carrosselatualizado"] "children": ["slider-layout#carrosselatualizado"]

View File

@ -81,9 +81,7 @@
}, },
"product-price-savings#summary": { "product-price-savings#summary": {
"props": { "props": {
"markers": [ "markers": ["discount"],
"discount"
],
"blockClass": "summary" "blockClass": "summary"
} }
} }

View File

@ -9,8 +9,66 @@
/* Grid breakpoints */ /* Grid breakpoints */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");
.newsletter { .newsletter {
background-color: #000000; background: black;
color: #fff; color: white;
margin-top: 50px;
border-bottom: 2px solid lightgray;
}
.newsletter .container {
margin: auto;
padding: 32px;
padding-bottom: 16px;
}
.newsletter .form {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.newsletter .label {
display: flex;
flex-direction: column;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #ffffff;
}
.newsletter .label::after {
content: "Receba ofertas e novidades por e-mail";
font-family: Open Sans;
font-size: 18px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: center;
color: #929292;
margin: 16px;
}
.newsletter .inputGroup {
width: 774px;
}
.newsletter .inputGroup :global(.vtex-input-prefix__group) {
border: none;
border-bottom: 1px solid gray;
border-radius: 0;
}
.newsletter .inputGroup :global(.vtex-styleguide-9-x-input) {
background-color: black;
}
.newsletter .inputGroup .buttonContainer {
padding: 0;
}
.newsletter .inputGroup .buttonContainer :global(.vtex-button) {
background-color: black;
border: none;
border-bottom: 2px solid white;
border-radius: 0;
}
.newsletter .inputGroup .buttonContainer :global(.vtex-button):hover {
background-color: black;
border-bottom: 4px solid white;
} }
.productNameContainer { .productNameContainer {

View File

@ -1,6 +1,76 @@
.newsletter { .newsletter {
background-color: #000000; background: black;
color: $color-white; color: white;
margin-top: 50px;
border-bottom: 2px solid lightgray;
.container {
margin: auto;
padding: 32px;
padding-bottom: 16px;
}
.form {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.label {
display: flex;
flex-direction: column;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #ffffff;
}
.label::after {
content: "Receba ofertas e novidades por e-mail";
font-family: Open Sans;
font-size: 18px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: center;
color: #929292;
margin: 16px;
}
.inputGroup {
width: 774px;
:global(.vtex-input-prefix__group) {
border: none;
border-bottom: 1px solid gray;
border-radius: 0;
}
:global(.vtex-styleguide-9-x-input) {
background-color: black;
}
.buttonContainer {
padding: 0;
:global(.vtex-button) {
background-color: black;
border: none;
border-bottom: 2px solid white;
border-radius: 0;
&:hover {
background-color: black;
border-bottom: 4px solid white;
}
}
}
}
} }
.productNameContainer { .productNameContainer {
@ -114,5 +184,3 @@
text-align: left; text-align: left;
} }
} }