2025-02-25 10:14:07 -06:00
|
|
|
<% content_for :page_header do %>
|
2025-04-18 18:53:10 +05:30
|
|
|
<div class="space-y-1 mb-6 flex justify-between">
|
|
|
|
<div class="space-y-1">
|
|
|
|
<h1 class="text-3xl font-medium text-primary">Welcome back, <%= Current.user.first_name %></h1>
|
|
|
|
<p class="text-gray-500">Here's what's happening with your finances</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= link_to new_account_path(step: "method_select", classification: "asset"),
|
|
|
|
class: "btn btn--primary flex items-center justify-center gap-2 rounded-full w-9 h-9 md:hidden",
|
|
|
|
data: { turbo_frame: "modal" } do %>
|
|
|
|
<span class="flex items-center justify-center">
|
|
|
|
<%= lucide_icon("plus", class: "size-5") %>
|
|
|
|
</span>
|
|
|
|
<% end %>
|
2025-02-25 10:14:07 -06:00
|
|
|
</div>
|
|
|
|
<% end %>
|
2024-09-10 17:17:10 -04:00
|
|
|
|
2025-02-25 10:14:07 -06:00
|
|
|
<div class="w-full space-y-6 pb-24">
|
2025-04-11 09:28:00 -05:00
|
|
|
<section class="bg-container py-4 rounded-xl shadow-border-xs">
|
2025-02-21 11:57:59 -05:00
|
|
|
<%= render partial: "pages/dashboard/net_worth_chart", locals: { series: @balance_sheet.net_worth_series(period: @period), period: @period } %>
|
|
|
|
</section>
|
2024-09-10 17:17:10 -04:00
|
|
|
|
2025-02-21 11:57:59 -05:00
|
|
|
<section>
|
|
|
|
<%= render "pages/dashboard/balance_sheet", balance_sheet: @balance_sheet %>
|
|
|
|
</section>
|
2024-03-06 09:56:59 -05:00
|
|
|
</div>
|