<!DOCTYPE html><html lang="en"><head> <title>{% block page_title %}{% endblock %}</title> {% set canonical_url = app.request.uri %} <link rel="canonical" href="{{ canonical_url }}" /> {% block metaData %}{% endblock %} {% include 'Frontend/Templates/Partials/opengraph.html.twig' %} {% include 'Frontend/Templates/Partials/head.html.twig' %}</head><body id="page-body"> {{ config_helper.getValue('bodystart_extracode', '')|raw }} <div id="page-content"> {% include 'Frontend/Templates/Partials/header.html.twig' %} <div class="google-reviews-mobile flex-column justify-content-center align-items-center pt-2 pb-2"> <span>We're rated 5 stars on Google</span> <div> <i class="fa fa-star" style="color: #ffdd33;"></i> <i class="fa fa-star" style="color: #ffdd33;"></i> <i class="fa fa-star" style="color: #ffdd33;"></i> <i class="fa fa-star" style="color: #ffdd33;"></i> <i class="fa fa-star" style="color: #ffdd33;"></i> </div> </div> {% include 'Frontend/Templates/Partials/alerts.html.twig' %} {# <div id="popup-container" class="popup"> <div class="popup-content"> <img src="/assets/frontend/img/logo.png" style="width: 150px; height: auto;" class="logo mt-2 mb-4"/> <div> <h1 class="popup-items" style="text-align: center;">On time every time</h1> <p style="text-align: center;">Sign up to our newsletter to keep up to date with latest news and offers from Apollo Distribution Cardiff</p> <div id="mc_embed_shell"> <div id="mc_embed_signup"> <form action="https://apollodistributioncardiff.us3.list-manage.com/subscribe/post?u=75e36ed151a876e426b7cf880&id=5f1055e0a9&f_id=00ec52e2f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_self" novalidate="" style="display: flex; justify-content: center; align-items: center; flex-direction: column;"> <div style="width: 80%" id="mc_embed_signup_scroll"> <div class="mc-field-group"> <input type="text" name="FNAME" class="mb-2 form-control text" id="mce-FNAME" placeholder="Your Name" value=""> </div> <div class="mc-field-group"> <input type="email" name="EMAIL" class="mb-2 form-control required email" id="mce-EMAIL" required="" placeholder="Your Email" value=""> </div> <div id="mce-responses" class="clear foot"> <div class="response" id="mce-error-response" style="display: none;"></div> <div class="response" id="mce-success-response" style="display: none;"></div> </div> <div aria-hidden="true" style="position: absolute; left: -5000px;"> <input type="text" name="b_75e36ed151a876e426b7cf880_31d023ab48" tabindex="-1" value=""> </div> <div class="d-flex justify-content-center optionalParent"> <div class="clear foot"> <input type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn btn-primary button" value="Subscribe"> <p style="margin: 0px auto;"><a href="http://eepurl.com/ikPvU5" title="Mailchimp - email marketing made easy and fun"><span style="display: inline-block; background-color: transparent; border-radius: 4px;"></span></a></p> </div> </div> </div> </form> </div> </div> <p style="font-size: 15px" class="text-center mt-4 popup-text">You can unsubscribe at any time</p> <button id="close-btn" class="btn" style="position: absolute; top: 10px; right: 10px; padding: 5px 10px; cursor: pointer;">X</button> </div> </div> </div> #} <div id="block-content"> {% block content %} {% endblock %} </div> {% include 'Frontend/Templates/Partials/footer.html.twig' %} {% include 'Frontend/Templates/Partials/foot.html.twig' %} </div> <script> $(document).ready(function(){ {% block javascript_onload %}{% endblock %} }); document.addEventListener('DOMContentLoaded', function () { // Check if the popup has been displayed in this session const popupDisplayed = sessionStorage.getItem('popupDisplayed'); {# // If the popup hasn't been displayed, show it after 10 seconds if (!popupDisplayed) { setTimeout(function () { document.getElementById('popup-container').style.display = 'block'; sessionStorage.setItem('popupDisplayed', 'true'); }, 10000); } #} {# document.getElementById('close-btn').addEventListener('click', function () { document.getElementById('popup-container').style.display = 'none'; }); #} document.getElementById('subscribe-form').addEventListener('submit', function (event) { event.preventDefault(); const name = this.elements.name.value; const email = this.elements.email.value; }); }); </script> {{ config_helper.getValue('bodyend_extracode', '')|raw }}</body></html>