@@ -200,7 +200,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
200
200
def render ( assigns ) do
201
201
~H"""
202
202
< div class = "lg:pr-96 " >
203
- < div class = "container mx-auto max-w-7xl space-y-8 lg :space-y-16 p-4 sm:p-6 lg:p-8 " >
203
+ < div class = "container mx-auto max-w-7xl space-y-8 xl :space-y-16 p-4 sm:p-6 lg:p-8 " >
204
204
< . section :if = { @ payable_bounties != % { } } >
205
205
< . card >
206
206
< . card_header >
@@ -371,7 +371,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
371
371
subtitle = "Top 1% Algora developers in your tech stack available to hire now "
372
372
>
373
373
< div class = "relative w-full flex flex-col gap-4 " >
374
- < div class = "lg:pb-2 lg:pt-4 flex flex-col lg:flex-row gap-4 lg:gap-4 " >
374
+ < div :if = { ! @ screenshot? } class = "lg:pb-2 lg:pt-4 flex flex-col lg:flex-row gap-4 lg:gap-4 " >
375
375
< h3 class = "text-lg font-semibold whitespace-nowrap " > How it works</ h3 >
376
376
< ul class = "xl:mx-auto flex flex-col md:flex-row gap-2 md:gap-4 2xl:gap-6 text-xs font-medium " >
377
377
< li class = "flex items-center " >
@@ -1320,8 +1320,8 @@ defmodule AlgoraWeb.Org.DashboardLive do
1320
1320
1321
1321
defp match_card ( assigns ) do
1322
1322
~H"""
1323
- < div class = "relative flex flex-col xl :flex-row xl:items-center xl :justify-between gap-4 sm:gap-8 xl :gap-4 2xl :gap-6 border bg-card rounded-xl text-card-foreground shadow p-6 " >
1324
- < div class = "xl :basis-[51 %] w-full truncate " >
1323
+ < div class = "relative flex flex-col lg :flex-row xl:items-center lg :justify-between gap-4 sm:gap-8 lg :gap-4 xl :gap-6 border bg-card rounded-xl text-card-foreground shadow p-4 pt-8 " >
1324
+ < div class = "lg :basis-[52 %] w-full truncate " >
1325
1325
< div class = "flex items-center justify-between gap-4 " >
1326
1326
< div class = "flex items-center gap-4 " >
1327
1327
< . link navigate = { User . url ( @ match . user ) } >
@@ -1406,7 +1406,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
1406
1406
) }
1407
1407
</ span >
1408
1408
</ div >
1409
- < div class = "pt-4 flex flex-col sm:flex-row sm:flex-wrap 2xl :flex-nowrap gap-4 xl :gap-4 2xl :gap-8 " >
1409
+ < div class = "pt-4 flex flex-col sm:flex-row sm:flex-wrap xl :flex-nowrap gap-4 lg :gap-4 xl :gap-8 " >
1410
1410
<%= for { project , total_earned } <- @ match . projects |> Enum . take ( 2 ) do %>
1411
1411
< . link
1412
1412
navigate = { User . url ( project ) }
@@ -1442,8 +1442,8 @@ defmodule AlgoraWeb.Org.DashboardLive do
1442
1442
</ div >
1443
1443
</ div >
1444
1444
1445
- < div class = "pt-2 xl :pt-0 xl :pl-4 2xl :pl-6 xl :basis-[49 %] w-full xl :border-l xl :border-border " >
1446
- < dl :if = { @ match [ :hourly_rate ] } class = "pt-4 " >
1445
+ < div class = "pt-2 lg :pt-0 lg :pl-4 xl :pl-6 lg :basis-[48 %] w-full lg :border-l lg :border-border " >
1446
+ < dl :if = { @ match [ :hourly_rate ] } class = "pt-4 lg:pt-0 " >
1447
1447
< div class = "flex flex-col-reverse 3xl:flex-row justify-between items-center gap-2 " >
1448
1448
< dt class = "text-foreground text-center " >
1449
1449
Total payment for < span class = "font-semibold " > { @ match . user . hours_per_week || 30 } </ span >
0 commit comments