@@ -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 ) )
@@ -365,20 +371,20 @@ defmodule AlgoraWeb.Org.DashboardLive do
365
371
subtitle = "Top 1% Algora developers in your tech stack available to hire now "
366
372
>
367
373
< div class = "relative w-full flex flex-col gap-4 " >
368
- < div class = "lg:pb-2 lg:pt-4 flex flex-col lg:flex-row gap-4 lg:gap-8 " >
369
- < h3 class = "text-xl font-semibold whitespace-nowrap " > How it works</ h3 >
370
- < ul class = "lg :mx-auto grid grid-cols-1 lg:grid-cols-3 gap-4 text-sm font-medium " >
371
- < li class = "flex items-start " >
374
+ < div class = "lg:pb-2 lg:pt-4 flex flex-col lg:flex-row gap-4 lg:gap-4 " >
375
+ < h3 class = "text-lg font-semibold whitespace-nowrap " > How it works</ h3 >
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
+ < li class = "flex items-center " >
372
378
< . icon name = "tabler-circle-number-1 mr-2 " class = "size-6 text-success-400 shrink-0 " />
373
- Authorize payment to offer contract
379
+ Authorize payment to send offer
374
380
</ li >
375
- < li class = "flex items-start " >
381
+ < li class = "flex items-center " >
376
382
< . icon name = "tabler-circle-number-2 mr-2 " class = "size-6 text-success-400 shrink-0 " />
377
383
Escrowed when developer accepts
378
384
</ li >
379
- < li class = "flex items-start " >
385
+ < li class = "flex items-center " >
380
386
< . icon name = "tabler-circle-number-3 mr-2 " class = "size-6 text-success-400 shrink-0 " />
381
- Release or withhold escrow end of week
387
+ Release/ withhold escrow end of week
382
388
</ li >
383
389
</ ul >
384
390
</ div >
0 commit comments