feat: admin display #64

Merged
al4423 merged 2 commits from refactor/favs into master 2025-06-17 12:08:21 +00:00

View File

@@ -256,6 +256,9 @@
<Button href="/auth" type="link">Login / Signup</Button>
{/if}
</footer>
{#if adminMode}
<div class="adminMode">You are in admin mode</div>
{/if}
<style>
main {
@@ -326,4 +329,24 @@
grid-template-columns: 1fr;
}
}
.adminMode {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
position: sticky;
left: 0;
gap: 0.5rem;
padding: 0.75rem;
font-size: 1rem;
background-color: #182125;
bottom: 0;
border-radius: 0.5rem;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
color: #eaffeb;
border: 2px solid #eaffeb;
z-index: 1000;
}
</style>