|
|
|
@ -6,7 +6,7 @@
|
|
|
|
pathname === '/app' ? 'Tareas' :
|
|
|
|
pathname === '/app' ? 'Tareas' :
|
|
|
|
pathname.startsWith('/app/groups') ? 'Grupos' :
|
|
|
|
pathname.startsWith('/app/groups') ? 'Grupos' :
|
|
|
|
pathname.startsWith('/app/preferences') ? 'Recordatorios' :
|
|
|
|
pathname.startsWith('/app/preferences') ? 'Recordatorios' :
|
|
|
|
pathname.startsWith('/app/integrations') ? 'Calendarios' :
|
|
|
|
pathname.startsWith('/app/integrations') ? 'Integraciones' :
|
|
|
|
'Tareas';
|
|
|
|
'Tareas';
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
@ -17,7 +17,7 @@
|
|
|
|
<a href="/app" class:active={$page.url.pathname === '/app'}>Tareas</a>
|
|
|
|
<a href="/app" class:active={$page.url.pathname === '/app'}>Tareas</a>
|
|
|
|
<a href="/app/groups" class:active={$page.url.pathname.startsWith('/app/groups')}>Grupos</a>
|
|
|
|
<a href="/app/groups" class:active={$page.url.pathname.startsWith('/app/groups')}>Grupos</a>
|
|
|
|
<a href="/app/preferences" class:active={$page.url.pathname.startsWith('/app/preferences')}>Recordatorios</a>
|
|
|
|
<a href="/app/preferences" class:active={$page.url.pathname.startsWith('/app/preferences')}>Recordatorios</a>
|
|
|
|
<a href="/app/integrations" class:active={$page.url.pathname.startsWith('/app/integrations')}>Calendarios</a>
|
|
|
|
<a href="/app/integrations" class:active={$page.url.pathname.startsWith('/app/integrations')}>Integraciones</a>
|
|
|
|
</nav>
|
|
|
|
</nav>
|
|
|
|
<form method="POST" action="/api/logout">
|
|
|
|
<form method="POST" action="/api/logout">
|
|
|
|
<button type="submit" class="logout">Cerrar sesión</button>
|
|
|
|
<button type="submit" class="logout">Cerrar sesión</button>
|
|
|
|
@ -51,9 +51,9 @@
|
|
|
|
<span class="icon">⏰</span>
|
|
|
|
<span class="icon">⏰</span>
|
|
|
|
<span class="label">Recordatorios</span>
|
|
|
|
<span class="label">Recordatorios</span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<a href="/app/integrations" class:active={$page.url.pathname.startsWith('/app/integrations')} aria-label="Calendarios">
|
|
|
|
<a href="/app/integrations" class:active={$page.url.pathname.startsWith('/app/integrations')} aria-label="Integraciones">
|
|
|
|
<span class="icon">📅</span>
|
|
|
|
<span class="icon">📅</span>
|
|
|
|
<span class="label">Calendarios</span>
|
|
|
|
<span class="label">Integraciones</span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<form method="POST" action="/api/logout" class="logout-tab" aria-label="Salir">
|
|
|
|
<form method="POST" action="/api/logout" class="logout-tab" aria-label="Salir">
|
|
|
|
<button type="submit">
|
|
|
|
<button type="submit">
|
|
|
|
|