templates/pages/project/section/single-project-tablet.html.twig line 1

Open in your IDE?
  1. <div id="single-project-tablet" class="page--mainwrap p-0 slideJs single-project single-project-tablet">
  2.     <div class="page--mainwrap-header">
  3.         <h3 class="page--mainwrap-header-heading">{{ "Project details"|trans|upper }}</h3>
  4.         <hr>
  5.         {% include 'layouts/block/breadcrumbs.html.twig' %}
  6.     </div>
  7.     <div class="page--mainwrap-content">
  8.         <div class="page--mainwrap-content-desc single-project--content-desc">
  9.             <h3 class="single-project--content-desc-title txt--label">{{ project.name }}</h3>
  10.             <div class="single-project--content-desc-txt">
  11.                 {{ project.description|raw }}
  12.             </div>
  13.         </div>
  14.         <div class="single-project--content-menus">
  15.             <div class="single-project--content-menus-item">
  16.                 <h3 class="single-project--content-menus-item-title mobileview--toggler toggler--subtitle txt--label">{{ "Project details"|trans }}
  17.                     <span class="mobileview--caretdown toggler--caretdown"><i class="fas fa-caret-down"></i></span></h3>
  18.                 <div class="single-project--content-menus-item-txt mobileview--toggled-content toggler--list collapse show">
  19.                     <ul>
  20.                         {% if project.kindProject  %}<li>{{ "Sector"|trans|raw }}:<a href="{{ path('pages_projects_filter_by_kind_project', { _locale:  currentLocale, kindProjectSlug: project.kindProject.slug }) }}"> {{ project.kindProject|raw }}</a></li>{% endif %}
  21.                         {% if project.architect  %}
  22.                             <li>
  23.                                 {% if project.websiteArchitect  %}
  24.                                     {{ "Architect"|trans|raw }}: <a href=" {{ project.websiteArchitect }}" target="_blank">{{ project.architect|raw }}</a>
  25.                                 {% else %}
  26.                                     {{ "Architect"|trans|raw }}: {{ project.architect|raw }}
  27.                                 {% endif %}
  28.                             </li>
  29.                         {% endif %}
  30.                         {% if project.country  %}
  31.                             {% set alpha = project.country.alpha2 %}
  32.                             <li>{{ "Country"|trans|raw }}: {{ alpha|country_name|raw }}</li>
  33.                         {% endif %}
  34.                         {% if project.photography %}<li>{{ "Photography"|trans|raw }}: {{ project.photography|raw }}</li>{% endif %}
  35.                         {% if project.installation %}<li>{{ "Installation"|trans|raw }}: {{ project.installation|raw }}</li>{% endif %}
  36.                     </ul>
  37.                 </div>
  38.             </div>
  39.             <div class="single-project--content-menus-item">
  40.                 <h3 class="single-project--content-menus-item-title mobileview--toggler toggler--subtitle txt--label">{{ "Flooring details"|trans }}
  41.                     <span class="mobileview--caretdown toggler--caretdown"><i class="fas fa-caret-down"></i></span></h3>
  42.                 <div class="single-project--content-menus-item-txt mobileview--toggled-content toggler--list collapse">
  43.                     <ul>
  44.                         <li>
  45.                             {{ project.products|length > 1 ? "Products"|trans|raw : "Product"|trans|raw }}:
  46.                             {% for product in project.products %}
  47.                                 <a href="{{ path('pages_product_details', { _locale:  currentLocale, 'collectionSlug': product.collection.slug, 'slug': product.slug, 'id': product.id }) }}">
  48.                                     {{ product.name }}
  49.                                 </a>
  50.                                 {{ loop.last ? '' : ',' }}
  51.                             {% endfor %}
  52.                         </li>
  53.                         {% if project.areaM > 1 %}
  54.                             {% set areaM = project.areaM %}
  55.                             {% set areaF = areaM * 10.764 %}
  56.                             <li>{{ "Surface"|trans }}: {{ areaM|format_number }} ㎡ - {{ areaF|format_number }} ft²</li>
  57.                         {% endif %}
  58.                         <li>{{ project.shapes|length > 1 ? "Shapes"|trans : "Shape"|trans }}:
  59.                             {% for shape in project.shapes %}
  60.                                 <a href="{{ path('pages_2tec2Play_index', { _locale:  currentLocale }) }}">
  61.                                     {{ shape.name|trans }}
  62.                                 </a>
  63.                                 {{ loop.last ? '' : '•' }}
  64.                             {% endfor %}
  65.                         </li>
  66.                     </ul>
  67.                 </div>
  68.             </div>
  69.             {% if project is defined %}
  70.                 <div class="single-project--content-menus-item">
  71.                     <h3 class="single-project--content-menus-item-title mobileview--toggler toggler--subtitle txt--label">{{ "Thumbnails"|trans }}
  72.                         <span class="mobileview--caretdown toggler--caretdown"><i class="fas fa-caret-down"></i></span></h3>
  73.                     <div class="single-project--content-magnets mobileview--toggled-content toggler--list collapse">
  74.                         <div class="single-project--content-magnets-container scrollableDiv scrollableX">
  75.                             <div class="scrollableX-content">
  76.                                 {% for key, img in project.attachmentsFile['urls'] %}
  77.                                     <div class="single-project--content-magnets-container-img">
  78.                                         <picture>
  79.                                             <source srcset="{{ img['webp']['thumb_180x180'] }}" type="image/webp">
  80.                                             <source srcset="{{ img['jpg']['thumb_180x180'] }}" type="image/jpeg">
  81.                                             <img src="{{ img['jpg']['thumb_180x180'] }}" alt="{{ project.name }} photo">
  82.                                         </picture>
  83.                                     </div>
  84.                                 {% endfor %}
  85.                             </div>
  86.                         </div>
  87.                     </div>
  88.                 </div>
  89.             {% endif %}
  90.         </div>
  91.         <div class="page--mainwrap-content-button single-project--content-button d-flex justify-content-center mt-2">
  92.             <div class="d-flex justify-content-between col-12 p-0">
  93.                 <a rel="canonical" href="{{ path("pages_3d_simulation_index", { _locale: currentLocale }) }}" class="cta-button btn page-btn">
  94.                     {{ include('layouts/buttons/2tec2_3d_simulation.html.twig') }}
  95.                     {{ "3D Simulation" | trans }}
  96.                 </a>
  97.             </div>
  98.             <div class="d-flex justify-content-center col-12 p-0">
  99.                 <a href="" class="add-project-to-download cta-button btn page-btn" data-project="{{ project.id }}">
  100.                     {{ include('layouts/buttons/2tec2_uploads.html.twig') }}
  101.                     {{ 'Images'|trans }}
  102.                 </a>
  103.             </div>
  104.         </div>
  105.     </div>
  106.     <div class="page--mainwrap-arrow slideArrow">
  107.         <img src="{{ asset('build/icon/2tec2_arrow_bottom_black.svg') }}" alt="{{ 'caret down icon' | trans }}">
  108.     </div>
  109. </div>
  110. <div class="page--subwrap p-0 carouselLgDiv single-project-tablet">
  111.     <div class="page--subwrap-carousel-lg carouselLg carouselDiv carouselLg-alts">
  112.     </div>
  113. </div>