@@ -91,8 +91,8 @@ defmodule AlgoraWeb.JobsLive do
9191
9292 < div class = "grid gap-4 " >
9393 <%= for job <- jobs do %>
94- < div class = "flex flex-col gap-2 " >
95- < div class = "flex items-start justify-between gap-4 " >
94+ < div class = "flex justify-between gap-4 " >
95+ < div class = "flex flex-col gap-2 " >
9696 < div >
9797 < . link
9898 href = { job . url }
@@ -102,24 +102,24 @@ defmodule AlgoraWeb.JobsLive do
102102 { job . title }
103103 </ . link >
104104 </ div >
105- <%= if MapSet . member? ( @ user_applications , job . id ) do %>
106- < . button disabled class = "opacity-50 " >
107- < . icon name = "tabler-check " class = "h-4 w-4 mr-2 -ml-1 " /> Applied
108- </ . button >
109- <% else %>
110- < . button phx-click = "apply_job " phx-value-job-id = { job . id } >
111- < . icon name = "github " class = "h-4 w-4 mr-2 " /> Apply with GitHub
112- </ . button >
113- <% end %>
114- </ div >
115- < div class = "text-sm text-muted-foreground " >
116- { job . description }
117- </ div >
118- < div class = "flex flex-wrap gap-2 " >
119- <%= for tech <- job . tech_stack do %>
120- < . badge variant = "outline " > { tech } </ . badge >
121- <% end %>
105+ < div class = "text-sm text-muted-foreground " >
106+ { job . description }
107+ </ div >
108+ < div class = "flex flex-wrap gap-2 " >
109+ <%= for tech <- job . tech_stack do %>
110+ < . badge variant = "outline " > { tech } </ . badge >
111+ <% end %>
112+ </ div >
122113 </ div >
114+ <%= if MapSet . member? ( @ user_applications , job . id ) do %>
115+ < . button disabled class = "opacity-50 " >
116+ < . icon name = "tabler-check " class = "h-4 w-4 mr-2 -ml-1 " /> Applied
117+ </ . button >
118+ <% else %>
119+ < . button phx-click = "apply_job " phx-value-job-id = { job . id } >
120+ < . icon name = "github " class = "h-4 w-4 mr-2 " /> Apply with GitHub
121+ </ . button >
122+ <% end %>
123123 </ div >
124124 <% end %>
125125 </ div >
0 commit comments