mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 23:45:21 +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
11 lines
375 B
Text
11 lines
375 B
Text
<%# locals: (account:, tabs:) %>
|
|
|
|
<% selected_tab = tabs.find { |tab| tab[:key] == params[:tab] } || tabs.first %>
|
|
|
|
<div class="flex gap-2 text-sm text-primary font-medium mb-4">
|
|
<% tabs.each do |tab| %>
|
|
<%= render "accounts/show/tab", account: account, key: tab[:key], is_selected: selected_tab[:key] == tab[:key] %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%= selected_tab[:contents] %>
|