2025-03-08 21:29:24 +00:00
|
|
|
<nav style="height: auto;">
|
|
|
|
|
<ul>
|
|
|
|
|
<a href="/">
|
|
|
|
|
<li style="display: flex; align-items: center;">
|
|
|
|
|
<img id="logo" src="{{ url_for('static', filename='images/bachemapalogo.png') }}" alt="Bachemapa Logo" style="height: 10vh; margin-right: 10px;">
|
2025-03-14 06:48:49 +00:00
|
|
|
<h3 style="margin-bottom: 0;" id="sitename"><span style="color: #4a8522;">Bache</span><span style="color: #fa8721;">mapa</span></h3>
|
2025-03-08 21:29:24 +00:00
|
|
|
</li>
|
|
|
|
|
</a>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
<!-- Mobile menu toggle -->
|
|
|
|
|
<!-- Mobile menu toggle (only appears on screens less than 600px wide) -->
|
|
|
|
|
<details role="list" dir="rtl" class="mobile-menu">
|
|
|
|
|
<summary aria-haspopup="listbox" role="link" class="secondary">
|
2025-03-10 00:53:52 +00:00
|
|
|
<i class="fas fa-bars"></i>
|
2025-03-08 21:29:24 +00:00
|
|
|
</summary>
|
|
|
|
|
<ul role="listbox">
|
2025-03-10 00:53:52 +00:00
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
|
<li><a id="pinner-top" href="#" role="button">Agregar</a></li>
|
|
|
|
|
<li><a href="/logout" role="button" class="secondary">Cerrar Sesión</a></li>
|
|
|
|
|
<li><a href="/dashboard" role="button">Perfil</a></li>
|
|
|
|
|
{% else %}
|
|
|
|
|
<li><a href="/thelogin" role="button">Iniciar Sesión</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<li><a href="/quienes" role="button" class="secondary">Somos</a></li>
|
|
|
|
|
<li><a href="/leaderboard" role="button">Bachistas ★</a></li>
|
2025-03-14 06:48:49 +00:00
|
|
|
<li><a style="border-radius: 100%; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; margin-right: 10px; text-decoration: none;" href="/quienes#tengopreguntas"><i style="color:white" class="fas fa-question-circle"></i></a></li>
|
2025-03-08 21:29:24 +00:00
|
|
|
</ul>
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<!-- Desktop menu (only appears on screens 600px or wider) -->
|
|
|
|
|
<ul class="desktop-menu">
|
|
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
|
<li><a id="pinner-top-desktop" href="#" role="button">Agregar</a></li>
|
|
|
|
|
<li><a href="/logout" role="button" class="secondary">Cerrar Sesión</a></li>
|
|
|
|
|
<li><a href="/dashboard" role="button">Perfil</a></li>
|
|
|
|
|
{% else %}
|
|
|
|
|
<li><a href="/thelogin" role="button">Iniciar Sesión</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<li><a href="/quienes" role="button" class="secondary">Somos</a></li>
|
|
|
|
|
<li><a href="/leaderboard" role="button">Bachistas ★</a></li>
|
2025-03-14 06:48:49 +00:00
|
|
|
<li><a style="border-radius: 100%; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; margin-right: 10px; text-decoration: none;" href="/quienes#tengopreguntas"><i style="color:white" class="fas fa-question-circle"></i></a></li>
|
2025-03-08 21:29:24 +00:00
|
|
|
</ul>
|
|
|
|
|
</ul>
|
2025-03-14 06:48:49 +00:00
|
|
|
|
2025-03-08 21:29:24 +00:00
|
|
|
<style>
|
|
|
|
|
@media (max-width: 715px) {
|
|
|
|
|
.desktop-menu {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-03-14 06:48:49 +00:00
|
|
|
#sitename {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-03-08 21:29:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 716px) {
|
|
|
|
|
.mobile-menu {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-03-14 06:48:49 +00:00
|
|
|
#sitename {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
2025-03-08 21:29:24 +00:00
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</nav>
|