Skip to content

Commit

Permalink
exchange upvote icon with a star (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek authored Nov 13, 2024
1 parent 4f0acd1 commit 57cd0ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mindwendel_web/live/idea_live/card_component.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@
<span class="me-1"><%= length(@idea.likes) %></span>
<%= if Mindwendel.Likes.exists_user_in_likes?(@idea.likes, @current_user.id) do %>
<.link phx-click="unlike" phx-target={@myself} phx-value-id={@idea.id} title="Unlike">
<i class="bi-arrow-up-circle-fill"></i>
<i class="bi-star-fill"></i>
</.link>
<% else %>
<.link phx-click="like" phx-target={@myself} phx-value-id={@idea.id} title="Like">
<i class="bi-arrow-up-circle"></i>
<i class="bi-star"></i>
</.link>
<% end %>
</div>
Expand Down

0 comments on commit 57cd0ac

Please sign in to comment.