Skip to content

Instantly share code, notes, and snippets.

@innabelaya
Created November 16, 2017 14:29
Show Gist options
  • Save innabelaya/d9886223909f269ab8ebd1c8ce473aba to your computer and use it in GitHub Desktop.
Save innabelaya/d9886223909f269ab8ebd1c8ce473aba to your computer and use it in GitHub Desktop.
module.exports = {
block: 'page',
title: 'Title of the page',
favicon: '/favicon.ico',
head: [
{ elem: 'meta', attrs: { name: 'description', content: '' }},
{ elem: 'css', url: 'index.min.css' }
],
scripts: [{ elem: 'js', url: 'index.min.js' }],
content: [
{
block: 'head',
content: {
block: 'layout',
content: [
{
elem: 'left',
content: [
{
block: 'input',
name: 'text',
val: 'Find'
},
{
block: 'button',
mods: { type: 'submit' },
content: 'Search'
}
]
},
{
elem: 'right',
content: {
block: 'logo',
content: [
{
block: 'image',
url: 'http://varya.me/online-shop-dummy/desktop.blocks/b-logo/b-logo.png'
},
{
elem: 'slogan',
content: 'A new way of thinking'
}
]
}
}
]
}
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment