templates/contact/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block head %}
  3.     {{ parent() }}
  4.     <meta name="description" content="{{ 'CONTACT_META_DESCRIPTION'|trans}}">
  5.     <meta name="keywords" content="{{ 'CONTACT_META_KEYWORDS'|trans}}">
  6. {% endblock %}
  7. {% block title %}{{ 'CONTACT_META_TITLE'|trans }}{% endblock %}
  8. {% block body %}
  9. <main>
  10.     <section class="komili-blog-detail">
  11.         <div class="komili-wrapper">
  12.             <div class="komili-blog-detail-box">
  13.                 <div class="komili-blog-detail-box-grid">
  14.                     <div class="text">
  15.                         <h1 class="bold text-color-p mb-24"></h1>
  16.                         <p class="bold">Elleair International Turkey Kişisel Bakım Ürünleri Üretim Anonim Şirketi</p>
  17.                         <p>{{ 'ADDRESS: '|trans }}<br>
  18.                             Balçık Mahallesi Pelitli Yolu Caddesi No:138/1/1 Gebze-Kocaeli</p>
  19.                         {% if errorMessage %}
  20.                             <p style="color: red">{{ errorMessage }}</p>
  21.                         {% endif %}
  22.                         {% if successMessage %}
  23.                             <p style="color: green">{{ successMessage }}</p>
  24.                         {% endif %}
  25.                         <form action="{{ path('contact') }}" method="post">
  26.                             <div class="mb-24">
  27.                                 <label for="full_name" class="form-label" {% if fullName %}style="color: red"{% endif %}>{{ 'FULL_NAME'|trans }}</label>
  28.                                 <input type="text" name="full_name" value="{{ values ? values['full_name'] : ''}}" class="form-input w-100">
  29.                                 {% if fullName %}<p style="color: red">{{ fullName }}</p>{% endif %}
  30.                             </div>
  31.                             <div class="mb-24">
  32.                                 <label for="email" class="form-label" {% if email %}style="color: red"{% endif %}>{{ 'EMAIL'|trans }}</label>
  33.                                 <input type="text" name="email" value="{{ values ? values['email'] : ''}}" class="form-input w-100">
  34.                                 {% if email %}<p style="color: red">{{ email }}</p>{% endif %}
  35.                             </div>
  36.                             <div class="mb-24">
  37.                                 <label for="subject" class="form-label" {% if subject %}style="color: red"{% endif %}>{{ 'SUBJECT'|trans }}</label>
  38.                                 <input type="text" name="subject" value="{{ values ? values['subject'] : ''}}" class="form-input w-100">
  39.                                 {% if subject %}<p style="color: red">{{ subject }}</p>{% endif %}
  40.                             </div>
  41.                             <div class="mb-24">
  42.                                 <label for="message" class="form-label" {% if message %}style="color: red"{% endif %}>{{ 'MESSAGE'|trans }}</label>
  43.                                 <textarea name="message" class="form-textarea w-100">{{ values ? values['message'] : ''}}</textarea>
  44.                                 {% if message %}<p style="color: red">{{ message }}</p>{% endif %}
  45.                             </div>
  46.                             <button class="btn color-p" type="submit">{{ 'SEND'|trans }}</button>
  47.                         </form>
  48.                     </div>
  49.                     <div class="video-wrapper">
  50.                         <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1508.8301510715166!2d29.435276679047632!3d40.85738139458354!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14cb270db6eaf731%3A0x67c47a86d66e3cf5!2zRWxsZWFpciBJbnRlcm5hdGlvbmFsIFR1cmtleSBLacWfaXNlbCBCYWvEsW0gw5xyw7xubGVyaSDDnHJldGltIEEuxZ4u!5e0!3m2!1sen!2str!4v1644494043534!5m2!1sen!2str" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
  51.                     </div>
  52.                 </div>
  53.             </div>
  54.         </div>
  55.     </section>
  56. </main>
  57. {% endblock %}