m3-academy-template-vtexio-.../storefront/store/blocks/pages/home/home.jsonc

227 lines
6.3 KiB
Plaintext

{
"store.home": {
"blocks": [
"list-context.image-list#demo",
"flex-layout.row#deals",
"__fold__",
"flex-layout.row#faixa-de-imagens",
//"countdown-academy",
"countdown-academy-2",
"rich-text#m3-shelf-title",
"flex-layout.row#m3-shelf",
"info-card#m3-middle-card",
"flex-layout.row#m3-brands",
"newsletter#m3-newsletter",
"link#whatsapp"
]
// "parent": {
// "challenge": "challenge.trade-policy-condition"
// }
},
"countdown-academy-2": {
"props" : {
// "blockClass": "countdown-academy-teste",
"endDate": "31/01/2023/12:30"
}
},
"countdown-academy": {
"props" : {
"endDate": "31/01/2023/12:30"
}
},
"flex-layout.row#faixa-de-imagens": {
"props": {
"blockClass": "faixa-de-imagens"
},
"children": [
"image#imagem-1",
"flex-layout.col#middle-image",
"image#imagem-3"
]
},
"flex-layout.col#middle-image": {
"props": {
"blockClass": "faixa-de-imagens"
},
"children": [
"image#imagem-2",
"flex-layout.col#conteudo-meio"
]
},
"flex-layout.col#conteudo-meio": {
"children": [
"rich-text#texto-meio",
"link#link-meio"
],
"props": {
"blockClass": "conteudo-meio",
"preventVerticalStretch": "auto"
}
},
"rich-text#texto-meio": {
"props": {
"text": "### Qual dieta é a melhor\n # pra você?\n Tenha uma vida saudável!",
"blockClass": "texto-meio"
}
},
"link#link-meio": {
"props": {
"href": "/",
"label": "Responda Nosso Quiz e Descubra",
"blockClass": "link-meio"
}
},
"image#imagem-1": {
"props": {
"src":"assets/imgs/img1.jpg"
}
},
"image#imagem-2": {
"props": {
"src":"assets/imgs/img2.jpg"
}
},
"image#imagem-3": {
"props": {
"src":"assets/imgs/img3.jpg"
}
},
"challenge.trade-policy-condition": {
"props": {
"redirectPath": "/registration",
"defaultContentVisibility": "hidden"
}
},
"list-context.image-list#demo": {
"children": ["slider-layout#demo-images"],
"props": {
"height": 720,
"images": [
{
"image": "https://agenciamagma.ecommercetools.com.br/arquivos/vtexio-template-b2c/banner-desktop.png",
"mobileImage": "https://agenciamagma.ecommercetools.com.br/arquivos/vtexio-template-b2c/banner-mobile.png"
},
{
"image": "https://agenciamagma.ecommercetools.com.br/arquivos/vtexio-template-b2c/banner-desktop.png",
"mobileImage": "https://agenciamagma.ecommercetools.com.br/arquivos/vtexio-template-b2c/banner-mobile.png"
}
]
}
},
"slider-layout#demo-images": {
"props": {
"itemsPerPage": {
"desktop": 1,
"tablet": 1,
"phone": 1
},
"blockClass": "m3-main-slider",
"infinite": true,
"showNavigationArrows": "desktopOnly"
}
},
// M3 MIDDLE CARD
"info-card#m3-middle-card": {
"props": {
"blockClass": "m3-middle-card",
"id": "m3-middle-card",
"isFullModeStyle": false,
"textPosition": "left",
"imageUrl": "assets/imgs/mosaic01.png",
"headline": "LOREM IPSUM",
"subhead": "",
"callToActionText": "VER MAIS",
"callToActionLinkTarget": "_blank",
"callToActionUrl": "/",
"textAlignment": "center"
}
},
// M3 BRANDS SLIDE
"flex-layout.row#m3-brands": {
"props": {
"blockClass": "m3-brands",
"colSizing": "auto",
"horizontalAlign": "center",
"colGap": "2",
"fullWidth": true
},
"children": [
"rich-text#m3-brands-heading",
"list-context.image-list#m3-brands-list"
]
},
"rich-text#m3-brands-heading": {
"props": {
"text": "## marcas em destaque",
"blockClass": "m3-brands-heading",
"textAlignment": "CENTER",
"textPosition": "CENTER",
"font": "t-heading-4"
}
},
"list-context.image-list#m3-brands-list": {
"children": ["slider-layout#m3-brands-slide"],
"props": {
"images": [
{
"image": "assets/imgs/brand-makup.png",
"description": "something something"
},
{
"image": "assets/imgs/brand-makup.png",
"description": "something something"
},
{
"image": "assets/imgs/brand-makup.png",
"description": "something something"
},
{
"image": "assets/imgs/brand-makup.png",
"description": "something something"
},
{
"image": "assets/imgs/brand-makup.png",
"description": "something something"
},
{
"image": "assets/imgs/brand-makup.png",
"description": "something something"
}
]
}
},
"slider-layout#m3-brands-slide": {
"props": {
"blockClass": "m3-brands-slide",
"itemsPerPage": {
"desktop": 5,
"tablet": 3,
"phone": 3
},
"fullWidth": false,
"showPaginationDots": "never",
"showNavigationArrows": "desktopOnly",
"centerMod": {
"mobile": true
}
}
},
"link#whatsapp": {
"props": {
"href": "https://wa.me/5516997321176",
"blockClass": "whatsapp-link"
}
}
}