Skip to content

Commit

Permalink
add debug panel
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed Aug 11, 2024
1 parent 84979e2 commit 6fa7ee2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/lib/components/admin/Sidenav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,11 @@
<div class="button-text">Settings</div>
</div>
</a>

<a href="/admin/settings">
<div class="side-element-2" class:active-button={selectPage === 3}>
<div class="material-symbols-outlined">code</div>
<div class="button-text">Debug</div>
</div>
</a>
</div>
2 changes: 1 addition & 1 deletion src/routes/(admin)/admin/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
<div class="num-stat-cont-1">
<div class="num-stat-subcont-title">Last Hour</div>
<div class="num-stat-big-text">+{$statStore.lastHour ? $statStore.lastHour : '0'}</div>
<div class="num-stat-subcont-title">Registered Users</div>
<div class="num-stat-subcont-title">Registered Students</div>
</div>
</div>

Expand Down

0 comments on commit 6fa7ee2

Please sign in to comment.