@@ -91,8 +91,8 @@ defmodule AlgoraWeb.JobsLive do
91
91
92
92
< div class = "grid gap-4 " >
93
93
<%= 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 " >
96
96
< div >
97
97
< . link
98
98
href = { job . url }
@@ -102,24 +102,24 @@ defmodule AlgoraWeb.JobsLive do
102
102
{ job . title }
103
103
</ . link >
104
104
</ 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 >
122
113
</ 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 %>
123
123
</ div >
124
124
<% end %>
125
125
</ div >
0 commit comments