mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 06:25:19 +02:00
* Add geist font * Design system css file * Add cursor ui/ux rules * Add shadows and shadow borders * Replace primitives with tokens for common text and backgrounds * Organize css * Update switch and checkbox class names * Add back global color variables
16 lines
769 B
Text
16 lines
769 B
Text
<%# app/views/invite_codes/_invite_code.html.erb %>
|
|
<div class="invite_code pt-2">
|
|
<div class="flex items-center justify-between p-2 w-1/2 bg-gray-25 rounded-md" data-controller="clipboard">
|
|
<div>
|
|
<span data-clipboard-target="source" class="text-sm font-medium"><%= invite_code.token %></span>
|
|
</div>
|
|
<button data-action="clipboard#copy" class="shrink-0 z-10 inline-flex items-center px-1 text-sm text-secondary font-sm text-center" type="button">
|
|
<span data-clipboard-target="iconDefault">
|
|
<%= lucide_icon "copy", class: "w-5 h-5" %>
|
|
</span>
|
|
<span class="hidden inline-flex items-center" data-clipboard-target="iconSuccess">
|
|
<%= lucide_icon "check", class: "w-5 h-4" %>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|