Skip to content

Commit

Permalink
📌 chore: / added admin panel button
Browse files Browse the repository at this point in the history
  • Loading branch information
skillzl committed Jan 18, 2024
1 parent 014e743 commit 0face4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
<div class="flex pt-5 text-sm text-gray-400">
<a href="dashboard/servers" class="flex-no-shrink bg-green-500 hover:bg-green-600 px-5 ml-4 py-2 text-xs shadow-sm hover:shadow-lg font-medium tracking-wider text-white rounded-full transition ease-in duration-300"><i class="fa-solid fa-server"></i> Servers</a>
<a href="profile/me" class="flex-no-shrink bg-yellow-400 hover:bg-yellow-500 px-5 ml-4 py-2 text-xs shadow-sm hover:shadow-lg font-medium tracking-wider text-white rounded-full transition ease-in duration-300"><i class="fa-solid fa-user"></i> Profile</a>
<% if (user.id === process.env.DEVELOPER_ID) { %>
<a href="admin/panel" class="flex-no-shrink bg-purple-600 hover:bg-purple-700 px-5 ml-4 py-2 text-xs shadow-sm hover:shadow-lg font-medium tracking-wider text-white rounded-full transition ease-in duration-300"><i class="ml-1 fa-solid fa-fingerprint"></i> Panel</a>
<% } %>
<a href="/logout" class="flex-no-shrink bg-red-500 hover:bg-red-600 px-5 ml-4 py-2 text-xs shadow-sm hover:shadow-lg font-medium tracking-wider text-white rounded-full transition ease-in duration-300"><i class="fa-solid fa-right-from-bracket"></i> Log out</a>
</div>
</div>
Expand Down

0 comments on commit 0face4c

Please sign in to comment.