kopia lustrzana https://github.com/learn-awesome/learndb
Hide theme randomizer in prod
rodzic
bc5ceda937
commit
cf3a522e46
|
@ -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>
|
||||||
|
|
Ładowanie…
Reference in New Issue