Skip to content

Commit 763e1ff

Browse files
committed
misc improvements
1 parent 5133a46 commit 763e1ff

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))
@@ -365,20 +371,20 @@ defmodule AlgoraWeb.Org.DashboardLive do
365371
subtitle="Top 1% Algora developers in your tech stack available to hire now"
366372
>
367373
<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">
372378
<.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
374380
</li>
375-
<li class="flex items-start">
381+
<li class="flex items-center">
376382
<.icon name="tabler-circle-number-2 mr-2" class="size-6 text-success-400 shrink-0" />
377383
Escrowed when developer accepts
378384
</li>
379-
<li class="flex items-start">
385+
<li class="flex items-center">
380386
<.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
382388
</li>
383389
</ul>
384390
</div>

0 commit comments

Comments
 (0)