<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}NFT Tickets | 2º Congreso Iberoamericano de DBT{% endblock %}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.3/font/bootstrap-icons.css">
<link rel="stylesheet" href="{{ asset('assets/css/base.css') }}?v={{ random() }}">
<link rel="stylesheet" href="{{ asset('assets/css/old/sweetalert.min.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css"/>
{# Favicon #}
<link rel="apple-touch-icon" sizes="57x57" href="{{ asset('assets/images/favicon/apple-icon-57x57.png') }}">
<link rel="apple-touch-icon" sizes="60x60" href="{{ asset('assets/images/favicon/apple-icon-60x60.png') }}">
<link rel="apple-touch-icon" sizes="72x72" href="{{ asset('assets/images/favicon/apple-icon-72x72.png') }}">
<link rel="apple-touch-icon" sizes="76x76" href="{{ asset('assets/images/favicon/apple-icon-76x76.png') }}">
<link rel="apple-touch-icon" sizes="114x114" href="{{ asset('assets/images/favicon/apple-icon-114x114.png') }}">
<link rel="apple-touch-icon" sizes="120x120" href="{{ asset('assets/images/favicon/apple-icon-120x120.png') }}">
<link rel="apple-touch-icon" sizes="144x144" href="{{ asset('assets/images/favicon/apple-icon-144x144.png') }}">
<link rel="apple-touch-icon" sizes="152x152" href="{{ asset('assets/images/favicon/apple-icon-152x152.png') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('assets/images/favicon/apple-icon-180x180.png') }}">
<link rel="icon" type="image/png" sizes="192x192" href="{{ asset('assets/images/favicon/android-icon-192x192.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('assets/images/favicon/favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="96x96" href="{{ asset('assets/images/favicon/favicon-96x96.png"') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('assets/images/favicon/favicon-16x16.png') }}">
<link rel="manifest" href="{{ asset('assets/images/favicon/manifest.json') }}">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="{{ asset('assets/images/favicon/ms-icon-144x144.png') }}">
<meta name="theme-color" content="#ffffff">
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script>
<script src="{{ asset('assets/js/app.js') }}"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="{{ asset('assets/js/sweetalert.min.js') }}"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
{% block head %}{% endblock %}
</head>
<body>
<!-- TOP NAV -->
<div class="container-fluid top-bar">
<div class="row align-items-center py-4 px-xl-5 px-3">
<div class="col-3">
<a href="/">
<img width="210" src="{{ asset('assets/images/logos/logo-congreso.png') }}">
</a>
</div>
<div class="col-9 align-items-center d-flex justify-content-end" id="access-btn">
{% if app.session.get('userId') %}
<a href="{{ path('userProfile') }}" class="d-none d-xl-block d-lg-block">
<p class="clr-white link-top-bar me-4"><i class="bi bi-person me-2"></i>Mi cuenta</p>
</a>
{% else %}
<a href="{{ path('access') }}?format=1" class="d-none d-xl-block d-lg-block">
<p class="clr-white link-top-bar me-4">Iniciar sesión</p>
</a>
<a href="{{ path('access') }}?format=2" class="d-none d-xl-block d-lg-block">
<button class="btn-md green">Registrarse</button>
</a>
{% endif %}
<div class="d-lg-none d-xl-none">
<h2><i class="bi bi-list text-white" onclick="viewSidebar()"></i></h2>
</div>
</div>
</div>
</div>
<!-- SIDE NAV -->
<div id="side-bar" class="cnt-side-nav px-4 pt-3 d-lg-none d-xl-none">
{% if app.session.get('userId') %}
<a href="{{ path('userProfile') }}">
<p class="clr-black link-top-bar mb-3"><i class="bi bi-house-door me-2"></i>Inicio</p>
</a>
<a href="{{ path('userProfile') }}">
<p class="clr-black link-top-bar mb-3"><i class="bi bi-person me-2"></i>Mi cuenta</p>
</a>
{% else %}
<a href="{{ path('access') }}?format=1">
<p class="clr-black link-top-bar mb-3"><i class="bi bi-box-arrow-in-right me-2"></i> Iniciar sesión</p>
</a>
<a href="{{ path('access') }}?format=2">
<p class="clr-black link-top-bar mb-3"><i class="bi bi-at me-2"></i>Registrarse</p>
</a>
{% endif %}
</div>
{% block body %}
{% endblock %}
<!-- FOOTER -->
<div class="container-fluid mt-5 border-top footer">
<div class="row px-5 py-5">
<div class="col-xl-4 col-12 mb-xl-0 mb-3 d-flex justify-content-xl-center justify-content-start">
<a href="/">
<img width="210" height="70" src="{{ asset('assets/images/logos/logo-congreso-black.png') }}">
</a>
</div>
<div class="col-xl-2 col-12 mt-xl-0 mt-3">
<p class="mb-3"><b>Web</b></p>
<a href="https://congresodbt.com/" class="link-footer"><p class="mb-2">Home</p></a>
<a href="{{ path('events') }}" class="link-footer"><p class="mb-2">Eventos</p></a>
<a href="{{ path('access') }}" class="link-footer"><p class="mb-2">Iniciar sesión</p></a>
<a href="{{ path('access') }}?format=2" class="link-footer"><p class="mb-2">Registrarse</p></a>
</div>
<div class="col-xl-2 col-12 mt-xl-0 mt-3">
<p class="mb-3"><b>Información</b></p>
<a href="{{ path('terms') }}" class="link-footer"><p class="mb-2">Política de privacidad</p></a>
<a href="{{ path('terms') }}" class="link-footer"><p class="mb-2">Política de cookies</p></a>
<a href="{{ path('terms') }}" class="link-footer"><p class="mb-2">Términos y condiciones de uso</p></a>
</div>
<div class="col-xl-1 col-12 mt-xl-0 mt-3">
<p class="mb-3"><b>Síguenos</b></p>
<a href="https://www.instagram.com/congresodbt/" target="_blank" class="link-footer"><p class="mb-2">Instagram</p></a>
<a href="https://www.facebook.com/congresodbt" target="_blank" class="link-footer"><p class="mb-2">Facebook</p></a>
</div>
<div class="col-xl-3 col-12 mt-xl-0 mt-3 d-flex justify-content-center">
<a href="https://www.oaro.net/" target="_blank">
<img width="90" height="120" src="{{ asset('assets/images/logos/logo-oaro-black.png') }}">
</a>
</div>
</div>
</div>
<script>
// Function to show and hide side bar
function viewSidebar() {
var sidebar = document.getElementById("side-bar");
if(sidebar.style.right == '-300px'){
sidebar.style.right = '0px';
} else if(sidebar.style.right == '0px') {
sidebar.style.right = '-300px';
} else {
sidebar.style.right = '0px';
}
}
</script>
</body>
</html>