mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* WIP * WIP * WIP * WIP * WIP * WIP * WIP * format * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * fix conflict * fix conflict * chore: run rubocop * fix test * update PWA logo * fix tests * chore: lint * fix test * Refactor: Remove duplicate data attribute in activity partial and add chat form rendering in chats index --------- Co-authored-by: Josh Pigford <josh@joshpigford.com>
26 lines
1.1 KiB
Text
26 lines
1.1 KiB
Text
<% content_for :page_header do %>
|
|
<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 %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<div class="w-full space-y-6 pb-24">
|
|
<section class="bg-container py-4 rounded-xl shadow-border-xs">
|
|
<%= render partial: "pages/dashboard/net_worth_chart", locals: { series: @balance_sheet.net_worth_series(period: @period), period: @period } %>
|
|
</section>
|
|
|
|
<section>
|
|
<%= render "pages/dashboard/balance_sheet", balance_sheet: @balance_sheet %>
|
|
</section>
|
|
</div>
|