Skip to content

Instantly share code, notes, and snippets.

@did
Created January 20, 2017 09:17
Show Gist options
  • Save did/9b3fb8edb5a535523ac4e8d73f710c30 to your computer and use it in GitHub Desktop.
Save did/9b3fb8edb5a535523ac4e8d73f710c30 to your computer and use it in GitHub Desktop.
{
"label": "Page d'accueil",
"handle": "home",
"sections": [
{
"id": "main",
"name": "Main",
"position": 1,
"blocks": [
{
"id": "carousel",
"name": "Carousel",
"settings": [
{
"id": "slides",
"name": "Slides",
"type": "list",
"settings": [
{
"id": "title",
"name": "Title",
"type": "string",
"default": "Slide"
},
{
"id": "link",
"name": "Link",
"type": "link",
"default": ""
},
{
"id": "subTitle",
"name": "Subtitle",
"type": "text",
"default": "description goes here"
},
{
"id": "price",
"name": "Price",
"type": "string",
"default": "$42.00"
},
{
"id": "background",
"name": "Background image",
"type": "image",
"default": "https://placehold.it/1950x400"
}
],
"default": [
{
"title": "Slide #1",
"subTitle": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ac consequat augue. Duis ac iaculis dolor, id pulvinar diam.",
"price": "$42.00",
"background": "https://placehold.it/1950x400"
},
{
"title": "Slide #2",
"subTitle": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ac consequat augue. Duis ac iaculis dolor, id pulvinar diam.",
"price": "$42.00",
"background": "https://placehold.it/1950x400"
},
{
"title": "Slide #3",
"subTitle": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ac consequat augue. Duis ac iaculis dolor, id pulvinar diam.",
"price": "$42.00",
"background": "https://placehold.it/1950x400"
}
]
}
]
},
{
"id": "text",
"name": "Text (Markdown)",
"settings": [
{
"id": "text",
"name": "Text",
"type": "markdown",
"default": "##Title\nLorem ipsum"
}
]
},
{
"id": "text_image",
"name": "Text + Image",
"settings": [
{
"id": "title",
"name": "Text (right)",
"type": "string",
"default": "Title"
},
{
"id": "subTitle",
"name": "Subtitle",
"type": "string",
"default": "Subtitle goes here"
},
{
"id": "button",
"name": "Button",
"type": "string",
"default": "Button"
},
{
"id": "link",
"name": "Link",
"type": "link",
"default": "#"
},
{
"id": "background",
"name": "Background",
"type": "image",
"default": "https://placehold.it/1950x400"
}
]
},
{
"id": "vignettes",
"name": "Vignettes",
"settings": [
{
"id": "title",
"name": "Section title",
"type": "string",
"default": "Default vignettes title"
},
{
"id": "list",
"name": "Vignettes",
"type": "list",
"settings": [
{
"id": "title",
"name": "Title",
"type": "string",
"default": "Vignette title"
},
{
"id": "link",
"name": "Link (Product/Taxon/URL)",
"type": "link",
"default": "#"
},
{
"id": "image",
"name": "Image",
"type": "image",
"default": "https://placehold.it/246x246"
}
],
"default": [
{
"title": "Vignette 1",
"link": "#",
"image": "https://placehold.it/246x246"
},
{
"title": "Vignette 2",
"link": "#",
"image": "https://placehold.it/246x246"
},
{
"title": "Vignette 3",
"link": "#",
"image": "https://placehold.it/246x246"
},
{
"title": "Vignette 4",
"link": "#",
"image": "https://placehold.it/246x246"
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment