templates/website/pages/contact.html.twig line 1

Open in your IDE?
  1. {% extends 'website/base.html.twig' %}
  2. {% block title %}Contact{% endblock %}
  3. {% block body %}
  4.     <section class="position-relative bg-fit overlay-black-50 page-header-bg">
  5.         <div class="position-absolute" style="right: 0;
  6.         background-color: white;
  7.   bottom: 0;
  8.   z-index: -1;
  9.   min-width: 100%;
  10.   min-height: 100%;">
  11.             <video autoplay muted loop playsinline>
  12.                 <source src="{{ asset('assets/images/background/hero-section.webm') }}" type="video/webm">
  13.                 Your browser does not support the video tag.
  14.             </video>
  15.         </div>
  16.         <div class="container">
  17.             <div class="row text-center justify-content-center">
  18.                 <div class="col-lg-8">
  19.                     <h1 class="text-white">Contact Me</h1>
  20.                     <h2 class="scroll-down"></h2>
  21.                 </div>
  22.             </div>
  23.         </div>
  24.     </section>
  25.     <section class="slice-pt">
  26.         <div class="container">
  27.             <div class="row">
  28.                 <div class="col-lg-6">
  29.                     <!--===== Start of left =====-->
  30.                     <span class="display-5 text-primary-gradient d-block mb-4">Shima Amini</span>
  31.                     <span class="display-5 text-primary-gradient">
  32.                     </span>
  33.                     <div class="pricing-list list-style-02 mb-4">
  34.                         <div class="row">
  35.                             <div class="col-lg-6 mt-4">
  36.                                 <h4>Address </h4>
  37.                                 <p class="h6">UK</p>
  38.                             </div>
  39.                             <div class="col-lg-6 mt-4">
  40.                                 <h4>Email </h4>
  41.                                 <a class="mb-0" style="color: #000" href="mail:shima.aminii1998@gmail.com">shima.aminii1998@gmail.com</a>
  42.                             </div>
  43.                         </div>
  44.                     </div>
  45.                     <!--===== End of left =====-->
  46.                 </div>
  47.                 <div class="col-lg-5 offset-lg-1">
  48.                     <div class="p-4 p-md-5 shadow mt-5 border rounded">
  49.                         <!--===== Start of form =====-->
  50.                         <form class="form-light" method="POST" action="{{ path('website.consult.new') }}">
  51.                             <div class="form-floating mb-3">
  52.                                 <input type="text" class="form-control" name="fullname" placeholder="Your name"
  53.                                        required>
  54.                                 <label>Fullname</label>
  55.                             </div>
  56.                             <div class="form-floating mb-3">
  57.                                 <input type="text" class="form-control" name="email" placeholder="info@mail.com"
  58.                                        required>
  59.                                 <label>Your mail</label>
  60.                             </div>
  61.                             <div class="form-floating mb-3">
  62.                                 <textarea class="form-control" name="description" required placeholder="Your message"
  63.                                           rows="3"></textarea>
  64.                                 <label>Your message</label>
  65.                             </div>
  66.                             <div class="d-grid">
  67.                                 <button type="submit" class="btn btn-warning btn-rounded">Get in touch</button>
  68.                             </div>
  69.                         </form>
  70.                         {% if message %}
  71.                         <div class="row">
  72.                             <div class="col-12">
  73.                                 <span style="color: {% if message.status ==1 %}green{% else %}red{% endif %}">{{ message.text }}</span>
  74.                             </div>
  75.                         </div>
  76.                         {% endif %}
  77.                         <!--===== End of form =====-->
  78.                     </div>
  79.                 </div>
  80.             </div>
  81.         </div>
  82.     </section>
  83. {% endblock %}