<!DOCTYPE html>
<html lang="{{ app.request.locale }}">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title>{% block title %}Home{% endblock %} | My WowEnglish</title>
<!-- Mobile Specific Metas -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="keywords" content="english,mywowenglish,mywow,wowenglish,wow,children,english app,my wow!,wow! english">
<meta name="description" content="English app for children to learn english in a fun and natural way. For individuals or schools.">
<meta name="author" content="SMWORKS digital agency">
{% block robots %}
{% if app.environment == 'dev' %}
<meta name="robots" content="noindex, nofollow">
{% else %}
<meta name="robots" content="follow">
{% endif %}
{% endblock %}
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('favicon-16x16.png') }}">
<link rel="manifest" href="{{ asset('site.webmanifest') }}">
<link rel="mask-icon" href="{{ asset('safari-pinned-tab.svg') }}" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- Google login -->
<meta name="google-signin-client_id" content="117352827191-selo80jeqf3q417k4lutas06h1c7s87q.apps.googleusercontent.com">
{% set is_admin = app.user and is_granted('ROLE_EDITOR') %}
<!-- Styles -->
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
<link rel="stylesheet" href="https://1907427404.rsc.cdn77.org/cookieconsent/cookieconsent.css">
{% endblock %}
{% if app.environment == 'prod' %}
{% if dataLayer is defined %}
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({{ dataLayer|json_encode|raw }});
</script>
{% endif %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KFQNW5R');</script>
<!-- End Google Tag Manager -->
<!-- Cookie consent -->
<script type="application/javascript" src="https://1907427404.rsc.cdn77.org/cookieconsent/cookieconsent.js" async></script>
{% endif %}
</head>
<body{% if body_class is defined %} class="{{ body_class }}"{% endif %}>
{% if app.environment == 'prod' %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KFQNW5R"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
<div id="fb-root"></div>
{% block body %}{% endblock %}
<!-- Footer -->
<footer class="page-footer font-small teal">
<!-- Copyright -->
<div class="footer-copyright text-center py-3">
© {{ 'now'|date('Y') }} Copyright:
<a href="https://www.smworks.cz/" target="_blank">SMW Startups s.r.o.</a> |
<a href="/assets/documents/VOP_{{ app.request.getLocale() }}.pdf" target="_blank">{{ 'terms.and.conditions'|trans }}</a> |
<a href="{{ 'privacy.policy.link'|trans }}" target="_blank">{{ 'privacy.policy'|trans }}</a>
</div>
</footer>
<!-- JavaScripts -->
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
<script nonce="{{ app_nonce() }}">
$(document).ready(function () {
$('.dropdown-toggle').dropdown()
})
</script>
<!-- Apple SDK -->
<script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"></script>
<!-- Google SDK -->
<script src="https://apis.google.com/js/platform.js" async defer nonce="{{ app_nonce() }}"></script>
<!-- Facebook SDK -->
<script nonce="{{ app_nonce() }}">
window.fbAsyncInit = function() {
FB.init({
appId : '{{ constant('App\\Controller\\FacebookController::APP_ID') }}',
autoLogAppEvents : true,
xfbml : true,
version : '{{ constant('App\\Controller\\FacebookController::GRAPH_VERSION') }}'
});
};
(function(d, s, id){
let js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
{% endblock %}
</body>
</html>