|
|
|
@ -49,9 +49,8 @@ |
|
|
|
|
<header class:fixed> |
|
|
|
|
<nav> |
|
|
|
|
{#if $user.authenticated} |
|
|
|
|
<a href="/intro/" use:link id="logo">Leet</a> |
|
|
|
|
<a href="/" use:link id="logo">PP</a> |
|
|
|
|
<ul> |
|
|
|
|
<li>Premium</li> |
|
|
|
|
<li><a href="/client/#/explore/">Explore</a></li> |
|
|
|
|
<li><a href="/client/#/problems/">Problems</a></li> |
|
|
|
|
{#if $user.admin } |
|
|
|
@ -60,10 +59,9 @@ |
|
|
|
|
</ul> |
|
|
|
|
{:else} |
|
|
|
|
<!-- don't use:link because we want them to go to the landing page if they aren't logged in. --> |
|
|
|
|
<a href="/intro/" use:link id="logo">Leet</a> |
|
|
|
|
<a href="/" use:link id="logo">PP</a> |
|
|
|
|
<ul> |
|
|
|
|
{#if register_enabled} |
|
|
|
|
<li>Premium</li> |
|
|
|
|
<li><a href="/client/#/explore/">Explore</a></li> |
|
|
|
|
<li><a href="/client/#/problems/">Problems</a></li> |
|
|
|
|
{/if} |
|
|
|
|