vtex-home-page/meta/pages/home.js

284 lines
5.2 KiB
JavaScript

module.exports = {
contentPlaceHolders: [
{
id: "banners-principais-desktop",
objects: [
// cada objeto dento do array será um banner
{
type: "banner",
name: "Banner Principal Desktop 01",
contents: [
{
name: "Banner Principal Desktop 01",
active: true,
type: "image",
file: "banner-principal.png",
width: 1440,
height: 532,
// "category": "*",
// "brand": "*"
// "period": ""
},
],
},
{
type: "banner",
name: "Banner Principal Desktop 02",
contents: [
{
name: "Banner Principal Desktop 02",
active: true,
type: "image",
file: "slide-principal.png",
width: 1440,
height: 532,
// "category": "*",
// "brand": "*"
// "period": ""
},
],
},
{
type: "banner",
name: "Banner Principal Desktop 03",
contents: [
{
name: "Banner Principal Desktop 03",
active: true,
type: "image",
file: "banner-principal.png",
width: 1440,
height: 532,
// "category": "*",
// "brand": "*"
// "period": ""
},
],
},
{
type: "banner",
name: "Banner Principal Desktop 04",
contents: [
{
name: "Banner Principal Desktop 04",
active: true,
type: "image",
file: "slide-principal.png",
width: 1440,
height: 532,
// "category": "*",
// "brand": "*"
// "period": ""
},
],
},
],
},
{
id: "banners-principais-mobile",
objects: [
{
type: "banner",
name: "Banner Principal Mobile 01",
contents: [
{
name: "Banner Principal Mobile 01",
active: true,
type: "image",
file: "banner-principal-mobile.png",
width: 375,
height: 342,
// "category": "*",
// "brand": "*"
// "period": ""
},
],
},
{
type: "banner",
name: "Banner Principal Mobile 02",
contents: [
{
name: "Banner Principal Mobile 02",
active: true,
type: "image",
file: "slide-principal-mobile.png",
width: 375,
height: 342,
// "category": "*",
// "brand": "*"
// "period": ""
},
],
},
{
type: "banner",
name: "Banner Principal Mobile 03",
contents: [
{
name: "Banner Principal Mobile 03",
active: true,
type: "image",
file: "banner-principal-mobile.png",
width: 375,
height: 342,
// "category": "*",
// "brand": "*"
// "period": ""
},
],
},
{
type: "banner",
name: "Banner Principal Mobile 04",
contents: [
{
name: "Banner Principal Mobile 04",
active: true,
type: "image",
file: "slide-principal-mobile.png",
width: 375,
height: 342,
// "category": "*",
// "brand": "*"
// "period": ""
},
],
},
],
},
//====================
// MOSAICO
//====================
{
id: "banner-01",
objects: [
{
type: "banner",
name: "banner 01",
contents: [
{
name: "banner 01 content",
active: true,
type: "image",
file: "banner-01.png",
width: 500,
height: 500,
},
],
},
],
},
{
id: "banner-02",
objects: [
{
type: "banner",
name: "banner 02",
contents: [
{
name: "banner 02 content",
active: true,
type: "image",
file: "banner-02.png",
width: 500,
height: 500,
},
],
},
],
},
{
id: "banner-03",
objects: [
{
type: "banner",
name: "banner 03",
contents: [
{
name: "banner 03 content",
active: true,
type: "image",
file: "banner-03.png",
width: 500,
height: 500,
},
],
},
],
},
{
id: "banner-04",
objects: [
{
type: "banner",
name: "banner 04",
contents: [
{
name: "banner 04 content",
active: true,
type: "image",
file: "banner-04.png",
width: 500,
height: 500,
},
],
},
],
},
{
id: "banner-05",
objects: [
{
type: "banner",
name: "banner 05",
contents: [
{
name: "banner 05 content",
active: true,
type: "image",
file: "banner-05.png",
width: 500,
height: 500,
},
],
},
],
},
{
id: "mobile-banner-05",
objects: [
{
type: "banner",
name: "banner 05 mobile",
contents: [
{
name: "banner 05 mobile content",
active: true,
type: "image",
file: "banner-05.png",
width: 500,
height: 500,
},
],
},
],
},
{
id: "prateleira-01",
objects: [
{
type: "Produtos Relacionados",
name: "CONFIRA NOSSAS NOVIDADES", //titulo do "carousel"/prateleira
properties: {
layout: "bernardo-prateleira-padrao", // mesmo nome do arquivo em template-prateleira
type: "QuemViuViuTambem",
"number-of-columns": 12,
"number-of-items": 12,
},
},
],
},
],
};