templates/areas/wysiwyg/view.html.twig line 1

Open in your IDE?
  1. <div class="{% if pimcore_select("padding").getData() == "default" %} content-block
  2.             {% elseif pimcore_select("padding").getData() == "no-top" %} content-block-no-top
  3.             {% elseif pimcore_select("padding").getData() == "no-bottom" %} content-block-no-bottom
  4.             {% endif %} content-block--bg-{{ pimcore_select('background').getData() ?? 'none' }}">
  5.             <div class="container-fluid px-lg-0">
  6.                 <div class="row">
  7.                     <div class="col-lg-10 offset-lg-1">
  8.                         {% if editmode %}
  9.                             <div class="ntr-editor-bar">
  10.                             {{ pimcore_select("background", {
  11.                                 "store": [
  12.                                     ["none", "Geen achtergrond"],
  13.                                     ["light", "Lichte achtergrond"],
  14.                                 ],
  15.                                 "defaultValue" : "none",
  16.                                 "reload": true
  17.                             }) }}
  18.                             {{ pimcore_select("padding", {
  19.                                 "store": [
  20.                                     ["default", "Grote spacing"],
  21.                                     ["none", "geen spacing"],
  22.                                     ["no-top", "geen spacing top"],
  23.                                     ["no-bottom", "geen spacing bottom"],
  24.                                 ],
  25.                                 "defaultValue" : "default",
  26.                                 "reload": true
  27.                             }) }}
  28.                             {{ pimcore_select("position", {
  29.                                 "store": [
  30.                                     ["start", "Uitlijning - links"],
  31.                                     ["center", "Uitlijning - center"],
  32.                                     ["end", "Uitlijning - rechts"],
  33.                                 ],
  34.                                 "defaultValue" : "start",
  35.                                 "reload": true
  36.                             }) }}
  37.                             {{ pimcore_select("container", {
  38.                                 "store": [
  39.                                     ["8", "Container - standaard"],
  40.                                     ["12", "Container - groot"],
  41.                                 ],
  42.                                 "defaultValue" : "8",
  43.                                 "reload": true
  44.                             }) }}
  45.                             </div>
  46.                         {% endif %}
  47.                         <div class="row
  48.                               {% if pimcore_select("position").getData() == "start" %} justify-content-start
  49.                                         {% elseif pimcore_select("position").getData() == "center" %} justify-content-center
  50.                                         {% elseif pimcore_select("position").getData() == "end" %} justify-content-end
  51.                                         {% endif %}
  52.                             ">
  53.                             <div class="{% if pimcore_select("container").getData() == "8" %} col-lg-8
  54.                                         {% elseif pimcore_select("container").getData() == "12" %} col-lg-12
  55.                                         {% endif %}
  56.                                         ">
  57.                                 <div class="
  58.                                         {% if pimcore_select("position").getData() == "start" %} justify-content-start text-start
  59.                                         {% elseif pimcore_select("position").getData() == "center" %} justify-content-center text-center
  60.                                         {% elseif pimcore_select("position").getData() == "end" %} justify-content-end text-end
  61.                                         {% endif %}
  62.                                         ">
  63.                                         {{  pimcore_wysiwyg("blockContent", {
  64.                                             "height": 300,
  65.                                             "placeholder": 'Your text...',
  66.                                             "stylesSet": [
  67.                                                 {name: 'Button (donker)', element: 'a', attributes: {'class': 'btn btn-dark'} },
  68.                                                 {name: 'Button (licht)', element: 'a', attributes: {'class': 'btn btn-outline-dark'} }
  69.                                             ]
  70.                                         })
  71.                                         }}
  72.                                 </div>
  73.                             </div>
  74.                         </div><!--/ .row -->
  75.                     </div>
  76.                 </div><!--/ .row -->
  77.             </div><!--/ .container-fluid -->
  78. </div>
  79. {#
  80. <div class="row">
  81.     <div class="col-md-5">
  82.         <h1 class="rich--content--title">Bij GC Architecten <br> kom je thuis.</h1>
  83.         <p class="rich--content--text">
  84.             Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
  85.             incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
  86.             exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
  87.             dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
  88.             Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
  89.             mollit anim id est laborum. Sed ut ipsa quae ab illo inventore veritatis et quasi
  90.             architecto vitae dicta sunt explicabo.
  91.         </p>
  92.         <a href="" class="btn btn-dark text-uppercase">Stuur ons een aanvraag.</a>
  93.     </div>
  94.     <div class="col-md-6 offset-md-1 mobile__padding">
  95.         <div class="row justify-content-end">
  96.             <img class="img-fluid col-8" src="{{ asset('/img/img_home_vertical.jpg') }}" alt="">
  97.         </div>
  98.         <div class="row rich--content--landscape">
  99.             <img class="img-fluid col-8" src="{{ asset('/img/img_home_landscape.jpg') }}" alt="">
  100.         </div>
  101.     </div>
  102. </div>
  103. <div class="row">
  104.     <div class="col-md-5">
  105.         <div class="row ">
  106.             <img class="img-fluid" src="{{ asset('/img/img_home_landscape_team.jpg') }}" alt="">
  107.             <div class="d-flex justify-content-end">
  108.                 <img class="img-fluid col-8 col-md-5 rich--content--vertical" src="{{ asset('/img/img_home_vertical_team.jpg') }}" alt="">
  109.             </div>
  110.         </div>
  111.     </div>
  112.     <div class="col-md-6 offset-md-1">
  113.         <h1 class="rich--content--title">Een expertteam in <br> elke architectuur.</h1>
  114.         <p class="rich--content--text">
  115.             Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
  116.             incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
  117.             exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
  118.             dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
  119.             Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
  120.             mollit anim id est laborum. Sed ut ipsa quae ab illo inventore veritatis et quasi
  121.             architecto vitae dicta sunt explicabo.
  122.         </p>
  123.         <a href="" class="btn btn-dark text-uppercase">Bekijk de expertises van GC architecten.</a>
  124.     </div>
  125. </div>
  126. #}