mirror of
https://github.com/we-promise/sure.git
synced 2026-04-25 06:54:07 +00: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
30 lines
804 B
Plaintext
30 lines
804 B
Plaintext
<%
|
|
header_title t(".title")
|
|
header_description t(".description")
|
|
%>
|
|
|
|
<% content_for :sidebar do %>
|
|
<%= render "settings/nav" %>
|
|
<% end %>
|
|
|
|
<div class="space-y-4">
|
|
<h1 class="text-primary text-xl font-medium mb-4"><%= t(".page_title") %></h1>
|
|
<%= settings_section title: t(".backup_codes_title"), subtitle: t(".backup_codes_description") do %>
|
|
<div class="space-y-6">
|
|
<div class="grid grid-cols-2 gap-4">
|
|
<% @backup_codes.each do |code| %>
|
|
<div class="p-3 bg-gray-100 rounded-lg font-mono text-lg">
|
|
<%= code %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
|
|
<div class="mt-6">
|
|
<%= link_to t(".continue"), settings_security_path, class: "w-full btn btn--primary" %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= settings_nav_footer %>
|
|
</div>
|
|
|