Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 28, 2018 11:04
Show Gist options
  • Save ItsReaSz/68e90a2de32599da98655e6d3e5f77ba to your computer and use it in GitHub Desktop.
Save ItsReaSz/68e90a2de32599da98655e6d3e5f77ba to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Slogan hero with Twitter tags"
},
"description": {
"en-GB": "Hero with promotional slogan and optional twitter hashtags"
},
"template": "containers/media/hero/hero-slogan-twitter.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"data": {
"control": "project/model/media",
"value": {
"adapter": "SCR",
"model": "media",
"id": "967af8af-892d-42c6-9d93-454c2813b925"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "figure",
"control": "project/container_tag"
},
"crown": {
"value": "",
"control": "project/crown"
},
"leader": {
"value": "",
"control": "project/leader"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"section_link": {
"value": {
"page": "about-cta",
"id": ""
},
"label": {
"en-GB": "Hero link"
},
"control": "core/route"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Slogan"
},
"description": {
"en-GB": "Slogan"
},
"template": "modules/global/teaser-slogan/teaser-slogan-twitter.html.twig",
"template_config": {
"slogan": {
"label": {
"en-GB": "Slogan"
},
"controls": {
"image": {
"control": "project/slogan"
},
"alt": {
"label": {
"en-GB": "Alternative text"
},
"value": {
"en-GB": "Seeding Innovation, Harvesting Prosperity",
"fr-FR": "Seeding Innovation, Harvesting Prosperity"
},
"control": "core/text"
},
"hashtag": {
"label": {
"en-GB": "Hashtag"
},
"value": [
{
"en-GB": "EDD18",
"fr-FR": "EDD18"
},
{
"en-GB": "SheIsWe",
"fr-FR": "SheIsWe"
}
],
"control": "core/text",
"repeatable": true
},
"backdrop": {
"label": {
"en-GB": "Show backdrop"
},
"value": 0,
"control": "project/show"
}
}
}
},
"frontender": "e9bd731f8df60df147040070a4f25f54"
}
],
"frontender": "61403a2c57fbbffd63e684a789f60583"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment