feat: admin display #64
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user