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