<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,shrink-to-fit=no">
{% set route = app.request.attributes.get('_route') %}
<title>
{% block title %}Accueil
{% endblock %}
</title>
{% block stylesheets %}{% endblock %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
{% if app.user and app.user.uiColor %}
<link rel="stylesheet" href="{{ asset('css/theme/w3-theme-' ~ app.user.uiColor.color ~ '.css') }}">
{% else %}
<link rel="stylesheet" href="{{ asset('css/theme/w3-theme-blue.css') }}">
{% endif %}
<link rel="stylesheet" href="{{ asset('fontawesome/css/all.css') }}">
<link rel="stylesheet" href="{{ asset('css/w3.css') }}">
<link rel="stylesheet" href="{{ asset('css/style.css') }}">
{% if app.user and app.user.member and app.user.member.documentsMember.medicalCertificateDate %}
{% set certifNotOk = date(app.user.member.documentsMember.medicalCertificateDate) < date('-3years') %}
{% else %}
{% set certifNotOk = true %}
{% endif %}
</head>
<body class="w3-theme-light">
{% include("partials/header.html.twig") %}
{% include("partials/navbar.html.twig") %}
<div class="w3-main" style="margin-left:300px;margin-top:43px;">
<div style="min-height: 100vh; position:relative;padding-bottom:250px "> {% block body %}{% endblock %}
<div style="position:absolute; width:100% ;bottom:0;">
{% include("partials/footer.html.twig") %}
</div>
</div>
</div>
{% block javascripts %}{% endblock %}
<script src="{{ asset('js/w3.js') }}"></script>
</body>
</html>