tweak invites page text color

This commit is contained in:
shibao 2022-01-31 21:42:41 -05:00
parent 7aa353e176
commit 4f2305dc23

View File

@ -25,16 +25,16 @@
<%= for invite <- @invites do %> <%= for invite <- @invites do %>
<div class="px-8 py-4 flex flex-col justify-center items-center space-y-4 <div class="px-8 py-4 flex flex-col justify-center items-center space-y-4
border border-gray-400 rounded-lg shadow-lg hover:shadow-md"> border border-gray-400 rounded-lg shadow-lg hover:shadow-md">
<h1 class="title text-xl text-primary-500"> <h1 class="title text-xl">
<%= invite.name %> <%= invite.name %>
</h1> </h1>
<%= if invite.disabled_at |> is_nil() do %> <%= if invite.disabled_at |> is_nil() do %>
<h2 class="title text-md text-primary-500"> <h2 class="title text-md">
Uses Left: <%= invite.uses_left || "Unlimited" %> Uses Left: <%= invite.uses_left || "Unlimited" %>
</h2> </h2>
<% else %> <% else %>
<h2 class="title text-md text-primary-500"> <h2 class="title text-md">
Invite Disabled Invite Disabled
</h2> </h2>
<% end %> <% end %>