challenge-vtex-io-henrique-.../store/blocks/newsletter.json

66 lines
1.4 KiB
JSON

{
"flex-layout.row#newsletter": {
"props": {
"blockClass": "newsletter",
"preserveLayoutOnMobile": true
},
"children": ["newsletter-form"]
},
"newsletter-form": {
"props": {
"blockClass": "newsletter"
},
"children": [
"rich-text#newsletter-title",
"rich-text#newsletter-subtitle",
"flex-layout.row#newsletter-inputs"
]
},
"flex-layout.row#newsletter-inputs": {
"props": {
"preserveLayoutOnMobile": true,
"blockClass": "newsletterInputs",
"colSizing": "auto"
},
"children": ["newsletter-input-email", "newsletter-submit"]
},
"newsletter-input-email": {
"props": {
"placeholderText": "Digite seu E-mail",
"errorMessage": "E-mail ínvalido"
}
},
"newsletter-submit": {
"props": {
"submitButtonLabel": "ENVIAR"
}
},
"rich-text#newsletter-title": {
"props": {
"blockClass": "newsletterTitle",
"text": "## Assine nossa newsletter",
"textAlignment": "CENTER",
"textPosition": "CENTER",
"font": "t-body",
"textColor": "c-on-base--inverted"
}
},
"rich-text#newsletter-subtitle": {
"props": {
"blockClass": "newsletterSubtitle",
"text": "Receba ofertas e novidades por e-mail",
"textAlignment": "CENTER",
"textPosition": "CENTER",
"textColor": "c-on-base-300"
}
}
}