|
|
|
|
@ -7,10 +7,10 @@
|
|
|
|
|
<div class="container row">
|
|
|
|
|
<a class="brand" href="/app" aria-label="Inicio">Tareas</a>
|
|
|
|
|
<nav class="nav">
|
|
|
|
|
<a href="/app" class:active={$page.url.pathname === '/app'}>Mis 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/integrations" class:active={$page.url.pathname.startsWith('/app/integrations')}>Integraciones</a>
|
|
|
|
|
<a href="/app/preferences" class:active={$page.url.pathname.startsWith('/app/preferences')}>Preferencias</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>
|
|
|
|
|
</nav>
|
|
|
|
|
<form method="POST" action="/api/logout">
|
|
|
|
|
<button type="submit" class="logout">Cerrar sesión</button>
|
|
|
|
|
@ -18,6 +18,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<svelte:head>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
|
</svelte:head>
|
|
|
|
|
|
|
|
|
|
<main class="container main">
|
|
|
|
|
<slot />
|
|
|
|
|
</main>
|
|
|
|
|
|