Deprecated: Constant E_STRICT is deprecated since 8.4, the error level was removed in /html/hilker-solar-dev/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated since 8.4, the error level was removed in /html/hilker-solar-dev/vendor/symfony/error-handler/ErrorHandler.php on line 76

Deprecated: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1 in /html/hilker-solar-dev/vendor/symfony/error-handler/ErrorHandler.php on line 191
Symfony Profiler

templates/layout.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
    
    {% block body_classes %}has-navbar-fixed-top{% endblock %}
    
    {% block body %}
    
        <div class="notifications">
            {% for label, messages  in app.flashes(['success', 'warning', 'danger']) %}
                {% for message in messages %}
                    <div class="notification is-{{ label }}">
                        <button class="delete"></button>
                        {{ message }}
                    </div>
                {% endfor %}
            {% endfor %}
        </div>
    
        <nav class="navbar is-fixed-top is-spaced is-black is-transparent has-shadow" role="navigation" aria-label="main navigation">
            <div class="container">
    
                {% block navbar_content %}
                    <div class="navbar-brand">
                        <a class="navbar-item" href="{{ path('frontend_index') }}">
                            <img src="{{ asset('build/images/logos/hilker-solar-logo-light.svg') }}" alt="Logo - Hilker Solar" style="object-position: left; object-fit: contain;">
                        </a>
                        
                        <div id="navbar__contact--touch" class="navbar-item is-hidden-desktop">
                            <a href="tel:+495771914990">
                                <span class="icon has-text-white">
                                    <i class="fas fa-phone"></i>
                                </span>
                            </a>
                        </div>
    
                        <div class="navbar-item is-hidden-desktop">
                            {{ block('navbar_user_area') }}
                        </div>
    
                        <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navbarMain">
                            <span aria-hidden="true"></span>
                            <span aria-hidden="true"></span>
                            <span aria-hidden="true"></span>
                        </a>
    
                    </div>
                
                    <div id="navbarMain" class="navbar-menu">
                        <div class="navbar-end">
                            <a class="navbar-item{% if app.request.get('_route') == 'frontend_index' %} is-active{% endif %}" href="{{ path('frontend_index') }}">
                            Start
                            </a>
                    
                            <a class="navbar-item{% if app.request.get('_route') == 'frontend_photovoltaics' %} is-active{% endif %}" href="{{ path('frontend_photovoltaics') }}">
                                Photovoltaik
                            </a>
                    
                            <a class="navbar-item{% if app.request.get('_route') == 'frontend_tour' %} is-active{% endif %}" href="{{ path('frontend_tour') }}">
                                Rundgang
                            </a>
                    
                            <div class="navbar-item has-dropdown is-hoverable">
                                <a class="navbar-link {% if 'frontend_about_' in app.request.get('_route') %} is-active{% endif %}" href="{{ path('frontend_about_company') }}">
                                    Unternehmen
                                </a>
                        
                                <div class="navbar-dropdown">
                                    <a class="navbar-item{% if app.request.get('_route') == 'frontend_about_history' %} is-active{% endif %}" href="{{ path('frontend_about_history') }}">
                                    Geschichte
                                    </a>
                                </div>
                            </div>
                    
                            <a class="navbar-item{% if app.request.get('_route') == 'frontend_references' %} is-active{% endif %}" href="{{ path('frontend_references') }}">
                                Referenzen
                            </a>
                    
                            <a class="navbar-item{% if app.request.get('_route') == 'frontend_contact' %} is-active{% endif %}" href="{{ path('frontend_contact') }}">
                                Kontakt
                            </a>
                        </div>
                    </div>
    
                    <div id="navbarSide" class="navbar-menu">
                        <div class="navbar-end">
                            <a class="navbar-item"  href="tel:+495771914990">
                                <span class="icon is-justify-content-flex-end">
                                    <i class="fas fa-phone"></i>
                                </span>
    
                                <span class="is-hidden-desktop-only pl-5">
                                    +49 (0) 577 1 - 914 99 0
                                </span>
                            </a>
    
                            {% block navbar_user_area %}
                                {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
                                    <div class="dropdown is-right is-hoverable">
                                        <div class="dropdown-trigger">
                                            <button class="button is-small is-rounded is-primary ml-5" aria-haspopup="true" aria-controls="dropdown-menu4">
                                                <span class="icon is-small">
                                                    <i class="fas fa-user"></i>
                                                </span>
                                                <span class="is-hidden-touch is-hidden-desktop-only">Mein Konto</span>
                                                <span class="icon is-small">
                                                    <i class="fas fa-angle-down" aria-hidden="true"></i>
                                                </span>
                                            </button>
                                        </div>
                                        <div class="dropdown-menu" id="dropdown-menu4" role="menu">
                                            <div class="dropdown-content">
                                                {% if is_granted('ROLE_CUSTOMER') %}
                                                    <a href="{{ path('backend_dashboard_customer') }}" class="dropdown-item{% if app.request.get('_route') == 'backend_dashboard_customer' %} is-active{% endif %}">
                                                        Kundenportal
                                                    </a>
                                                {% endif %}
                                                {% if is_granted('ROLE_EMPLOYEE') %}
                                                    <a href="{{ path('backend_dashboard_employee') }}" class="dropdown-item{% if app.request.get('_route') == 'backend_dashboard_employee' %} is-active{% endif %}">
                                                        Vertriebsportal
                                                    </a>
                                                {% endif %}
                                                <hr class="dropdown-divider">
                                                {% if is_granted('IS_IMPERSONATOR') %}
                                                    <a href="{{ impersonation_exit_path(path('frontend_index') ) }}" class="dropdown-item">
                                                        Identitätswechsel beenden
                                                    </a>
                                                {% endif %}
                                                <a href="{{ path('logout') }}" class="dropdown-item">
                                                    Logout
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                {% else %}
                                    <a href="{{ path('login') }}" class="is-hidden-touch is-hidden-desktop-only button is-small is-rounded is-primary ml-5">
                                        <span class="icon is-small">
                                            <i class="fas fa-user"></i>
                                        </span>
                                        <span>Login</span>
                                    </a>
                                    <a href="{{ path('login') }}" class="is-hidden-widescreen button is-small is-rounded is-primary ml-5">
                                        <span class="icon is-small">
                                            <i class="fas fa-user"></i>
                                        </span>
                                    </a>
                                {% endif %}
                            {% endblock %}
                        </div>
                    </div>
                {% endblock %}
    
            </div>
        </nav>
        
        {% block content %}{% endblock %}
    
        <footer class="footer has-shadow has-text-centered has-text-left-desktop">
            <div class="container">
                <div class="columns is-multiline">
                    <div class="footer__contact column is-full is-one-quarter-desktop is-one-third-widescreen">
                        <img class="footer__logo mb-4" src="{{ asset('build/images/logos/hilker-solar-logo-light.svg') }}" alt="Logo - Hilker Solar">
                        <address>
                            Carl-Zeiss-Str. 24 - 26<br>
                            32369 Rahden<br>
                            <a href="tel:+495771914990">+49 (0) 5771 – 914 990</a><br>
                            <a href="mailto:info@hilkersolar.com">info@hilker-solar.de</a>
                        </address>
                    </div>
                    <div class="footer__navbar column">
                        <p class="footer__navbar-headline">Navigation</p>
                        <ul>
                            <li class="footer__navbar-item">
                                <a{% if app.request.get('_route') == 'frontend_index' %} class="is-active"{% endif %} href="{{ path('frontend_index') }}">Start</a>
                            </li>
                            <li class="footer__navbar-item">
                                <a{% if app.request.get('_route') == 'frontend_photovoltaics' %} class="is-active"{% endif %} href="{{ path('frontend_photovoltaics') }}">Photovoltaik</a>
                            </li>
                            <li class="footer__navbar-item">
                                <a{% if app.request.get('_route') == 'frontend_tour' %} class="is-active"{% endif %} href="{{ path('frontend_tour') }}">Rundgang</a>
                            </li>
                            <li class="footer__navbar-item">
                                <a{% if app.request.get('_route') == 'frontend_about_company' %} class="is-active"{% endif %} href="{{ path('frontend_about_company') }}">Unternehmen</a>
                            </li>
                            <li class="footer__navbar-item">
                                <a{% if app.request.get('_route') == 'frontend_references' %} class="is-active"{% endif %} href="{{ path('frontend_references') }}">Referenzen</a>
                            </li>
                        </ul>
                    </div>
                    <div class="footer__navbar column">
                        <p class="footer__navbar-headline">Produkte</p>
                        <ul>
                            <li class="footer__navbar-item is-disabled">
                                <a>Solarmodule</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Wechselrichter</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Batteriespeicher</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>E-Mobilität</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Reparatur</a>
                            </li>
                        </ul>
                    </div>
                    <div class="footer__navbar column">
                        <p class="footer__navbar-headline">Service</p>
                        <ul>
                            <li class="footer__navbar-item is-disabled">
                                <a>Reinigung</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Überwachung</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Reparaturen</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Wartung</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Beratung</a>
                            </li>
                        </ul>
                    </div>
                    <div class="footer__navbar column">
                        <p class="footer__navbar-headline">Rechtliches</p>
                        <ul>
                            <li class="footer__navbar-item">
                                <a{% if app.request.get('_route') == 'frontend_imprint' %} class="is-active"{% endif %} href="{{ path('frontend_imprint') }}">Impressum</a>
                            </li>
                            <li class="footer__navbar-item">
                                <a{% if app.request.get('_route') == 'frontend_privacy' %} class="is-active"{% endif %} href="{{ path('frontend_privacy') }}">Datenschutz</a>
                            </li>
                            <li class="footer__navbar-item">
                                <a{% if app.request.get('_route') == 'frontend_terms_and_conditions' %} class="is-active"{% endif %} href="{{ path('frontend_terms_and_conditions') }}">AGB</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Hotline</a>
                            </li>
                            <li class="footer__navbar-item is-disabled">
                                <a>Presse</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </footer>
        
        {% block modals %}{% endblock %}
    
    {% endblock %}