diff --git a/dev/controles-vtex/fullTextSearchBox.html b/dev/controles-vtex/fullTextSearchBox.html index f20519a..b8c3fb8 100644 --- a/dev/controles-vtex/fullTextSearchBox.html +++ b/dev/controles-vtex/fullTextSearchBox.html @@ -25,6 +25,6 @@ + accesskey="b" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true" value="OLÁ, O QUE DESEJA ENCONTRAR?" /> diff --git a/meta/loja.js b/meta/loja.js index 1c4939c..67c2d9f 100644 --- a/meta/loja.js +++ b/meta/loja.js @@ -1,16 +1,6 @@ const home = require("./pages/home"); -const category = require("./pages/category"); -const product = require("./pages/product"); -const institucional = require("./pages/institucional"); -const menuElements = require("./pages/elementos-menu"); module.exports = { accountName: "agenciamagma", - pages: [ - { data: home, template: "eleonoraotz-home.html" }, - { data: category, template: "template-categoria.html" }, - { data: product, template: "template-produto.html" }, - { data: institucional, template: "template-institucional.html" }, - { data: menuElements, template: "template-elementos-menu.html" }, - ], + pages: [{ data: home, template: "eleonoraotz-home.html" }], }; diff --git a/meta/pages/category.js b/meta/pages/category.js deleted file mode 100644 index 29ca98e..0000000 --- a/meta/pages/category.js +++ /dev/null @@ -1,26 +0,0 @@ -module.exports = { - contentPlaceHolders: [ - { - // Registra o contentPlaceholder - id: "htmlSeo", - objects: [ - // Registra os objetos vtex - { - type: "html", - name: "Html SEO", - contents: [ - { - name: "metaTag", - active: true, - content: ``, - }, - ], - }, - ], - }, - ], - - // Ainda não implementado - //Trocar pelo que for cadastrado na vtex - searchResultLayoutID: "46b0e7f2-15ee-4789-a75e-280e389d2b8f", -}; diff --git a/meta/pages/elementos-menu.js b/meta/pages/elementos-menu.js deleted file mode 100644 index c92fd0f..0000000 --- a/meta/pages/elementos-menu.js +++ /dev/null @@ -1,37 +0,0 @@ -module.exports = { - contentPlaceHolders: [ - { - id: "banners-menu", - objects: [ - { - type: "banner", - name: "menu camisa", - contents: [ - { - name: "banner principal mobile content", - active: true, - type: "image", - file: "slide-principal-mobile.png", - width: 500, - height: 500, - }, - ], - }, - { - type: "banner", - name: "menu bolsa", - contents: [ - { - name: "banner principal mobile 2 content", - active: true, - type: "image", - file: "slide-principal-mobile.png", - width: 500, - height: 500, - }, - ], - }, - ], - }, - ], -}; diff --git a/meta/pages/institucional.js b/meta/pages/institucional.js deleted file mode 100644 index 47982fb..0000000 --- a/meta/pages/institucional.js +++ /dev/null @@ -1,42 +0,0 @@ -module.exports = { - contentPlaceHolders: [ - { - // Registra o contentPlaceholder - id: "htmlSeo", - objects: [ - // Registra os objetos vtex - { - type: "html", - name: "Html SEO", - contents: [], - }, - ], - }, - { - id: "texto-institucional", - objects: [ - { - type: "html", - name: "Conteudo institucional", - contents: [ - { - name: "Potilica de privacidade", - active: true, - content: ` - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce feugiat lacus sapien, nec interdum ante sodales id. Vivamus eu mauris vel nibh pharetra aliquet. Donec nisl odio, feugiat sed laoreet non, venenatis in dolor. Nulla eget dolor nec mi congue volutpat. Maecenas non elementum dolor. Nam sollicitudin justo sed magna auctor, at condimentum quam aliquam. Ut luctus posuere quam, nec auctor orci sagittis at. Duis eget nibh sed lorem sollicitudin auctor cursus nec ipsum. In tempus ipsum libero, at ultricies lectus blandit sed. Cras in venenatis turpis. Praesent pellentesque augue nec iaculis mattis. Sed ante magna, vulputate sit amet pulvinar sed, iaculis ac massa. Nulla id turpis in enim aliquam auctor ut nec orci. - -Phasellus sit amet commodo lacus, eu dapibus lectus. Maecenas vitae justo lacus. Cras ornare hendrerit dictum. Sed quis iaculis lacus. Nunc egestas ipsum eget risus pulvinar sagittis. Nullam quis porttitor massa, a congue quam. Pellentesque ac mollis est. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Integer tincidunt, turpis quis pretium vehicula, leo erat lobortis velit, sed finibus nulla nunc sed lorem. Maecenas tellus nisi, tincidunt sed dolor vitae, accumsan euismod nisl. Cras dignissim placerat dapibus. Donec varius, sapien quis hendrerit dictum, lorem urna vestibulum eros, tempor aliquet ligula massa vel dui. - -In et rutrum erat. Duis dapibus, ligula eu luctus aliquet, nisi neque dapibus nisl, id laoreet nunc libero vitae augue. Integer vehicula ligula non risus vehicula, in venenatis nulla pulvinar. Nulla convallis elit sit amet massa euismod, quis cursus elit suscipit. Pellentesque semper dui sit amet ex efficitur tristique. Donec vitae porttitor augue, eget viverra ipsum. Sed volutpat, orci non hendrerit tempus, nisi nisl suscipit libero, at ultrices purus elit a massa. Nullam imperdiet blandit nunc, nec scelerisque libero gravida ac. Vestibulum ante velit, sodales blandit vehicula sed, ullamcorper eget dui. Fusce tempus ipsum sed lobortis pharetra. Interdum et malesuada fames ac ante ipsum primis in faucibus. - -Aenean at tempus arcu. Donec porta tempor nunc, id sollicitudin lectus egestas eu. Nullam posuere sollicitudin lectus sit amet suscipit. Curabitur quis urna quam. Ut sollicitudin dui sit amet risus rutrum convallis laoreet in tellus. Pellentesque porttitor nec velit a tempus. Cras quam massa, efficitur iaculis iaculis in, varius eget lorem. - -Duis ac egestas velit. Vivamus accumsan, metus vitae luctus iaculis, nisi ante mollis ipsum, non commodo augue orci nec dui. Cras dignissim venenatis viverra. Curabitur vitae ex turpis. Nullam pellentesque convallis enim, id accumsan velit laoreet nec. Quisque eget felis in turpis rhoncus maximus. In nec vehicula tortor. Maecenas consequat gravida dapibus. - `, - }, - ], - }, - ], - }, - ], -}; diff --git a/meta/pages/product.js b/meta/pages/product.js deleted file mode 100644 index 1621436..0000000 --- a/meta/pages/product.js +++ /dev/null @@ -1,57 +0,0 @@ -module.exports = { - contentPlaceHolders: [ - { - // Registra o contentPlaceholder - id: "htmlSeo", - objects: [ - // Registra os objetos vtex - { - type: "html", - name: "Html SEO", - contents: [], - }, - ], - }, - { - id: "prateleira-padrao", - objects: [ - { - type: "Produtos Relacionados", - name: "prateleira", - properties: { - layout: "prateleira-padrao", - type: "QuemViuViuTambem", - "number-of-columns": 12, - "number-of-items": 12, - }, - }, - ], - }, - // EXEMPLO DE PRATELEIRA COMUM - // { - // id: "prateleira-padrao", - // objects: [ - // { - // type: "colecao", - // name: "prateleira", - // properties: { - // layout: "prateleira-padrao", - // "number-of-columns": 12, - // "number-of-items": 12, - // "show-unavailable": false, - // //sim random está escrito errado e é culpa da vtex - // ramdom: false, - // paged: false, - // }, - // contents: [ - // { - // name: "praleira", - // active: true, - // clusterId: 158, - // }, - // ], - // }, - // ], - // }, - ], -}; diff --git a/src/arquivos/sass/partials/_header.scss b/src/arquivos/sass/partials/_header.scss index 15ca6df..f64e4f4 100644 --- a/src/arquivos/sass/partials/_header.scss +++ b/src/arquivos/sass/partials/_header.scss @@ -1,3 +1,116 @@ .page-header { - background-color: $black-500 ; + padding: 28px 0; + background: $black-500; + + &__wrapper { + display: grid; + grid-template-columns: 2fr 1fr 2fr; + align-items: center; + } + + &__logo { + display: block; + margin: 0 auto; + } + + .user-items { + display: flex; + align-items: center; + justify-content: flex-end; + + .busca { + flex: 1; + display: flex; + align-items: center; + max-width: 212px; + margin: 0; + padding: 8px 0; + border-bottom: 1px solid $white-500; + + legend, + label, + select { + display: none; + } + + .fulltext-search-box { + flex: 1; + height: 23px; + padding: 0; + border: 0; + outline: 0; + line-height: 12px; + font-size: 10px; + color: $white-500; + background: transparent; + } + + .btn-buscar { + width: 23px; + height: 23px; + padding: 0; + border: 0; + outline: 0; + font-size: 0; + background-color: transparent; + + @extend .sprite; + @extend .sprite-search-icon; + } + } + + &__account-link { + display: flex; + align-items: center; + + &::before, + &::after { + content: ""; + width: 1px; + height: 19px; + margin: 0 24px; + background: $white-500; + } + } + + &__minicart-button { + position: relative; + padding: 0; + border: 0; + outline: 0; + background: transparent; + + .portal-totalizers-ref{ + .title, + .amount-products, + .amount-items strong, + .amount-kits, + .total-cart { + display: none; + } + } + } + + .cart-info { + margin: 0; + } + + .amount-items-em { + display: flex; + align-items: center; + justify-content: center; + position: absolute; + top: 4px; + right: -4px; + width: 15px; + height: 15px; + border-radius: 50%; + line-height: 11px; + font-size: 9px; + font-weight: bold; + font-style: normal; + color: $white-500; + background: $blue-500; + } + } } diff --git a/src/arquivos/sass/utils/_variaveis.scss b/src/arquivos/sass/utils/_variaveis.scss index 1692fde..540c2a5 100644 --- a/src/arquivos/sass/utils/_variaveis.scss +++ b/src/arquivos/sass/utils/_variaveis.scss @@ -1,6 +1,7 @@ // fonts +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); -$font-family: "Roboto", sans-serif; +$font-family: "Inter", sans-serif; $font-weight-light: 300; $font-weight-regular: 400; $font-weight-heavy: 700; @@ -10,6 +11,7 @@ $font-height: 1.5; $black-500: #000000; $white-500: #ffffff; +$blue-500: #00C8FF; // Grid breakpoints diff --git a/src/arquivos/sprite/bag-icon.png b/src/arquivos/sprite/bag-icon.png new file mode 100644 index 0000000..de679e7 Binary files /dev/null and b/src/arquivos/sprite/bag-icon.png differ diff --git a/src/arquivos/sprite/menu-icon.png b/src/arquivos/sprite/menu-icon.png new file mode 100644 index 0000000..6a2898e Binary files /dev/null and b/src/arquivos/sprite/menu-icon.png differ diff --git a/src/arquivos/sprite/search-icon.png b/src/arquivos/sprite/search-icon.png new file mode 100644 index 0000000..761c0eb Binary files /dev/null and b/src/arquivos/sprite/search-icon.png differ diff --git a/src/arquivos/sprite/user-icon.png b/src/arquivos/sprite/user-icon.png new file mode 100644 index 0000000..15dc181 Binary files /dev/null and b/src/arquivos/sprite/user-icon.png differ diff --git a/src/template-pagina/eleonoraotz-home.html b/src/template-pagina/eleonoraotz-home.html index bbcc2a9..945d484 100644 --- a/src/template-pagina/eleonoraotz-home.html +++ b/src/template-pagina/eleonoraotz-home.html @@ -10,6 +10,7 @@ + M3 - Eleonora Otz @@ -28,7 +29,7 @@ - + diff --git a/src/template-pagina/sub-templates/eleonoraotz-header.html b/src/template-pagina/sub-templates/eleonoraotz-header.html index d8e8e7b..b0feb1b 100644 --- a/src/template-pagina/sub-templates/eleonoraotz-header.html +++ b/src/template-pagina/sub-templates/eleonoraotz-header.html @@ -1,11 +1,28 @@ diff --git a/src/template-pagina/sub-templates/eleonoraotz-loads-header.html b/src/template-pagina/sub-templates/eleonoraotz-loads-header.html index 9148c1e..65447e9 100644 --- a/src/template-pagina/sub-templates/eleonoraotz-loads-header.html +++ b/src/template-pagina/sub-templates/eleonoraotz-loads-header.html @@ -3,4 +3,4 @@ - + diff --git a/src/template-pagina/template-404.html b/src/template-pagina/template-404.html deleted file mode 100644 index 8b7d3e7..0000000 --- a/src/template-pagina/template-404.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
-

