This commit is contained in:
Luiz Felipe Silva 2022-12-06 21:39:09 -03:00
parent ea476c4a96
commit 9a3bb2c4b4
24 changed files with 1218 additions and 18300 deletions

View File

@ -7,7 +7,7 @@ const menuElements = require("./pages/elementos-menu");
module.exports = {
accountName: "agenciamagma",
pages: [
{ data: home, template: "template-home.html" },
{ data: home, template: "luizfelipe-home.html" },
{ data: category, template: "template-categoria.html" },
{ data: product, template: "template-produto.html" },
{ data: institucional, template: "template-institucional.html" },

19060
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"author": "Agência M3",
"name": "tema-template",
"shopName": "template",
"shopName": "luizfelipe",
"description": "Tema Vtex para loja Vtex",
"version": "1.0.0",
"main": "index.js",
@ -12,8 +12,7 @@
"dev": "cross-env NODE_ENV=development gulp watch",
"dev:fast": "cross-env NODE_ENV=devfast gulp watch",
"prod": "cross-env NODE_ENV=production gulp build",
"format": "prettier --write \"src/arquivos/**/*.{js,jsx,scss}\"",
"preinstall": "npx npm-force-resolutions"
"format": "prettier --write \"src/arquivos/**/*.{js,jsx,scss}\""
},
"license": "ISC",
"devDependencies": {

View File

@ -1,6 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<head>
<meta name="page" content="home" page-id="homepage" />
@ -11,13 +10,13 @@
<vtex:contentPlaceHolder id="htmlSeo" />
<title>Template</title>
<vtex:template id="template-loads-header" />
<vtex:template id="luizfelipe-loads-header" />
</head>
<body>
<vtex:template id="template-header" />
<vtex:template id="luizfelipe-header" />
<main class="home">
@ -117,11 +116,11 @@
</main>
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />
<vtex:template id="luizfelipe-footer-newsletter" />
<vtex:template id="luizfelipe-footer-links" />
<vtex:template id="luizfelipe-footer" />
</footer>
<vtex:template id="template-loads-footer" />
<vtex:template id="luizfelipe-loads-footer" />
</body>
</html>

View File

@ -42,11 +42,9 @@
</div>
</div>
<nav role="navigation">
<ul class="itens nav navbar-nav" itemscope="itemscope"
itemtype="http://www.schema.org/SiteNavigationElement">
<ul class="itens nav navbar-nav" itemscope="itemscope" itemtype="http://www.schema.org/SiteNavigationElement">
<li class="novidades" itemprop="name">
<a itemprop="url" class="titulo-departamento highlight"
href="/busca/?fq=H:143&#38;O=OrderByReleaseDateDESC" title="novidades">
<a itemprop="url" class="titulo-departamento highlight" href="/busca/?fq=H:143&#38;O=OrderByReleaseDateDESC" title="novidades">
novidades
</a>
</li>

View File

@ -0,0 +1,4 @@
<script crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/proxy-polyfill@0.3.1/proxy.min.js" integrity="sha256-aRX3NIXjCxT51wF6s9KHLiFrf5E0n1YzvDLAMzeAVzA=" crossorigin="anonymous"></script>
<script src="/arquivos/luizfelipe--main-bundle.js" async="async"></script>

View File

@ -3,4 +3,4 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="/arquivos/template--main.css" />
<link rel="stylesheet" href="/arquivos/luizfelipe--main.css" />

View File

@ -1,47 +0,0 @@
<section class=" footer">
<div class="selos">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<ul class="pagamento">
<li><i class="sprite sprite-master"></i></li>
<li><i class="sprite sprite-visa"></i></li>
<li><i class="sprite sprite-diners"></i></li>
<li><i class="sprite sprite-elo"></i></li>
<li><i class="sprite sprite-hiper"></i></li>
<li><i class="sprite sprite-pagseguro"></i></li>
<li><i class="sprite sprite-boleto"></i></li>
</ul>
<ul class="certificados">
<li><i class="sprite sprite-vtex-pci"></i></li>
<li><i class="sprite sprite-google-safe-browser"></i></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container-fluid razao">
<div class="row">
<div class="col-12 col-md-6 cnpj">
<p>
Copyright &#9400; 2019 - Loja Sweeter Comércio Eletrônico | <span>CNPJ: 000.000.000/0001-00</span>
</p>
<p>
Rua 7 de Setembro, 3795 Centro - São Paulo/SP
</p>
</div>
<div class="col-12 col-md-6 desenvolvimento">
<a href="#" target="_blank">
<i class="sprite sprite-varejo-tech"></i>
</a>
<a href="#" target="_blank">
<i class="sprite sprite-vtex"></i>
</a>
<a href="https://digitalm3.com.br/" target="_blank">
<span>Developed by </span>
<i class="sprite sprite-m3"></i>
</a>
</div>
</div>
</div>
</section>

View File

@ -1,16 +0,0 @@
<header class="header-simples">
<div class="container-fluid">
<div class="row justify-content-between" >
<div class="col-12 col-sm-6">
<a href="/" class="logo">
<img src="/arquivos/template-logo.png" alt="VTEX"/>
</a>
</div>
<div class="col ">
<div class="compra-segura">
<span><i class="sprite sprite-cadeado"></i>Compra 100% segura</span>
</div>
</div>
</div>
</div>
</header>

View File

@ -1,5 +0,0 @@
<script crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/proxy-polyfill@0.3.1/proxy.min.js"
integrity="sha256-aRX3NIXjCxT51wF6s9KHLiFrf5E0n1YzvDLAMzeAVzA=" crossorigin="anonymous"></script>
<script src="/arquivos/template--main-bundle.js" async="async"></script>

View File

@ -1,6 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<head>
<meta name="page" content="erro" page-id="404" />
@ -8,10 +7,10 @@
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<vtex:template id="template-loads-header" />
<vtex:template id="template-loads-header" />
</head>
<body >
<body>
<vtex:template id="template-header" />
@ -26,7 +25,7 @@
<footer >
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />

View File

@ -1,6 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<head>
<meta name="page" content="erro" page-id="500" />
@ -8,23 +7,23 @@
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<vtex:template id="template-loads-header" />
<vtex:template id="template-loads-header" />
</head>
<body >
<body>
<vtex:template id="template-header" />
<main class="pagina-erro erro-500">
<h1>Algo deu errado.</h1>
<p>Sua solicitação não pode ser atendida devido a um erro inesperado.<br/> Tente novamente.</p>
<p>Sua solicitação não pode ser atendida devido a um erro inesperado.<br /> Tente novamente.</p>
<a href="/" class="voltar-para-home">voltar</a>
</main>
<footer >
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />

View File

@ -1,6 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<head>
<meta name="page" content="erro" page-id="busca-vazia" />
@ -8,10 +7,10 @@
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<vtex:metaTags />
<vtex:template id="template-loads-header" />
<vtex:template id="template-loads-header" />
</head>
<body >
<body>
<vtex:template id="template-header" />
@ -21,7 +20,7 @@
<a href="/" class="voltar-para-home">voltar</a>
</main>
<footer >
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />

View File

@ -1,6 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<head>
<meta name="page" content="categoria" page-id="categoria" />
@ -58,8 +57,7 @@
</button>
</div>
<div class="produtos-da-categoria">
<vtex.cmc:searchResult layout="46b0e7f2-15ee-4789-a75e-280e389d2b8f" itemCount="12"
columnCount="12" />
<vtex.cmc:searchResult layout="46b0e7f2-15ee-4789-a75e-280e389d2b8f" itemCount="12" columnCount="12" />
</div>
</div>
</div>

View File

@ -1,19 +1,22 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<head>
<meta name="page" content="home" page-id="homepage" />
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<section>
<!-- <div class="produtos-menu">
<head>
<meta name="page" content="home" page-id="homepage" />
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<section>
<!-- <div class="produtos-menu">
<vtex:contentPlaceHolder id="produtos-menu" />
</div> -->
<div class="banners-menu">
<vtex:contentPlaceHolder id="banners-menu" />
</div>
</section>
</body>
<div class="banners-menu">
<vtex:contentPlaceHolder id="banners-menu" />
</div>
</section>
</body>
</html>

View File

@ -1,55 +1,52 @@
<!DOCTYPE html>
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce"
lang="pt-br"
>
<head>
<meta name="page" content="institucional" page-id="institucional" />
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<vtex:metaTags />
<vtex:contentPlaceHolder id="htmlSeo" />
<title>Template</title>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<vtex:template id="template-loads-header" />
</head>
<head>
<meta name="page" content="institucional" page-id="institucional" />
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<vtex:metaTags />
<vtex:contentPlaceHolder id="htmlSeo" />
<title>Template</title>
<body>
<vtex:template id="template-header" />
<vtex:template id="template-loads-header" />
</head>
<main class="institucional container">
<div class="row">
<div class="col-12 breadcrumb">
<ul>
<li>
<a href="/">
Home
</a>
</li>
<li>
<span>
Institucional
</span>
</li>
</ul>
</div>
<div class="col-12 navegacao">
<vtex.cmc:navegacaoInstitucional />
</div>
<div class="col-12 conteudo">
<vtex:contentPlaceHolder id="texto-institucional" />
</div>
<body>
<vtex:template id="template-header" />
<main class="institucional container">
<div class="row">
<div class="col-12 breadcrumb">
<ul>
<li>
<a href="/">
Home
</a>
</li>
<li>
<span>
Institucional
</span>
</li>
</ul>
</div>
</main>
<div class="col-12 navegacao">
<vtex.cmc:navegacaoInstitucional />
</div>
<div class="col-12 conteudo">
<vtex:contentPlaceHolder id="texto-institucional" />
</div>
</div>
</main>
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />
</footer>
<vtex:template id="template-loads-footer" />
</body>
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />
</footer>
<vtex:template id="template-loads-footer" />
</body>
</html>

View File

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<head>
<meta name="page" content="login" page-id="login" />
<meta charset="utf-8" />
@ -12,7 +12,8 @@ xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<vtex:template id="template-loads-header" />
</head>
<body >
<body>
<vtex:template id="template-header" />
@ -20,16 +21,17 @@ xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<main class="login">
<section id="login-content" class="container">
<vtex.cmc:userLogin/>
<vtex.cmc:userLogin />
</section>
</main>
<footer >
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />
</footer>
<vtex:template id="template-loads-footer" />
</body>
</html>

View File

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<head>
<meta name="page" content="minhaConta" page-id="minha-conta" />
<meta charset="utf-8" />
@ -13,6 +13,7 @@ xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<link rel="stylesheet" href="/arquivos/template--user-pages.css" type="text/css" />
</head>
<body class="minha-conta">
<vtex:template id="template-header" />
@ -36,4 +37,5 @@ xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<script src="/arquivos/bootstrap.min.js"></script>
<vtex:template id="template-loads-footer" />
</body>
</html>

View File

@ -1,103 +1,96 @@
<!DOCTYPE html>
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:vtex="http://www.vtex.com.br/2009/vtex-common"
xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce"
lang="pt-br"
>
<head>
<meta name="page" content="produto" page-id="produto-padrao" />
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<vtex:metaTags />
<vtex:contentPlaceHolder id="htmlSeo" />
<title>Template</title>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br">
<vtex:template id="template-loads-header" />
</head>
<head>
<meta name="page" content="produto" page-id="produto-padrao" />
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<vtex:metaTags />
<vtex:contentPlaceHolder id="htmlSeo" />
<title>Template</title>
<body class="produto">
<vtex:template id="template-header" />
<vtex:template id="template-loads-header" />
</head>
<main class="produto">
<section class="container">
<div class="row">
<div class="col-12 breadcrumb">
<vtex.cmc:breadCrumb />
<body class="produto">
<vtex:template id="template-header" />
<main class="produto">
<section class="container">
<div class="row">
<div class="col-12 breadcrumb">
<vtex.cmc:breadCrumb />
</div>
</div>
<div class="row">
<div class="col-12 col-lg-7">
<div class="product-image">
<vtex.cmc:ProductImage />
</div>
</div>
<div class="row">
<div class="col-12 col-lg-7">
<div class="product-image">
<vtex.cmc:ProductImage />
<div class="col-12 col-lg-5">
<div class="product-info">
<h1 class="nome-produto" itemprop="name">
<vtex.cmc:productName />
</h1>
<div class="product-reference">
<span>REF.: </span>
<vtex.cmc:productReference />
</div>
</div>
<div class="col-12 col-lg-5">
<div class="product-info">
<h1 class="nome-produto" itemprop="name">
<vtex.cmc:productName />
</h1>
<div class="product-reference">
<span>REF.: </span>
<vtex.cmc:productReference />
</div>
<div class="moduloPreco"></div>
<div class="moduloAviseMe"></div>
<div class="moduloSkus"></div>
<div class="similares"></div>
<div class="moduloQuantidade"></div>
<div class="moduloBotaoDeCompra"></div>
<div class="moduloPreco"></div>
<div class="moduloAviseMe"></div>
<div class="moduloSkus"></div>
<div class="similares"></div>
<div class="moduloQuantidade"></div>
<div class="moduloBotaoDeCompra"></div>
<div class="compra-segura">
<p>
<span>compra segura</span
><i class="sprite sprite-cadeado"></i>
</p>
</div>
<div class="compra-segura">
<p>
<span>compra segura</span><i class="sprite sprite-cadeado"></i>
</p>
</div>
<div class="descricao-produto">
<a
href="#descricao-completa"
title="Descrição do Produto"
>
<i class="sprite sprite-arrow-down-pink"></i>
Descrição do produto
</a>
</div>
<div class="descricao-produto">
<a href="#descricao-completa" title="Descrição do Produto">
<i class="sprite sprite-arrow-down-pink"></i>
Descrição do produto
</a>
</div>
</div>
</div>
</section>
</div>
</section>
<section class="container">
<div class="row prateleira-de-produtos">
<div class="col-12">
<vtex:contentPlaceHolder id="prateleira-padrao" />
<section class="container">
<div class="row prateleira-de-produtos">
<div class="col-12">
<vtex:contentPlaceHolder id="prateleira-padrao" />
</div>
</div>
</section>
<section class="container">
<div id="descricao-completa" class="row">
<div class="col-12">
<h2>Descrição</h2>
<div class="descricao" itemprop="description">
<vtex.cmc:ProductDescription />
</div>
</div>
</section>
</div>
</section>
</main>
<vtex.cmc:dataLayerProduto />
<vtex.cmc:skuJson />
<section class="container">
<div id="descricao-completa" class="row">
<div class="col-12">
<h2>Descrição</h2>
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />
</footer>
<vtex:template id="template-loads-footer" />
</body>
<div class="descricao" itemprop="description">
<vtex.cmc:ProductDescription />
</div>
</div>
</div>
</section>
</main>
<vtex.cmc:dataLayerProduto />
<vtex.cmc:skuJson />
<footer>
<vtex:template id="template-footer-newsletter" />
<vtex:template id="template-footer-links" />
<vtex:template id="template-footer" />
</footer>
<vtex:template id="template-loads-footer" />
</body>
</html>

View File

@ -10,13 +10,13 @@
$product.HightLight
</span>
<span class="DiscountHightLight">
$product.DiscountHightLight
$product.DiscountHightLight
</span>
</div>
<div class="product-image ">
<a href="$uri" title=$escapedName>
<div class="foto-principal" >
<div class="foto-principal">
<div class="lazyload__sibling"></div>
<div class="lazyload" data-noscript="">
<noscript>
@ -24,7 +24,7 @@
</noscript>
</div>
</div>
<div class="foto-secundaria" >
<div class="foto-secundaria">
<div class="lazyload__sibling"></div>
<div class="lazyload" data-noscript="">
<noscript>
@ -40,19 +40,19 @@
$escapedName
</div>
</div>
#if ($product.IsInStock)
#if ($product.IsInStock)
<div class="disponivel">
<div class="price">
<div class="antigo">
#if ($product.HasBestPrice)
#if ($product.HasBestPrice)
<span class="value">
$product.ListPrice
</span>
#end
#end
</div>
<div class="principal">
<span class="value">
$product.BestPrice
$product.BestPrice
</span>
</div>
#if($product.NumbersOfInstallment > 1)

View File

@ -1,6 +1,6 @@
<header class="header">
<div class="container-fluid">
<div class="row justify-content-between" >
<div class="row justify-content-between">
<div class="col-12 col-sm-6">
<a href="/" class="logo">
<img src="/arquivos/logo.png" alt="Vest Rio">