@@ -63,7 +63,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
63
63
end
64
64
65
65
@ impl true
66
- def mount ( _params , _session , socket ) do
66
+ def mount ( params , _session , socket ) do
67
67
% { current_org: current_org } = socket . assigns
68
68
69
69
if Member . can_create_bounty? ( socket . assigns . current_user_role ) do
@@ -92,6 +92,12 @@ defmodule AlgoraWeb.Org.DashboardLive do
92
92
93
93
{ :ok ,
94
94
socket
95
+ |> assign ( :page_title , "#{ header_prefix ( current_org ) } " )
96
+ |> assign (
97
+ :page_description ,
98
+ "Share bounties, tips or contracts with #{ header_prefix ( current_org ) } contributors and Algora matches"
99
+ )
100
+ |> assign ( :screenshot? , not is_nil ( params [ "screenshot" ] ) )
95
101
|> assign ( :ip_address , AlgoraWeb.Util . get_ip ( socket ) )
96
102
|> assign ( :admins_last_active , admins_last_active )
97
103
|> assign ( :has_fresh_token? , Accounts . has_fresh_token? ( socket . assigns . current_user ) )
@@ -364,20 +370,20 @@ defmodule AlgoraWeb.Org.DashboardLive do
364
370
subtitle = "Top 1% Algora developers in your tech stack available to hire now "
365
371
>
366
372
< div class = "relative w-full flex flex-col gap-4 " >
367
- < div class = "lg:pb-2 lg:pt-4 flex flex-col lg:flex-row gap-4 lg:gap-8 " >
368
- < h3 class = "text-xl font-semibold whitespace-nowrap " > How it works</ h3 >
369
- < ul class = "lg :mx-auto grid grid-cols-1 lg:grid-cols-3 gap-4 text-sm font-medium " >
370
- < li class = "flex items-start " >
373
+ < div class = "lg:pb-2 lg:pt-4 flex flex-col lg:flex-row gap-4 lg:gap-4 " >
374
+ < h3 class = "text-lg font-semibold whitespace-nowrap " > How it works</ h3 >
375
+ < ul class = "xl :mx-auto flex flex-col md:flex-row gap-2 md: gap-4 2xl:gap-6 text-xs font-medium " >
376
+ < li class = "flex items-center " >
371
377
< . icon name = "tabler-circle-number-1 mr-2 " class = "size-6 text-success-400 shrink-0 " />
372
- Authorize payment to offer contract
378
+ Authorize payment to send offer
373
379
</ li >
374
- < li class = "flex items-start " >
380
+ < li class = "flex items-center " >
375
381
< . icon name = "tabler-circle-number-2 mr-2 " class = "size-6 text-success-400 shrink-0 " />
376
382
Escrowed when developer accepts
377
383
</ li >
378
- < li class = "flex items-start " >
384
+ < li class = "flex items-center " >
379
385
< . icon name = "tabler-circle-number-3 mr-2 " class = "size-6 text-success-400 shrink-0 " />
380
- Release or withhold escrow end of week
386
+ Release/ withhold escrow end of week
381
387
</ li >
382
388
</ ul >
383
389
</ div >
0 commit comments