mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +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
24 lines
652 B
Plaintext
24 lines
652 B
Plaintext
<%= content_for :content do %>
|
|
<div class="flex flex-col h-dvh">
|
|
<header class="flex items-center justify-between p-8">
|
|
<%= link_to content_for(:previous_path) || root_path do %>
|
|
<%= lucide_icon "arrow-left", class: "w-5 h-5 text-secondary" %>
|
|
<% end %>
|
|
|
|
<nav>
|
|
<%= yield :header_nav %>
|
|
</nav>
|
|
|
|
<%= link_to content_for(:cancel_path) || root_path do %>
|
|
<%= lucide_icon "x", class: "text-secondary w-5 h-5" %>
|
|
<% end %>
|
|
</header>
|
|
|
|
<main class="grow px-8 pt-12 pb-32 overflow-y-auto">
|
|
<%= yield %>
|
|
</main>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= render template: "layouts/application" %>
|