Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 28, 2018 10:12
Show Gist options
  • Save ItsReaSz/62b3aa54e5e41320f126db478a7a5fc4 to your computer and use it in GitHub Desktop.
Save ItsReaSz/62b3aa54e5e41320f126db478a7a5fc4 to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Video and testimonial"
},
"description": {
"en-GB": "Video and testimonial"
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "section",
"control": "project/container_tag"
},
"wings": {
"value": "",
"control": "project/wings"
},
"leader": {
"value": "",
"control": "project/leader"
},
"leader_inside": {
"value": "",
"control": "project/leader_inside"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"trailer_inside": {
"value": "trailer-inside--hero",
"control": "project/trailer_inside"
},
"divider": {
"value": "divider divider--top",
"control": "project/divider"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Header"
},
"description": {
"en-GB": ""
},
"template": "containers/global/container-header/container-header.html.twig",
"template_config": {
"labels": {
"label": {
"en-GB": "Content"
},
"controls": {
"container_title": {
"value": {
"en-GB": "Title",
"fr-FR": "Tître"
},
"label": {
"en-GB": "Container title"
},
"control": "core/text"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"wings": {
"value": "",
"control": "project/wings"
},
"show_margins": {
"value": "",
"control": "project/layout/show_margins"
},
"show_smaller_title": {
"value": 0,
"label": {
"en-GB": "Show small title"
},
"control": "core/boolean"
},
"container_class": {
"value": "layout--narrow leader-inside--hero | trailer",
"control": "project/container_class"
},
"container_tag": {
"value": "header",
"control": "project/container_tag"
}
}
}
},
"frontender": "c39bcfb84d2b9acbdb0945a671d11eab"
},
{
"name": {
"en-GB": "Body"
},
"description": {
"en-GB": ""
},
"template": "containers/global/testimonial-with-video/testimonial-with-video.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"
}
}
}
},
"content": {
"label": {
"en-GB": "Content"
},
"controls": {
"link": {
"value": {
"label": {
"en-GB": "Watch the video",
"fr-FR": "Regardez le vidéo"
},
"page": {
"en-GB": "https://vimeo.com/91156049",
"fr-FR": "https://vimeo.com/91156049"
},
"id": ""
},
"label": {
"en-GB": "Panel link"
},
"control": "core/route"
},
"testimonial": {
"value": {
"body": {
"en-GB": "I gained a lot in terms of self-confidence. I learnt so many tools that make my work more effective. In future I will be able to do more for the young people than I am doing now.",
"fr-FR": "I gained a lot in terms of self-confidence. I learnt so many tools that make my work more effective. In future I will be able to do more for the young people than I am doing now."
},
"source": {
"en-GB": "Yagoub Husna, CTA Data assistant",
"fr-FR": "Yagoub Husna, CTA Data assistant"
}
},
"control": "project/testimonial"
},
"video": {
"value": {
"url": {
"en-GB": "https://player.vimeo.com/video/91156049",
"fr-FR": "https://player.vimeo.com/video/91156049"
},
"query_path": {
"en-GB": "?color=ffffff%26byline=0",
"fr-FR": "?color=ffffff%26byline=0"
}
},
"control": "project/vimeo"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "article",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"layout": {
"value": "layout layout--even",
"label": {
"en-GB": "Layout"
},
"control": "core/hidden"
},
"show_secondary_first": {
"value": 0,
"control": "project/layout/show_secondary_first"
},
"show_divider": {
"value": 0,
"control": "core/hidden"
},
"show_narrow": {
"value": 1,
"control": "core/hidden"
},
"show_outer_wing": {
"value": 1,
"control": "core/hidden"
}
}
}
},
"frontender": "a83f3bb34eb609538353e30f509e37f0"
}
],
"frontender": "d1f1da4d0915fbf3d2222b7026fd8319"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment