Skip to content

Commit de4e7a0

Browse files
committed
misc improvements
1 parent 5556051 commit de4e7a0

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

lib/algora_web/live/org/dashboard_live.ex

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
6363
end
6464

6565
@impl true
66-
def mount(_params, _session, socket) do
66+
def mount(params, _session, socket) do
6767
%{current_org: current_org} = socket.assigns
6868

6969
if Member.can_create_bounty?(socket.assigns.current_user_role) do
@@ -92,6 +92,12 @@ defmodule AlgoraWeb.Org.DashboardLive do
9292

9393
{:ok,
9494
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"]))
95101
|> assign(:ip_address, AlgoraWeb.Util.get_ip(socket))
96102
|> assign(:admins_last_active, admins_last_active)
97103
|> assign(:has_fresh_token?, Accounts.has_fresh_token?(socket.assigns.current_user))
@@ -364,20 +370,20 @@ defmodule AlgoraWeb.Org.DashboardLive do
364370
subtitle="Top 1% Algora developers in your tech stack available to hire now"
365371
>
366372
<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">
371377
<.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
373379
</li>
374-
<li class="flex items-start">
380+
<li class="flex items-center">
375381
<.icon name="tabler-circle-number-2 mr-2" class="size-6 text-success-400 shrink-0" />
376382
Escrowed when developer accepts
377383
</li>
378-
<li class="flex items-start">
384+
<li class="flex items-center">
379385
<.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
381387
</li>
382388
</ul>
383389
</div>

0 commit comments

Comments
 (0)