fix: ajustando props do menu dinamico

This commit is contained in:
Caroline Moran 2022-08-11 09:33:06 -04:00
parent f2a03c53ae
commit 80b5ba4a98
5 changed files with 65 additions and 14 deletions

View File

@ -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",

View File

@ -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;

View File

@ -132,6 +132,5 @@
}
}
}
}
}

View File

@ -1,7 +1,7 @@
{
"vendor": "agenciamagma",
"name": "template-agenciam3",
"version": "1.2.15",
"version": "0.0.0",
"builders": {
"styles": "2.x",
"store": "0.x",

View File

@ -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"
}
}
]
}
}
]
}
}
}