Skip to content

Commit eddbb05

Browse files
committed
feat: display tech stack of each contribution on profile
1 parent 8544f7f commit eddbb05

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/algora_web/live/user/profile_live.ex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ defmodule AlgoraWeb.User.ProfileLive do
110110
<%= for %{transaction: transaction, ticket: ticket, project: project} <- @transactions do %>
111111
<tr class="border-b transition-colors hover:bg-muted/10">
112112
<td class="p-4 align-middle">
113-
<div class="flex items-center gap-4">
113+
<div class="flex items-start gap-4">
114114
<.link navigate={User.url(project)}>
115115
<span class="relative flex h-14 w-14 shrink-0 overflow-hidden rounded-xl">
116116
<img
@@ -161,6 +161,11 @@ defmodule AlgoraWeb.User.ProfileLive do
161161
</div>
162162
</div>
163163
</.maybe_link>
164+
<div :if={ticket.repository && ticket.repository.tech_stack}>
165+
<%= for tech <- ticket.repository.tech_stack do %>
166+
<.badge>{tech}</.badge>
167+
<% end %>
168+
</div>
164169
</div>
165170
</div>
166171
</td>

0 commit comments

Comments
 (0)