Status pills

This commit is contained in:
I-Have-An-Issue 2022-10-11 17:57:51 -04:00
parent 05d0364f36
commit 930607761a
No known key found for this signature in database
GPG Key ID: E55435DEA0825091
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@
<p class="text-3xl font-bold truncate">{game?.name}</p>
<p class="text-zinc-500">By <a class="font-bold text-blue-500" href="/users/{game?.creator?._id}">{game?.creator?.username}</a></p>
</div>
<div class="flex text-sm">
<p class="px-2 bg-zinc-500 rounded-xl text-white mr-1">Offline</p>
<p class="px-2 bg-green-500 rounded-xl text-white mr-1">Online</p>
<p class="px-2 bg-blue-500 rounded-xl text-white mr-1">2015</p>
<p class="px-2 bg-blue-500 rounded-xl text-white mr-1">2013</p>
</div>
<span class="flex-grow" />
<div class="flex">
<a class="flex-auto text-lg text-blue-500 px-4 py-0.5 rounded shadow-lg border-2 border-blue-500 hover:bg-opacity-50 hover:bg-blue-500 mr-0.5 mb-1 text-center" href="/games/{game?.id}/edit">