mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-10 07:55:21 +02:00
Component namespacing (#2463)
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
This commit is contained in:
parent
d5b147f2cd
commit
ab6fdbbb68
182 changed files with 322 additions and 321 deletions
|
@ -112,7 +112,7 @@
|
|||
|
||||
<% else %>
|
||||
<div class="py-10 flex flex-col items-center">
|
||||
<%= render FilledIconComponent.new(
|
||||
<%= render DS::FilledIcon.new(
|
||||
variant: :container,
|
||||
icon: classification_group.icon,
|
||||
) %>
|
||||
|
|
|
@ -25,14 +25,14 @@
|
|||
<% else %>
|
||||
<div class="h-[300px] lg:h-[340px] bg-container py-4 flex flex-col items-center justify-center">
|
||||
<div class="space-y-3 text-center flex flex-col items-center">
|
||||
<%= render FilledIconComponent.new(
|
||||
<%= render DS::FilledIcon.new(
|
||||
variant: :container,
|
||||
icon: "activity" # cashflow placeholder icon
|
||||
) %>
|
||||
|
||||
<p class="text-sm font-medium text-primary">No cash flow data for this time period</p>
|
||||
<p class="text-secondary text-sm">Add transactions to display cash flow data or expand the time period</p>
|
||||
<%= render LinkComponent.new(
|
||||
<%= render DS::Link.new(
|
||||
text: "Add transaction",
|
||||
icon: "plus",
|
||||
href: new_transaction_path,
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<div class="h-[300px] lg:h-[340px] bg-container shadow-border-xs rounded-xl py-4 flex flex-col items-center justify-center">
|
||||
<div class="space-y-3 text-center flex flex-col items-center">
|
||||
<%= render FilledIconComponent.new(
|
||||
<%= render DS::FilledIcon.new(
|
||||
variant: :container,
|
||||
icon: "layers",
|
||||
) %>
|
||||
|
||||
<p class="text-sm font-medium text-primary">No accounts yet</p>
|
||||
<p class="text-secondary text-sm">Add accounts to display net worth data</p>
|
||||
<%= render LinkComponent.new(
|
||||
<%= render DS::Link.new(
|
||||
text: "Add account",
|
||||
icon: "plus",
|
||||
href: new_account_path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue