templates/Theme/Produit/Service/Service/contacts.html.twig line 1

Open in your IDE?
  1. {% extends "Theme/Users/User/layoutbase.html.twig" %}
  2. {% block meta %}
  3.     {{ parent() }}
  4.     <meta name="keywords" content="{{ site }}, "/>
  5.     <meta name="author" content="Noel Kenfack"/>
  6.     <meta name="description" content="{{ site }}" />
  7. {% endblock %}
  8. {% block title %}
  9.     {{ parent() }} - Contacts
  10. {% endblock %}
  11. {% block userblog_body %}
  12.   <style>
  13.     .content{
  14.         background-color: #268dcf;
  15.     }
  16.   .wrap {
  17.         padding-top: 8px;
  18.         padding-bottom: 8px;
  19.         box-shadow: 0 5px 5px #fff;
  20.     }
  21.     .breadcrumb {
  22.         width: 100%;
  23.         margin: auto;
  24.         display: flex;
  25.     }
  26.     .breadcrumb li {
  27.         padding: 0 20px;
  28.     }
  29.     .breadcrumb a {
  30.         text-decoration: none;
  31.         color: aliceblue;
  32.         font-weight: 700;
  33.         transition: 0.5s;
  34.     }
  35.     .breadcrumb li + li {
  36.         padding-left: 0;
  37.     }
  38.     .breadcrumb li + li:before {
  39.         content: '>';
  40.         color: #3b3b3bff;
  41.         margin-right: 20px;
  42.     }
  43.     .breadcrumb li:last-child a,
  44.     .breadcrumb a:hover {
  45.         color: #e2ebf3;
  46.         border-radius: 35px;
  47.         background-color: #82ccdd;
  48.         padding: 5px 10px;
  49.     }
  50.     {# End Breadcrumb #}
  51.     {# card #}
  52.     :root {
  53.   --swiper-pagination-color: #fff;
  54.   --swiper-pagination-bullet-inactive-color: #fff;
  55.   }
  56.   /*--------------------------------------------------------------
  57. # Contact Section
  58. --------------------------------------------------------------*/
  59. .contact .info-container {
  60.   background-color: var(--color-primary);
  61.   height: 100%;
  62.   padding: 20px;
  63.   border-radius: 10px 0 0 10px;
  64.   box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  65. }
  66. .contact .info-item {
  67.   width: 100%;
  68.   background-color: #268ecfd4;
  69.   margin-bottom: 20px;
  70.   padding: 20px;
  71.   border-radius: 10px;
  72.   color: #fff;
  73. }
  74. .contact .info-item:last-child {
  75.   margin-bottom: 0;
  76. }
  77. .contact .info-item i {
  78.   font-size: 20px;
  79.   color: #fff;
  80.   float: left;
  81.   width: 44px;
  82.   height: 44px;
  83.   background-color: rgba(255, 255, 255, 0.2);
  84.   display: flex;
  85.   justify-content: center;
  86.   align-items: center;
  87.   border-radius: 50px;
  88.   transition: all 0.3s ease-in-out;
  89.   margin-right: 15px;
  90. }
  91. .contact .info-item h4 {
  92.   padding: 0;
  93.   font-size: 20px;
  94.   font-weight: 600;
  95.   margin-bottom: 5px;
  96. }
  97. .contact .info-item p {
  98.   padding: 0;
  99.   margin-bottom: 0;
  100.   font-size: 14px;
  101. }
  102. .contact .info-item:hover i {
  103.   background: #ffffff70;
  104.   color: var(--color-primary);
  105. }
  106. .contact .php-email-form {
  107.   width: 100%;
  108.   height: 100%;
  109.   background: #fff;
  110.   box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  111.   padding: 30px;
  112.   border-radius: 0 10px 10px 0;
  113. }
  114. .contact .php-email-form .form-group {
  115.   padding-bottom: 8px;
  116. }
  117. .contact .php-email-form .error-message {
  118.   display: none;
  119.   color: #fff;
  120.   background: #df1529;
  121.   text-align: left;
  122.   padding: 15px;
  123.   font-weight: 600;
  124. }
  125. .contact .php-email-form .error-message br+br {
  126.   margin-top: 25px;
  127. }
  128. .contact .php-email-form .sent-message {
  129.   display: none;
  130.   color: #fff;
  131.   background: #059652;
  132.   text-align: center;
  133.   padding: 15px;
  134.   font-weight: 600;
  135. }
  136. .contact .php-email-form .loading {
  137.   display: none;
  138.   background: #fff;
  139.   text-align: center;
  140.   padding: 15px;
  141. }
  142. .contact .php-email-form .loading:before {
  143.   content: "";
  144.   display: inline-block;
  145.   border-radius: 50%;
  146.   width: 24px;
  147.   height: 24px;
  148.   margin: 0 10px -6px 0;
  149.   border: 3px solid #059652;
  150.   border-top-color: #fff;
  151.   -webkit-animation: animate-loading 1s linear infinite;
  152.   animation: animate-loading 1s linear infinite;
  153. }
  154. .contact .php-email-form input,
  155. .contact .php-email-form textarea {
  156.   border-radius: 0;
  157.   box-shadow: none;
  158.   font-size: 14px;
  159. }
  160. .contact .php-email-form input[type=text],
  161. .contact .php-email-form input[type=email],
  162. .contact .php-email-form textarea {
  163.   padding: 12px 15px;
  164. }
  165. .contact .php-email-form input[type=text]:focus,
  166. .contact .php-email-form input[type=email]:focus,
  167. .contact .php-email-form textarea:focus {
  168.   border-color: var(--color-primary);
  169. }
  170. .contact .php-email-form textarea {
  171.   padding: 10px 12px;
  172. }
  173. .contact .php-email-form button[type=submit] {
  174.   background: var(--color-primary);
  175.   border: 0;
  176.   padding: 14px 45px;
  177.   color: #fff;
  178.   transition: 0.4s;
  179.   border-radius: 50px;
  180. }
  181. .contact .php-email-form button[type=submit] {
  182.   background: #268ecfd4;
  183. }
  184. .contact .php-email-form button[type=submit]:hover {
  185.   background: rgba(0, 131, 116, 0.8);
  186. }
  187. @-webkit-keyframes animate-loading {
  188.   0% {
  189.     transform: rotate(0deg);
  190.   }
  191.   100% {
  192.     transform: rotate(360deg);
  193.   }
  194. }
  195. @keyframes animate-loading {
  196.   0% {
  197.     transform: rotate(0deg);
  198.   }
  199.   100% {
  200.     transform: rotate(360deg);
  201.   }
  202. }
  203. {# css indice sections  #}
  204.     .section-head.center.wt-small-separator-outer {
  205.         margin-bottom: 50px;
  206.         text-align: left;
  207.     }
  208.     .section-head {
  209.         position: relative;
  210.     }
  211.     .site-text-primary, .wt-small-separator {
  212.         color: #ea130e;
  213.     }
  214.     .wt-small-separator {
  215.         font-family: "Heebo", sans-serif;
  216.         text-transform: uppercase;
  217.         letter-spacing: 1px;
  218.         padding-right: 40px;
  219.         font-size: 26px;
  220.         line-height: 26px;
  221.         margin-bottom: 15px;
  222.         position: relative;
  223.         display: inline-block;
  224.         font-weight: 700;
  225.     }
  226.     .section-head.center .wt-small-separator div.sep-leaf-left {
  227.         position: relative;
  228.     }
  229.     .section-head.center .wt-small-separator div.sep-leaf-left:before, .section-head.center .wt-small-separator div.sep-leaf-left:after {
  230.         background-color: #ea130e;
  231.     }
  232.     .section-head.center .wt-small-separator div.sep-leaf-left:before {
  233.         right: -20px;
  234.         width: 10px;
  235.     }
  236.     .section-head.center .wt-small-separator div.sep-leaf-left:before, .section-head.center .wt-small-separator div.sep-leaf-left:after {
  237.         position: absolute;
  238.         content: '';
  239.         height: 22px;
  240.         bottom: 0px;
  241.         top: 0px;
  242.         transform: skew(-20deg);
  243.     }
  244.     .section-head.center .wt-small-separator div.sep-leaf-left:after {
  245.         right: -27px;
  246.         width: 4px;
  247.     }
  248.     .section-head.center.wt-small-separator-outer h2 {
  249.         max-width: 630px;
  250.         margin: 0px auto;
  251.     }
  252. </style>
  253. <!-- CTA Section -->
  254. <section class="cta " style="padding: 1rem 0;">
  255.     <div class="container">
  256.         <div class="section-head center wt-small-separator-outer mt-3 text-center" style="margin-bottom: 0px;">
  257.             <div class="wt-small-separator site-text-primary">
  258.                 <div class="sep-leaf-left"></div>
  259.                 <div>Contactez notre service client</div>
  260.             </div>
  261.         </div>
  262.         <div>Avez-vous d'autres questions? Ne vous inquiétez pas, toutes vos questions sont les bienvenues. Remplissez simplement le formulaire ci-dessous et nous vous répondrons dans les plus brefs délais.</div>
  263.     </div>
  264. </section>
  265. <section class="section-sm">
  266.         <div class="content" style="padding-bottom: 5px;">
  267.             <div class="wrap">
  268.                 <div class="container">
  269.                     <ol class="breadcrumb">
  270.                         <li href="#">
  271.                             <a>Home</a>
  272.                         </li>
  273.                         <li href="#">
  274.                             <a>Contact</a>
  275.                         </li>
  276.                     </ol>
  277.                 </div>
  278.             </div>
  279.         </div>
  280.   </section>
  281. <!-- contact -->
  282. <section id="contact" class="contact" style="padding-top: 15px; padding-bottom: 30px;">
  283.   <div class="container">
  284.     <div class="row">
  285.       <div class="col-lg-12">
  286.         <h2 class="section-title">Remplissez le formulaire de contact</h2>
  287.       </div>
  288.     </div>
  289.     <div class="row gx-lg-0" style="padding-top: 15px;">
  290.       <div class="col-md-12">
  291.         {% for infos in app.session.flashbag.get('information') %}
  292.         {% if loop.first %}
  293.                 <div class="alert alert-info alert-dismissible fade show" role="alert">
  294.                     {{ infos }}
  295.                 </div>
  296.         {% endif %}
  297.         {% endfor %}            
  298.       </div>
  299.       <div class="col-lg-4">
  300.         <div class="info-container d-flex flex-column align-items-center justify-content-center">
  301.           <div class="info-item d-flex">
  302.             <i class="bi bi-geo-alt flex-shrink-0"></i>
  303.             <div>
  304.               <h4>Localisation:</h4>
  305.               <!--<p>Yaounde (Carrefour Kameni) | Douala (Akwa)</p>-->
  306.               <ul>
  307.                 <li>Yaounde (Car. Kameni)</li>
  308.                 <li>Douala (Akwa)</li>
  309.                 <li>Bafoussam</li>
  310.               </ul>
  311.             </div>
  312.           </div><!-- End Info Item -->
  313.           <div class="info-item d-flex">
  314.             <i class="bi bi-envelope flex-shrink-0"></i>
  315.             <div>
  316.               <h4>Email:</h4>
  317.               <p>syscofie@gamil.com</p>
  318.             </div>
  319.           </div><!-- End Info Item -->
  320.           <div class="info-item d-flex">
  321.             <i class="bi bi-phone flex-shrink-0"></i>
  322.             <div>
  323.               <h4>Nos Contacts:</h4>
  324.               <p>+237 656 56 00 14 / 671 48 65 50</p>
  325.             </div>
  326.           </div><!-- End Info Item -->
  327.           <div class="info-item d-flex">
  328.             <i class="bi bi-clock flex-shrink-0"></i>
  329.             <div>
  330.               <h4>Heures de services:</h4>
  331.               <p>7 Jours / 7 - 24 Heures / 24</p>
  332.             </div>
  333.           </div><!-- End Info Item -->
  334.         </div>
  335.       </div>
  336.       <div class="col-lg-8">
  337.           {{ form_start(formprojet, {'attr': {'class': 'php-email-form','action': path('produit_service_contacts') }}) }}
  338.           <div class="row">
  339.             <div class="col-md-6 form-group">
  340.               <span style="color:red;">{{ form_errors(formprojet) }}</span>
  341.               <span style="color:red;">{{ form_errors(formprojet.nom) }}</span>
  342.               {{ form_label(formprojet.nom,'Entrez votre nom', {'attr': {'class': 'small-title-text'}}) }}
  343.               {{ form_widget(formprojet.nom, {'attr': {'class': 'form-control'}}) }}
  344.             </div>
  345.             <div class="col-md-6 form-group mt-3 mt-md-0">
  346.               <span style="color:red;">{{ form_errors(formprojet) }}</span>
  347.               <span style="color:red;">{{ form_errors(formprojet.email) }}</span>
  348.               {{ form_label(formprojet.email,'Entrez votre email', {'attr': {'class': 'small-title-text'}}) }}
  349.               {{ form_widget(formprojet.email, {'attr': {'class': 'form-control'}}) }}
  350.             </div>
  351.           </div>
  352.           <div class="form-group mt-3">
  353.             <span style="color:red;">{{ form_errors(formprojet) }}</span>
  354.             <span style="color:red;">{{ form_errors(formprojet.sujet) }}</span>
  355.             {{ form_label(formprojet.sujet,'quel est l\'objet de votre demande', {'attr': {'class': 'small-title-text'}}) }}
  356.             {{ form_widget(formprojet.sujet, {'attr': {'class': 'form-control'}}) }}
  357.           </div>
  358.           <div class="form-group mt-3">
  359.             <span style="color:red;">{{ form_errors(formprojet.contenu) }}</span>
  360.             {{ form_label(formprojet.contenu,'Contenu de votre message', {'attr': {'class': 'small-title-text'}}) }}
  361.             {{ form_widget(formprojet.contenu, {'attr': {'class': 'form-control'}}) }}
  362.           </div>
  363.           <div class="form-group mt-3">
  364.             <span style="color:red;">{{ form_errors(formprojet.file) }}</span>
  365.             {{ form_label(formprojet.file,'Joindre les fichiers (optionel)', {'attr': {'class': 'small-title-text'}}) }}
  366.             {{ form_widget(formprojet.file, {'attr': {'class': 'form-control'}}) }}
  367.           </div>
  368.           <div class="my-3">
  369.             <div class="loading">Loading</div>
  370.             <div class="error-message"></div>
  371.             <div class="sent-message">Your message has been sent. Thank you!</div>
  372.           </div>
  373.           <div class="text-center"><button type="submit">Enregistrer</button></div>
  374.           {{ form_end(formprojet) }}
  375.       </div><!-- End Contact Form -->
  376.     </div>
  377.   </div>
  378. </section>
  379. <!-- /contact -->
  380. <!-- gmap -->
  381. <div class="section pt-0 pb-5">
  382.   <!-- Google Map -->
  383.   <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d254777.9977962855!2d11.37036633318602!3d3.8302937854779944!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x108bcf7a309a7977%3A0x7f54bad35e693c51!2zWWFvdW5kw6k!5e0!3m2!1sfr!2scm!4v1648463318096!5m2!1sfr!2scm" height="450" style="width: 100%;" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
  384. </div>
  385. <!-- /gmap -->
  386. {% endblock %}
  387. {% block javascripttemplate %}
  388. $('.menu_item_contact').addClass('active');
  389. {% endblock %}