Skip to content

Commit 78c7b7c

Browse files
committed
swap cols
1 parent 2ddc4f9 commit 78c7b7c

File tree

1 file changed

+54
-54
lines changed

1 file changed

+54
-54
lines changed

lib/algora_web/live/bounty_live.ex

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -330,60 +330,6 @@ defmodule AlgoraWeb.BountyLive do
330330
</.card_content>
331331
</.card>
332332
<div class="grid grid-cols-2 gap-4">
333-
<.card class="col">
334-
<.card_content>
335-
<div class="flex items-center justify-between">
336-
<div>
337-
<.card_title>
338-
Exclusives
339-
</.card_title>
340-
<div class="flex items-center">
341-
<span class="text-sm text-muted-foreground">
342-
<%= if @bounty.deadline do %>
343-
Expires on {Calendar.strftime(@bounty.deadline, "%b %d, %Y")}
344-
<.button
345-
variant="ghost"
346-
size="icon-sm"
347-
phx-click="exclusive"
348-
class="group h-6 w-6"
349-
>
350-
<.icon
351-
name="tabler-pencil"
352-
class="h-4 w-4 text-muted-foreground group-hover:text-foreground"
353-
/>
354-
</.button>
355-
<% else %>
356-
<span class="underline cursor-pointer" phx-click="exclusive">
357-
Add a deadline
358-
</span>
359-
<% end %>
360-
</span>
361-
</div>
362-
<.button variant="secondary" phx-click="exclusive" class="mt-3">
363-
<.icon name="tabler-user-plus" class="size-5 mr-2 -ml-1" /> Add
364-
</.button>
365-
</div>
366-
<div class="flex flex-col gap-4">
367-
<%= for user <- @exclusives do %>
368-
<div class="flex justify-between text-sm">
369-
<span>
370-
<div class="flex items-center gap-4">
371-
<.avatar>
372-
<.avatar_image src={user.avatar_url} />
373-
<.avatar_fallback>{Util.initials(user.name)}</.avatar_fallback>
374-
</.avatar>
375-
<div>
376-
<p class="font-medium">{user.name}</p>
377-
<p class="text-sm text-muted-foreground">@{user.provider_login}</p>
378-
</div>
379-
</div>
380-
</span>
381-
</div>
382-
<% end %>
383-
</div>
384-
</div>
385-
</.card_content>
386-
</.card>
387333
<.card>
388334
<.card_content>
389335
<div class="flex items-center justify-between">
@@ -438,6 +384,60 @@ defmodule AlgoraWeb.BountyLive do
438384
</div>
439385
</.card_content>
440386
</.card>
387+
<.card class="col">
388+
<.card_content>
389+
<div class="flex items-center justify-between">
390+
<div>
391+
<.card_title>
392+
Exclusives
393+
</.card_title>
394+
<div class="flex items-center">
395+
<span class="text-sm text-muted-foreground">
396+
<%= if @bounty.deadline do %>
397+
Expires on {Calendar.strftime(@bounty.deadline, "%b %d, %Y")}
398+
<.button
399+
variant="ghost"
400+
size="icon-sm"
401+
phx-click="exclusive"
402+
class="group h-6 w-6"
403+
>
404+
<.icon
405+
name="tabler-pencil"
406+
class="h-4 w-4 text-muted-foreground group-hover:text-foreground"
407+
/>
408+
</.button>
409+
<% else %>
410+
<span class="underline cursor-pointer" phx-click="exclusive">
411+
Add a deadline
412+
</span>
413+
<% end %>
414+
</span>
415+
</div>
416+
<.button variant="secondary" phx-click="exclusive" class="mt-3">
417+
<.icon name="tabler-user-plus" class="size-5 mr-2 -ml-1" /> Add
418+
</.button>
419+
</div>
420+
<div class="flex flex-col gap-4">
421+
<%= for user <- @exclusives do %>
422+
<div class="flex justify-between text-sm">
423+
<span>
424+
<div class="flex items-center gap-4">
425+
<.avatar>
426+
<.avatar_image src={user.avatar_url} />
427+
<.avatar_fallback>{Util.initials(user.name)}</.avatar_fallback>
428+
</.avatar>
429+
<div>
430+
<p class="font-medium">{user.name}</p>
431+
<p class="text-sm text-muted-foreground">@{user.provider_login}</p>
432+
</div>
433+
</div>
434+
</span>
435+
</div>
436+
<% end %>
437+
</div>
438+
</div>
439+
</.card_content>
440+
</.card>
441441
</div>
442442
<.card>
443443
<.card_header>

0 commit comments

Comments
 (0)