Página não encontrada.

-

A página que vocês está tentando acessar está indisponível.

- voltar -
-
- - - -
- - - -
- - - - diff --git a/src/template-pagina/template-500.html b/src/template-pagina/template-500.html deleted file mode 100644 index 428bebf..0000000 --- a/src/template-pagina/template-500.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - -
-

Algo deu errado.

-

Sua solicitação não pode ser atendida devido a um erro inesperado.
Tente novamente.

- voltar -
- - - -
- - - -
- - - - diff --git a/src/template-pagina/template-buscavazia.html b/src/template-pagina/template-buscavazia.html deleted file mode 100644 index df6fa77..0000000 --- a/src/template-pagina/template-buscavazia.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - -
-

Sua busca por "" não gerou nenhum resultado.

-

Verifique os termos buscados e tente novamente.

- voltar -
- -
- - - -
- - - - diff --git a/src/template-pagina/template-categoria.html b/src/template-pagina/template-categoria.html deleted file mode 100644 index c6f6842..0000000 --- a/src/template-pagina/template-categoria.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - Template - - - - - - - - - -
-
-
-
- -
-
-
-

- Filtrar busca -

- -
- - - -
-
-
-
- -
- -
- -
-
- -
-
-
-
-
-
- - -
- - - -
- - - - diff --git a/src/template-pagina/template-elementos-menu.html b/src/template-pagina/template-elementos-menu.html deleted file mode 100644 index f5c1a0a..0000000 --- a/src/template-pagina/template-elementos-menu.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - -
- -
- -
-
- - diff --git a/src/template-pagina/template-institucional.html b/src/template-pagina/template-institucional.html deleted file mode 100644 index 61cac71..0000000 --- a/src/template-pagina/template-institucional.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - Template - - - - - - - -
-
- - -
- -
-
-
- -
- - - -
- - - diff --git a/src/template-pagina/template-login.html b/src/template-pagina/template-login.html deleted file mode 100644 index 5b82b82..0000000 --- a/src/template-pagina/template-login.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - Template - - - - - - - - - - -
-
- -
-
- - -
- - - -
- - - diff --git a/src/template-pagina/template-minha-conta.html b/src/template-pagina/template-minha-conta.html deleted file mode 100644 index 26a2955..0000000 --- a/src/template-pagina/template-minha-conta.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - Template - - - - - - - - - -
-
-
-

Minha Conta

-
-
- -
-
-
- -
- - - -
- - - - diff --git a/src/template-pagina/template-produto.html b/src/template-pagina/template-produto.html deleted file mode 100644 index a304e47..0000000 --- a/src/template-pagina/template-produto.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - Template - - - - - - - -
-
-
- -
-
-
-
- -
-
-
-
-

- -

-
- REF.: - -
-
-
-
-
-
-
- -
-

- compra segura -

-
- - -
-
-
-
- -
-
-
- -
-
-
- -
-
-
-

Descrição

- -
- -
-
-
-
-
- - - -
- - - -
- - -