Hide theme randomizer in prod

pull/22/head
Nilesh 2022-06-03 21:39:56 +01:00
rodzic bc5ceda937
commit cf3a522e46
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -97,7 +97,9 @@
<div class="mt-5 flex-1 flex flex-col bg-lightTertiary text-lightBg"> <div class="mt-5 flex-1 flex flex-col bg-lightTertiary text-lightBg">
<nav class="flex-1 pb-4 space-y-1"> <nav class="flex-1 pb-4 space-y-1">
<slot name="nav"></slot> <slot name="nav"></slot>
<button on:click={themeRandomize}>Randomize</button> {#if window.location.href.startsWith('http://127.0.0.1')}
<button class="" on:click={themeRandomize}>Randomize</button>
{/if}
</nav> </nav>
</div> </div>
</div> </div>