Skip to content

Commit

Permalink
Use Synth logo for holdings
Browse files Browse the repository at this point in the history
  • Loading branch information
Shpigford committed Oct 30, 2024
1 parent 5533b84 commit 5e2b932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/account/holdings/_holding.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%= turbo_frame_tag dom_id(holding) do %>
<div class="grid grid-cols-12 items-center text-gray-900 text-sm font-medium p-4">
<div class="col-span-4 flex items-center gap-4">
<%= render "shared/circle_logo", name: holding.name %>
<%= image_tag "https://logo.synthfinance.com/ticker/#{holding.ticker}", class: "w-9 h-9 rounded-full" %>

<div class="space-y-0.5">
<%= link_to holding.name, account_holding_path(holding.account, holding), data: { turbo_frame: :drawer }, class: "hover:underline" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/account/holdings/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<%= tag.p @holding.ticker, class: "text-sm text-gray-500" %>
</div>

<%= render "shared/circle_logo", name: @holding.name %>
<%= image_tag "https://logo.synthfinance.com/ticker/#{@holding.ticker}", class: "w-9 h-9 rounded-full" %>
</header>

<details class="group space-y-2" open>
Expand Down

0 comments on commit 5e2b932

Please sign in to comment.