<% content_for :page_header do %>

Welcome back, <%= Current.user.first_name %>

Here's what's happening with your finances

<%= render LinkComponent.new( icon: "plus", text: "New", href: new_account_path, frame: :modal, class: "hidden lg:inline-flex" ) %> <%= render LinkComponent.new( variant: "icon-inverse", icon: "plus", href: new_account_path, frame: :modal, class: "rounded-full lg:hidden" ) %>
<% end %>
<% if Current.family.accounts.any? %>
<%= render partial: "pages/dashboard/net_worth_chart", locals: { series: @balance_sheet.net_worth_series(period: @period), period: @period } %>
<% else %>
<%= render "pages/dashboard/no_accounts_graph_placeholder" %>
<% end %>
<%= render "pages/dashboard/balance_sheet", balance_sheet: @balance_sheet %>