diff --git a/custom/manifest.json b/custom/manifest.json index b718b41..3cb7db0 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -1,7 +1,7 @@ { "vendor": "agenciamagma", "name": "m3-custom", - "version": "0.1.6", + "version": "0.0.0", "title": "m3-custom", "description": "m3-custom component", "defaultLocale": "pt-BR", diff --git a/custom/react/components/Menu/MenuItem/MenuItem.css b/custom/react/components/Menu/MenuItem/MenuItem.css index 4671d64..f515ec3 100644 --- a/custom/react/components/Menu/MenuItem/MenuItem.css +++ b/custom/react/components/Menu/MenuItem/MenuItem.css @@ -11,8 +11,8 @@ letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; - color: #4B4B4D; - transition: color .4s ease; + color: #4b4b4d; + transition: color 0.4s ease; } .menuItemLink::before { content: ""; @@ -38,7 +38,7 @@ padding: 45px; margin: 0 auto; } -.agenciam3-m3-custom-0-x-nav { +.agenciamagma-m3-custom-0-x-nav { width: 100%; } .dynamicSubMenuContainer::before { @@ -51,7 +51,6 @@ top: -14px; } - .subMenuItem { z-index: 2; width: fit-content; @@ -61,7 +60,7 @@ display: block; font-family: "Roboto", sans-serif; font-size: 16px; - color: #4B4B4D; + color: #4b4b4d; text-decoration: none; z-index: 2; margin: 0 0 10px; diff --git a/custom/store/contentSchemas.json b/custom/store/contentSchemas.json index a308150..0d6277a 100644 --- a/custom/store/contentSchemas.json +++ b/custom/store/contentSchemas.json @@ -132,6 +132,5 @@ } } } - } } diff --git a/storefront/manifest.json b/storefront/manifest.json index b979ff3..c79d8c1 100644 --- a/storefront/manifest.json +++ b/storefront/manifest.json @@ -1,7 +1,7 @@ { "vendor": "agenciamagma", "name": "template-agenciam3", - "version": "1.2.15", + "version": "0.0.0", "builders": { "styles": "2.x", "store": "0.x", diff --git a/storefront/store/blocks/partials/header/dynamic-menu.jsonc b/storefront/store/blocks/partials/header/dynamic-menu.jsonc index 98a3c5b..dce843b 100644 --- a/storefront/store/blocks/partials/header/dynamic-menu.jsonc +++ b/storefront/store/blocks/partials/header/dynamic-menu.jsonc @@ -4,18 +4,71 @@ "isMobile": false, "items": [ { - "iconSrc": "string", - "title": "agencia-m3", - "href": "/lugar-algum", - "internal": true, - "content": "teste" + "MenuItemProps": { + "iconSrc": "string", + "title": "Teste", + "href": "/", + "internal": true, + "content": "Teste", + "items": [ + { + "SubMenuItemProps": { + "iconSrc": "string", + "title": "Teste", + "href": "/", + "internal": true, + "content": "Teste" + } + }, + { + "SubMenuItemProps": { + "iconSrc": "string", + "title": "Inverno 2021", + "href": "/", + "internal": true, + "content": "Inverno 2021" + } + } + ] + } } ] } }, "dynamic-menu#mobile": { "props": { - "isMobile": true + "isMobile": true, + "items": [ + { + "MenuItemProps": { + "iconSrc": "string", + "title": "Teste", + "href": "/", + "internal": true, + "content": "Teste", + "items": [ + { + "SubMenuItemProps": { + "iconSrc": "string", + "title": "Teste", + "href": "/", + "internal": true, + "content": "Teste" + } + }, + { + "SubMenuItemProps": { + "iconSrc": "string", + "title": "Inverno 2021", + "href": "/", + "internal": true, + "content": "Inverno 2021" + } + } + ] + } + } + ] } } }