<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<meta name="description" content=""/>
<meta name="author" content=""/>
<title>
{% block title %}Vítejte na MojeZpráva.cz!
{% endblock %}
</title>
<!-- Favicon-->
<link
rel="icon" type="image/x-icon" href="{{ asset('images/favicon.ico') }}"/>
<!-- Bootstrap Icons-->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet"/>
<!-- CSS only -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<!-- Google fonts-->
<link href="https://fonts.googleapis.com/css?family=Merriweather+Sans:400,700" rel="stylesheet"/>
<link
href="https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic" rel="stylesheet" type="text/css"/>
<!-- SimpleLightbox plugin CSS-->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/SimpleLightbox/2.1.0/simpleLightbox.min.css" rel="stylesheet"/>
<!-- Core theme CSS (includes Bootstrap)-->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
<link href="{{ asset('styles/bootstrap-datepicker3.css') }}" rel="stylesheet"/>
<link href="{{ asset('styles/styles.css') }}" rel="stylesheet"/>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
<style>
.disable {
pointer-events: none;
background: grey;
}
</style>
{% endblock %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js" integrity="sha512-STof4xm1wgkfm7heWqFJVn58Hm3EtS31XFaagaa8VMReCXAkQnJZ+jEy8PCC/iT18dFy95WcExNHFTqLyp72eQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
{{ encore_entry_script_tags('app') }}
<!-- SimpleLightbox plugin JS-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/SimpleLightbox/2.1.0/simpleLightbox.min.js"></script>
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<script src="{{ asset('js/bootstrap-datepicker.js') }}"></script>
<script src="{{ asset('js/bootstrap-datepicker.cs.min.js') }}"></script>
<script src="{{ asset('js/scripts.js') }}"></script>
<script src="https://cdn.startbootstrap.com/sb-forms-latest.js"></script>
{% block javascripts %}{% endblock %}
</head>
<body
class="body">
<!-- Navigation-->
<nav class="navbar navbar-expand-lg navbar-light fixed-top py-3" id="mainNav">
<div class="container px-4 px-lg-5">
<a class="navbar-brand" href="{{ path('homepage') }}">Moje zpráva</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto my-2 my-lg-0">
<li class="nav-item">
<a class="nav-link" href="{{ path('app_order') }}">{{ 'New message' | trans }}</a>
</li>
{% if app.request.attributes.get('_route') == 'homepage' %}
<li class="nav-item">
<a class="nav-link" href="#services">{{ 'Services' | trans }}</a>
</li>
{% else %}
<li class="nav-item">
<a class="nav-link" href="{{ path('homepage') }}#services">{{ 'Services' | trans }}</a>
</li>
{% endif %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">{{ 'Special offer' | trans }}</a>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="{{ path('app_wedding_day') }}">{{ 'Wedding day' | trans }}</a>
</li>
<li>
<a class="dropdown-item" href="{{ path('app_for_companies') }}">{{ 'For companies' | trans }}</a>
</li>
<li>
<a class="dropdown-item" href="{{ path('app_for_prom') }}">{{ 'For Prom' | trans }}</a>
</li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ path('app_faq') }}">{{ 'FAQ' | trans }}</a>
</li>
{% if app.request.attributes.get('_route') == 'homepage' %}
<li class="nav-item">
<a class="nav-link" href="#contact">{{ 'Contact' | trans }}</a>
</li>
{% else %}
<li class="nav-item">
<a class="nav-link" href="{{ path('homepage') }}#contact">{{ 'Contact' | trans }}</a>
</li>
{% endif %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">{{ 'Documents' | trans }}</a>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="{{ path('app_general_terms_and_conditions') }}">{{ 'General terms and conditions' | trans }}</a>
</li>
<li>
<a class="dropdown-item" href="{{ path('app_withdrawal_from_the_contract') }}">{{ 'Withdrawal from the contract' | trans }}</a>
</li>
<li>
<a class="dropdown-item" href="{{ path('app_general_data_protection_regulation') }}">{{ 'General data protection regulation' | trans }}</a>
</li>
</ul>
</li>
{% if not is_granted('ROLE_USER') %}
<li class="nav-item {% if app.request.attributes.get('_route') starts with 'app_register' %}active{% endif %}">
<a class="nav-link" href="{{ path('app_register') }}">
<i class="fas fa-user-plus"></i>
{{ 'Register' | trans }}</a>
</li>
<li class="nav-item {% if app.request.attributes.get('_route') starts with 'app_login' %}active{% endif %}">
<a class="nav-link" href="{{ path('app_login') }}">
<i class="fas fa-sign-in-alt"></i>
{{ 'Log in' | trans }}</a>
</li>
{% endif %}
{% if is_granted('ROLE_USER') %}
{% if is_granted('ROLE_ADMIN') %}
<li class="nav-item {% if app.request.attributes.get('_route') starts with 'admin' %}active{% endif %}">
<a class="nav-link" href="{{ path('admin') }}">
<i class="fas fa-tools"></i>
{{ 'Administration' | trans }}</a>
</li>
{% endif %}
<li class="nav-item {% if app.request.attributes.get('_route') starts with 'user_panel' %}active{% endif %}">
<a class="nav-link" href="{{ path('app_user_panel') }}">
<i class="fas fa-user-cog"></i>
{{ 'User profile' | trans }}</a>
</li>
<li class="nav-item {% if app.request.attributes.get('_route') starts with 'app_logout' %}active{% endif %}">
<a class="nav-link" href="{{ path('app_logout') }}">
<i class="fas fa-sign-out-alt"></i>
{{ 'Log out' | trans }}</a>
</li>
{% endif %}
</ul>
</div>
</div>
</nav>
<div class="alert-zone">
{% for message in app.session.flashbag.get('success') %}
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<p>{{ message }}</p>
</div>
{% endfor %}
{% for message in app.session.flashbag.get('info') %}
<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<p>{{ message }}</p>
</div>
{% endfor %}
{% for message in app.session.flashbag.get('warning') %}
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<p>{{ message }}</p>
</div>
{% endfor %}
{% for message in app.session.flashbag.get('danger') %}
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<p>{{ message }}</p>
</div>
{% endfor %}
</div>
{% block body %}{% endblock %}
<div
id="share">
<!-- facebook share button -->
<a href="https://www.facebook.com/mojezprava" target="blank">
<i class="fab"><img width="35" height="35" src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Facebook_logo_%28square%29.png/600px-Facebook_logo_%28square%29.png"/></i>
</a>
<!-- instagram share button-->
<a href="https://www.instagram.com/mojezprava/" target="blank">
<i class="fab"><img width="35" height="35" src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/600px-Instagram_icon.png?20200512141346"/></i>
</a>
</div>
{% include 'default/cookies_popup.html.twig' %}
<!-- Footer-->
<footer class="bg-light py-5 footer">
<div class="container px-4 px-lg-5">
<div class="small text-center text-muted">Copyright © 2023 - MojeZpráva.cz</div>
</div>
</footer>
</body>
</html>