templates/content/home.html.twig line 1

Open in your IDE?
  1. {% extends 'app/layout.html.twig' %}
  2. {% block content %}
  3.     {# template design: https://projects.invisionapp.com/d/main#/console/21605959/457034521/preview #}
  4.     {{ pimcore_area('hero-large', {
  5.         type: 'hero-large-brick',
  6.         params: {
  7.             'hero-large-brick': {
  8.                 brickBackgroundColor: 'bg-blue-200',
  9.             }
  10.         }
  11.     }) }}
  12.     {{ pimcore_area('product-trending-1', {
  13.         type: 'product-trending-brick',
  14.         params: {
  15.             'product-trending-brick': {
  16.                 brickBackgroundColor: 'bg-blue-200',
  17.                 defaultInverted: true,
  18.             }
  19.         }
  20.     }) }}
  21.     {# Loading the first text-image block with a specific layout type using defaultInverted.
  22.        This functions as a default for the layout option.
  23.        Can be overriden in the editor itself. #}
  24.     {{ pimcore_area('content-brick-1', {
  25.         type: 'content-brick',
  26.         params: {
  27.             'content-brick': {
  28.                 brickBackgroundColor: 'bg-white',
  29.                 defaultInverted: true,
  30.             }
  31.         }
  32.     }) }}
  33.     {{ pimcore_area('sector-solutions', {
  34.         type: 'sector-solutions-cards-brick',
  35.         params: {
  36.             'sector-solutions-cards-brick': {
  37.                 brickBackgroundColor: 'bg-blue-200',
  38.             }
  39.         }
  40.     }) }}
  41.     {{ pimcore_area('hero-projects-with-text-and-button', {
  42.         type: 'hero-projects-with-text-and-button-brick',
  43.     }) }}
  44.     {{ pimcore_area('content-brick-2',{
  45.         type: 'content-brick',
  46.         params: {
  47.             'content-brick':{
  48.                 brickBackgroundColor: 'bg-blue-200',
  49.             }
  50.         }
  51.     })
  52.     }}
  53.     {{ pimcore_area('testimonial', {
  54.         type: 'testimonial-brick',
  55.         params: {
  56.             'testimonial-brick': {
  57.                 brickBackgroundColor: 'bg-white',
  58.             }
  59.         }
  60.     }) }}
  61.     {{ pimcore_area('content-brick-3', {
  62.         type: 'content-brick',
  63.         params: {
  64.             'content-brick': {
  65.                 brickBackgroundColor: 'bg-blue-200',
  66.             }
  67.         }
  68.     }) }}
  69.     {{ pimcore_area('contact-side-widget', {
  70.         type: 'contact-side-widget-brick'
  71.     }) }}
  72. {% endblock %}