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/pages/category.js b/meta/pages/category.js new file mode 100644 index 0000000..29ca98e --- /dev/null +++ b/meta/pages/category.js @@ -0,0 +1,26 @@ +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 new file mode 100644 index 0000000..c92fd0f --- /dev/null +++ b/meta/pages/elementos-menu.js @@ -0,0 +1,37 @@ +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 new file mode 100644 index 0000000..47982fb --- /dev/null +++ b/meta/pages/institucional.js @@ -0,0 +1,42 @@ +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 new file mode 100644 index 0000000..1621436 --- /dev/null +++ b/meta/pages/product.js @@ -0,0 +1,57 @@ +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 5b32db0..fff2d11 100644 --- a/src/arquivos/sass/partials/_header.scss +++ b/src/arquivos/sass/partials/_header.scss @@ -4,10 +4,59 @@ &__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; /*utilizar todo espaço empurrando os irmaos...*/ + display: flex; + align-items: center; + max-width: 212px; /*...mas no max ate 212*/ + 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; + background: transparent; + outline: 0; + color: $white-500; + font-size: 10px; + line-height: 12px; + } + + .btn-buscar { + width: 23px; + height: 23px; + padding: 0; + border: 0; + outline: 0; + font-size: 0; + background-color: transparent; + + /*quando ja tem estrutuura, e temos que substituir*/ + @extend .sprite; + @extend .sprite-search-icon; + } + } + } } diff --git a/src/arquivos/sass/utils/_variaveis.scss b/src/arquivos/sass/utils/_variaveis.scss index 2e59a2b..06cce25 100644 --- a/src/arquivos/sass/utils/_variaveis.scss +++ b/src/arquivos/sass/utils/_variaveis.scss @@ -1,6 +1,8 @@ // fonts -$font-family: "Roboto", sans-serif; +@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap"); + +$font-family: "Inter", sans-serif; $font-height: 1.5; // colors 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/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/sub-templates/caina-header.html b/src/template-pagina/sub-templates/caina-header.html index 541674b..5a03a45 100644 --- a/src/template-pagina/sub-templates/caina-header.html +++ b/src/template-pagina/sub-templates/caina-header.html @@ -7,7 +7,18 @@ -
+
+ + + + + + +
+ diff --git a/src/template-pagina/template-404.html b/src/template-pagina/template-404.html new file mode 100644 index 0000000..8b7d3e7 --- /dev/null +++ b/src/template-pagina/template-404.html @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + +
+
+

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 new file mode 100644 index 0000000..428bebf --- /dev/null +++ b/src/template-pagina/template-500.html @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + +
+

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 new file mode 100644 index 0000000..df6fa77 --- /dev/null +++ b/src/template-pagina/template-buscavazia.html @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + +
+

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 new file mode 100644 index 0000000..c6f6842 --- /dev/null +++ b/src/template-pagina/template-categoria.html @@ -0,0 +1,79 @@ + + + + + + + + + + + Template + + + + + + + + + +
+
+
+
+ +
+
+
+

+ Filtrar busca +

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

Minha Conta

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

+ +

+
+ REF.: + +
+
+
+
+
+
+
+ +
+

+ compra segura +

+
+ + +
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+

Descrição

+ +
+ +
+
+
+
+
+ + + +
+ + + +
+ + +