Entrega do Desafio #1

Merged
anacarolinaduartecavalcante merged 93 commits from feature/challenge-vtex-io into develop 2023-02-03 17:14:03 +00:00
4 changed files with 345 additions and 297 deletions
Showing only changes of commit 01f4e4cc6b - Show all commits

View File

@ -1,25 +1,20 @@
{
"footer": {
"blocks": [
"footer-layout.desktop",
"footer-layout.mobile"
]
"blocks": ["footer-layout.desktop", "footer-layout.mobile"]
},
"footer-layout.desktop": {
"children": [
"flex-layout.row#newsletter",
"flex-layout.row#footer-1-desktop",
"flex-layout.row#footer-2-desktop",
"flex-layout.row#footer-3-desktop"
"html#footer-3-desktop"
]
},
"flex-layout.row#footer-1-desktop": {
"children": [
"vtex.menu@2.x:menu#Products",
"vtex.menu@2.x:menu#footer-clothing",
"vtex.menu@2.x:menu#footer-decoration",
"vtex.menu@2.x:menu#footer-bags",
"footer-spacer",
"social-networks"
"vtex.menu@2.x:menu#footer-site-m3-academy",
"vtex.menu@2.x:menu#footer-am3academy",
"html#seja-um-franqueado",
"html#right-block"
],
"props": {
"blockClass": "menu-row",
@ -27,83 +22,113 @@
"paddingBottom": 3
}
},
"social-networks": {
"html#seja-um-franqueado": {
"props": {
"socialNetworks": [
{
"name": "Facebook",
"url": "https://www.facebook.com/vtexonline/"
},
{
"name": "Instagram",
"url": "https://www.instagram.com/vtextruecloud/"
},
{
"name": "Twitter",
"url": "https://twitter.com/vtexonline"
},
{
"name": "Youtube",
"url": "https://www.youtube.com/user/VTEXTV"
}
]
}
"blockClass": "seja-um-franqueado"
},
"children": ["vtex.menu@2.x:menu#footer-seja-um-franqueado-container"]
},
"html#right-block": {
"children": [
"html#social-networks-component",
"flex-layout.row#footer-2-desktop"
]
},
"html#social-networks-component": {
"props": {
"blockClass": "social-networks-component"
},
"children": ["social-networks-component"]
},
"flex-layout.row#footer-2-desktop": {
"children": [
"accepted-payment-methods"
],
"children": ["html#payment-methods-component"],
"props": {
"blockClass": "payment-methods"
}
},
"accepted-payment-methods": {
"html#payment-methods-component": {
"props": {
"paymentMethods": [
"MasterCard",
"Visa",
"Diners Club"
]
}
"blockClass": "payment-methods-component"
},
"children": ["payment-methods-component"]
},
"flex-layout.row#footer-3-desktop": {
"html#footer-3-desktop": {
"children": [
"rich-text#footer"
"html#footer-credits-information",
"html#footer-credits-autores"
],
"props": {
"blockClass": "credits"
}
},
"html#footer-credits-information": {
"props": {
"blockClass": "footer-credits-information"
},
"children": [
"rich-text#footer",
"rich-text#footer-address",
"rich-text#footer-cnpj"
]
},
"html#footer-credits-autores": {
"props": {
"blockClass": "autores-component"
},
"children": ["autores-component"]
},
"rich-text#footer": {
"props": {
"text": "All stock and product photos are from photos.icons8.com",
"text": "Copyright © 2022 M3 Academy. Todos os direitos reservados.",
"blockClass": "footer"
}
},
"rich-text#footer-address": {
"props": {
"text": "R. Helena Coutinho, 41 - Braunes - Nova Friburgo - RJ",
"blockClass": "footer-address"
}
},
"rich-text#footer-cnpj": {
"props": {
"text": "CNPJ: 12.345.678.0009-10",
"blockClass": "footer-cnpj"
}
},
"footer-layout.mobile": {
"children": [
"flex-layout.row#newsletter",
"flex-layout.row#1-footer-mobile",
"flex-layout.row#2-footer-mobile"
"html#2-footer-mobile"
]
},
"flex-layout.row#2-footer-mobile": {
"children": [
"flex-layout.col#footer-1-mobile"
],
"flex-layout.row#newsletter": {
"children": ["newsletter"],
"props": {
"blockClass": "payment-methods",
"blockClass": "newsletter-footer"
}
},
"newsletter": {
"props": {
"label": "Assine nossa newsletter",
"placeholder": "Digite seu e-mail"
}
},
"html#2-footer-mobile": {
"children": ["html#footer-1-mobile"],
"props": {
"blockClass": "credits-mobile",
"paddingTop": 4,
"paddingBottom": 4
}
},
"flex-layout.col#footer-1-mobile": {
"html#footer-1-mobile": {
"children": [
"accepted-payment-methods",
"social-networks",
"rich-text#footer-mobile"
"html#footer-credits-information",
"html#footer-credits-autores"
],
"props": {
"blockClass": "payment-methods",
"blockClass": "footer-credits-information-mobile",
"paddingTop": 4,
"paddingBottom": 4,
"rowGap": 4
@ -111,17 +136,15 @@
},
"flex-layout.row#1-footer-mobile": {
"props": {
"blockClass": "menu-row-mobile",
"paddingTop": 4,
"paddingBottom": 4
},
"children": [
"vtex.menu@2.x:menu#footer-mobile"
"vtex.menu@2.x:menu#footer-mobile",
"html#seja-um-franqueado",
"social-networks-component",
"html#payment-methods-component"
]
},
"rich-text#footer-mobile": {
"props": {
"text": "All stock and product photos are from photos.icons8.com",
"blockClass": "footer"
}
}
}

View File

@ -1,18 +1,23 @@
{
"vtex.menu@2.x:menu#Products": {
"vtex.menu@2.x:menu#footer-site-m3-academy": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#news",
"menu-item#blackfriday",
"menu-item#sale",
"menu-item#personalization"
"menu-item#site-m3-academy",
"menu-item#loja-ebit-ouro",
"menu-item#trocas-e-devolucoes",
"menu-item#central-de-atendimento",
"menu-item#fale-conosco",
"menu-item#imprensa",
"menu-item#rastreamento",
"menu-item#cnpj"
]
},
"menu-item#news": {
"menu-item#site-m3-academy": {
"props": {
"id": "menu-item-news",
"blockClass": "site-m3-academy",
"id": "menu-item-site-m3-academy",
"type": "custom",
"iconId": null,
"highlight": false,
@ -20,14 +25,14 @@
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "News",
"text": "News"
"tagTitle": "Site M3 Academy",
"text": "Site M3 Academy"
}
}
},
"menu-item#blackfriday": {
"menu-item#loja-ebit-ouro": {
"props": {
"id": "menu-item-black-friday",
"id": "menu-item-loja-ebit-ouro",
"type": "custom",
"iconId": null,
"highlight": false,
@ -35,14 +40,14 @@
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "BlackFriday",
"text": "Black Friday"
"tagTitle": "Loja Ebit Ouro",
"text": "Loja Ebit Ouro"
}
}
},
"menu-item#sale": {
"menu-item#trocas-e-devolucoes": {
"props": {
"id": "menu-item-sale",
"id": "menu-item-trocas-e-devolucoes",
"type": "custom",
"iconId": null,
"highlight": false,
@ -50,14 +55,14 @@
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Sale",
"text": "Sale"
"tagTitle": "Trocas e devoluções",
"text": "Trocas e devoluções"
}
}
},
"menu-item#personalization": {
"menu-item#central-de-atendimento": {
"props": {
"id": "menu-item-personalization",
"id": "menu-item-central-de-atendimento",
"type": "custom",
"iconId": null,
"highlight": false,
@ -65,84 +70,87 @@
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Personalization",
"text": "Personalization"
"tagTitle": "Central de atendimento",
"text": "Central de atendimento"
}
}
},
"menu-item#fale-conosco": {
"props": {
"id": "menu-item-fale-conosco",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Fale conosco",
"text": "Fale conosco"
}
}
},
"menu-item#imprensa": {
"props": {
"id": "menu-item-imprensa",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Imprensa",
"text": "Imprensa"
}
}
},
"menu-item#rastreamento": {
"props": {
"id": "menu-item-rastreamento",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Rastreamento",
"text": "Rastreamento"
}
}
},
"menu-item#cnpj": {
"props": {
"blockClass": "cnpj",
"id": "menu-item-cnpj",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "CNPJ 12.345.678.0009-10",
"text": "CNPJ 12.345.678.0009-10"
}
}
},
"vtex.menu@2.x:menu#footer-decoration": {
"vtex.menu@2.x:menu#footer-seja-um-franqueado-container": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#smartphones",
"menu-item#videogames",
"menu-item#tvs"
"menu-item#seja-um-franqueado-block",
"menu-item#seja-um-franqueado-link",
"menu-item#multimarcas"
]
},
"menu-item#smartphones": {
"props": {
"id": "menu-item-smartphones",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/smartphones",
"noFollow": true,
"tagTitle": "Smartphones",
"text": "Smartphones"
}
}
},
"menu-item#videogames": {
"props": {
"id": "menu-item-videogames",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/videogames",
"noFollow": true,
"tagTitle": "Videogames",
"text": "Videogames"
}
}
},
"menu-item#tvs": {
"props": {
"id": "menu-item-tvs",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/tvs",
"noFollow": true,
"tagTitle": "TVs",
"text": "TVs"
}
}
},
"vtex.menu@2.x:menu#footer-bags": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#bags",
"menu-item#backpacks",
"menu-item#necessaire"
]
},
"menu-item#bags": {
"menu-item#seja-um-franqueado-block": {
"props": {
"blockClass": "seja-um-franqueado-block",
"id": "menu-item-bags",
"type": "custom",
"iconId": null,
@ -151,55 +159,59 @@
"type": "internal",
"href": "/bags/d",
"noFollow": true,
"tagTitle": "Bags",
"text": "Bags"
"tagTitle": "Seja um franqueado",
"text": "Seja um franqueado"
}
}
},
"menu-item#backpacks": {
"menu-item#seja-um-franqueado-link": {
"props": {
"id": "menu-item-backpacks",
"blockClass": "seja-um-franqueado-link",
"id": "menu-item-seja-um-franqueado-link",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/bags/backpacks",
"href": "/bags/seja-um-franqueado-link",
"noFollow": true,
"tagTitle": "Backpacks",
"text": "Backpacks"
"tagTitle": "Seja um franqueado",
"text": "Seja um franqueado"
}
}
},
"menu-item#necessaire": {
"menu-item#multimarcas": {
"props": {
"id": "menu-item-necessaire",
"blockClass": "multimarcas",
"id": "menu-item-multimarcas",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/bags/necessaire",
"href": "/bags/multimarcas",
"noFollow": true,
"tagTitle": "Necessaire",
"text": "Necessaire"
"tagTitle": "Multimarcas",
"text": "Multimarcas"
}
}
},
"vtex.menu@2.x:menu#footer-clothing": {
"vtex.menu@2.x:menu#footer-am3academy": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#clothing",
"menu-item#shorts",
"menu-item#tank-tops",
"menu-item#shirts",
"menu-item#sweatshirt",
"menu-item#cropped"
"menu-item#am3academy",
"menu-item#seja-um-franqueado",
"menu-item#quem-somos",
"menu-item#nossas-lojas",
"menu-item#responsabilidade-social",
"menu-item#franquias",
"menu-item#procon-mg",
"menu-item#politica-de-privacidade"
]
},
@ -208,185 +220,207 @@
"orientation": "vertical"
},
"children": [
"menu-item#clothing-mobile",
"menu-item#decoration-mobile",
"menu-item#sale-mobile"
"menu-item#site-m3-academy-mobile",
"menu-item#am3academy-mobile"
]
},
"menu-item#clothing-mobile": {
"menu-item#site-m3-academy-mobile": {
"props": {
"id": "menu-item-category-clothing",
"blockClass": "site-m3-academy-mobile",
"id": "menu-item-category-site-m3academy",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/d",
"href": "/site-m3academy/d",
"noFollow": true,
"tagTitle": "Clothing",
"text": "Clothing"
"tagTitle": "Site M3 Academy",
"text": "Site M3 Academy"
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#clothing"]
"blocks": ["vtex.menu@2.x:submenu.accordion#site-m3-academy"]
},
"vtex.menu@2.x:submenu.accordion#clothing": {
"children": ["vtex.menu@2.x:menu#clothing-accordion"]
"vtex.menu@2.x:submenu.accordion#site-m3-academy": {
"children": ["vtex.menu@2.x:menu#site-m3-academy-accordion"]
},
"vtex.menu@2.x:menu#clothing-accordion": {
"vtex.menu@2.x:menu#site-m3-academy-accordion": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#shorts",
"menu-item#tank-tops",
"menu-item#shirts",
"menu-item#sweatshirt",
"menu-item#cropped"
"menu-item#loja-ebit-ouro",
"menu-item#trocas-e-devolucoes",
"menu-item#central-de-atendimento",
"menu-item#fale-conosco",
"menu-item#imprensa",
"menu-item#rastreamento",
"menu-item#cnpj"
]
},
"menu-item#decoration-mobile": {
"menu-item#am3academy-mobile": {
"props": {
"itemProps": {
"tagTitle": "Decoration",
"text": "Decoration"
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#decoration"]
},
"vtex.menu@2.x:submenu.accordion#decoration": {
"children": ["vtex.menu@2.x:menu#footer-decoration-mobile"]
},
"vtex.menu@2.x:menu#footer-decoration-mobile": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#smartphones",
"menu-item#videogames",
"menu-item#tvs"
]
},
"menu-item#sale-mobile": {
"props": {
"itemProps": {
"tagTitle": "Sale",
"text": "Sale"
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#sale"]
},
"vtex.menu@2.x:submenu.accordion#sale": {
"children": ["vtex.menu@2.x:menu#footer-sale-mobile"]
},
"vtex.menu@2.x:menu#footer-sale-mobile": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#smartphones",
"menu-item#videogames",
"menu-item#tvs"
]
},
"menu-item#clothing": {
"props": {
"id": "menu-item-category-clothing",
"blockClass": "am3academy-mobile",
"id": "menu-item-category-am3academy",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/d",
"href": "/am3academy/d",
"noFollow": true,
"tagTitle": "Clothing",
"text": "Clothing"
"tagTitle": "A M3 Academy",
"text": "A M3 Academy"
}
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#am3academy"]
},
"vtex.menu@2.x:submenu.accordion#am3academy": {
"children": ["vtex.menu@2.x:menu#am3academy-accordion"]
},
"menu-item#shorts": {
"vtex.menu@2.x:menu#am3academy-accordion": {
"props": {
"id": "menu-item-shorts",
"orientation": "vertical"
},
"children": [
"menu-item#seja-um-franqueado",
"menu-item#quem-somos",
"menu-item#nossas-lojas",
"menu-item#responsabilidade-social",
"menu-item#franquias",
"menu-item#procon-mg",
"menu-item#politica-de-privacidade"
]
},
"menu-item#am3academy": {
"props": {
"blockClass": "am3academy",
"id": "menu-item-category-am3academy",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/shorts",
"noFollow": false,
"tagTitle": "Shorts",
"text": "Shorts"
"href": "/am3academy/d",
"noFollow": true,
"tagTitle": "A M3 Academy",
"text": "A M3 Academy"
}
}
},
"menu-item#tank-tops": {
"menu-item#seja-um-franqueado": {
"props": {
"id": "menu-item-tank-tops",
"id": "menu-item-seja-um-franqueado",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/tank-tops",
"href": "/am3academy/seja-um-franqueado",
"noFollow": false,
"tagTitle": "Tank tops",
"text": "Tank tops"
"tagTitle": "Seja um franqueado",
"text": "Seja um franqueado"
}
}
},
"menu-item#shirts": {
"menu-item#quem-somos": {
"props": {
"id": "menu-item-shirts",
"id": "menu-item-quem-somos",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/shirts",
"href": "/am3academy/quem-somos",
"noFollow": false,
"tagTitle": "Shirts",
"text": "Shirts"
"tagTitle": "Quem somos",
"text": "Quem somos"
}
}
},
"menu-item#sweatshirt": {
"menu-item#nossas-lojas": {
"props": {
"id": "menu-item-sweat-shirts",
"id": "menu-item-nossas-lojas",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/sweatshirt",
"href": "/am3academy/nossas-lojas",
"noFollow": false,
"tagTitle": "Sweatshirt",
"text": "Sweatshirt"
"tagTitle": "Nossas lojas",
"text": "Nossas lojas"
}
}
},
"menu-item#cropped": {
"menu-item#responsabilidade-social": {
"props": {
"id": "menu-item-cropped",
"blockClass": "responsabilidade-social",
"id": "menu-item-responsabilidade-social",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/cropped",
"href": "/am3academy/responsabilidade-social",
"noFollow": false,
"tagTitle": "Cropped",
"text": "Cropped"
"tagTitle": "Responsabilidade Social",
"text": "Responsabilidade Social"
}
}
},
"menu-item#franquias": {
"props": {
"id": "menu-item-franquias",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/am3academy/franquias",
"noFollow": false,
"tagTitle": "Franquias",
"text": "Franquias"
}
}
},
"menu-item#procon-mg": {
"props": {
"id": "menu-item-procon-mg",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/am3academy/procon-mg",
"noFollow": false,
"tagTitle": "Procon MG",
"text": "Procon MG"
}
}
},
"menu-item#politica-de-privacidade": {
"props": {
"id": "menu-item-politica-de-privacidade",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/am3academy/politica-de-privacidade",
"noFollow": false,
"tagTitle": "Política de Privacidade",
"text": "Política de Privacidade"
}
}
}

