mirror of
https://github.com/we-promise/sure.git
synced 2026-05-27 22:44:55 +00:00
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
<div class="bg-container shadow-border-xs rounded-xl p-4 flex flex-col gap-3 hover:shadow-border-sm transition-shadow">
|
|
<div class="flex items-start gap-3">
|
|
<div class="w-9 h-9 rounded-lg flex items-center justify-center shrink-0 <%= logo_bg %>">
|
|
<span class="text-xs font-bold text-inverse"><%= logo_text %></span>
|
|
</div>
|
|
<div class="flex-1 min-w-0">
|
|
<div class="flex items-center gap-2 flex-wrap">
|
|
<span class="font-medium text-primary"><%= name %></span>
|
|
<% if maturity_label %>
|
|
<span class="text-xs font-medium px-1.5 py-0.5 rounded-full bg-alpha-black-50 text-secondary"><%= maturity_label %></span>
|
|
<% end %>
|
|
</div>
|
|
<% if meta_line.present? %>
|
|
<p class="text-xs text-subdued mt-0.5"><%= meta_line %></p>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
<% if tagline.present? %>
|
|
<p class="text-sm text-secondary grow"><%= tagline %></p>
|
|
<% end %>
|
|
<div class="flex justify-end">
|
|
<%= link_to connect_path,
|
|
class: "inline-flex items-center gap-1.5 text-sm font-medium text-primary hover:text-primary/70 transition-colors",
|
|
data: { turbo_frame: "drawer", turbo_prefetch: "false" } do %>
|
|
<%= t("settings.providers.connect") %>
|
|
<%= helpers.icon "arrow-right", class: "w-4 h-4" %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|