View File

@ -23,40 +23,36 @@
"text": "Apparel & Accessories"
}
},
"blocks": [
"vtex.menu@2.x:submenu#category-apparel"
]
"blocks": ["vtex.menu@2.x:submenu#category-apparel"]
},
"vtex.menu@2.x:submenu#category-apparel": {
"props": {
"width": "auto"
},
"children": [
"vtex.menu@2.x:menu#category-apparel"
]
"children": ["vtex.menu@2.x:menu#category-apparel"]
},
"vtex.menu@2.x:menu#category-apparel": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#category-apparel-clothing",
"menu-item#category-apparel-am3academy",
"menu-item#category-apparel-accessories",
"menu-item#category-apparel-eyeglasses"
]
},
"menu-item#category-apparel-clothing": {
"menu-item#category-apparel-am3academy": {
"props": {
"id": "menu-item-category-apparel-clothing",
"id": "menu-item-category-apparel-am3academy",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/apparel---accessories/clothing/",
"href": "/apparel---accessories/am3academy/",
"noFollow": false,
"tagTitle": "Clothing",
"text": "Clothing"
"tagTitle": "A M3 Academy",
"text": "A M3 Academy"
}
}
},
@ -107,7 +103,7 @@
},
"menu-item#more": {
"props": {
"id": "menu-item-custom-sale",
"id": "menu-item-custom-trocas-e-devolucoes",
"type": "custom",
"iconId": null,
"highlight": false,
@ -119,42 +115,28 @@
"text": "More"
}
},
"blocks": [
"vtex.menu@2.x:submenu#more"
]
"blocks": ["vtex.menu@2.x:submenu#more"]
},
"vtex.menu@2.x:submenu#more": {
"props": {
"width": "100%"
},
"children": [
"flex-layout.row#menu-more"
]
"children": ["flex-layout.row#menu-more"]
},
"flex-layout.row#menu-more": {
"children": [
"flex-layout.col#menu-more-1",
"flex-layout.col#menu-more-2"
]
"children": ["flex-layout.col#menu-more-1", "flex-layout.col#menu-more-2"]
},
"flex-layout.col#menu-more-1": {
"children": [
"vtex.menu@2.x:menu#more"
]
"children": ["vtex.menu@2.x:menu#more"]
},
"flex-layout.col#menu-more-2": {
"children": [
"info-card#home"
]
"children": ["info-card#home"]
},
"vtex.menu@2.x:menu#more": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#about-us",
"menu-item#faq"
]
"children": ["menu-item#about-us", "menu-item#faq"]
},
"menu-item#about-us": {
"props": {

View File

@ -14,5 +14,14 @@
},
"placeholder-component": {
"component": "Placeholder"
},
"social-networks-component": {
"component": "Social"
},
"payment-methods-component": {
"component": "PaymentMethods"
},
"autores-component": {
"component": "Autores"
}
}