Skip to content

Commit ec40d48

Browse files
committed
feat: add calendar contact section to dashboard with enhanced layout and button for team growth engagement
1 parent ab009b1 commit ec40d48

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

lib/algora_web/constants.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ defmodule AlgoraWeb.Constants do
99
youtube_url: "https://www.youtube.com/@algora-io",
1010
discord_url: ~p"/discord",
1111
github_url: "https://github.com/algora-io",
12+
calendar_url: "https://cal.com/ioannisflo",
1213
# TODO: update this to the new repo
1314
github_repo_url: "https://github.com/algora-io/tv",
1415
github_repo_api_url: "https://api.github.com/repos/algora-io/tv",

lib/algora_web/live/org/dashboard_live.ex

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,74 @@ defmodule AlgoraWeb.Org.DashboardLive do
429429
title={"#{@current_org.name} Ecosystem"}
430430
subtitle="Help maintain and grow your ecosystem by creating bounties and tips in your dependencies"
431431
>
432-
<div class="grid grid-cols-1 gap-8 md:grid-cols-2">
432+
<div class="pt-8 grid grid-cols-1 gap-8 md:grid-cols-2">
433433
{create_bounty(assigns)}
434434
{create_tip(assigns)}
435435
</div>
436436
</.section>
437+
438+
<.section>
439+
<div class="group border ring-1 ring-transparent rounded-xl overflow-hidden">
440+
<div class={[
441+
"bg-card/75 flex justify-between rounded-xl border-l-4 border-purple-400 transition-all",
442+
"divide-x divide-default"
443+
]}>
444+
<div class="w-1/4 px-8 py-8 xl:px-4 2xl:px-8">
445+
<div class="flex items-center gap-2">
446+
<div class="flex items-center gap-2 pb-2">
447+
<h3 class="flex items-center gap-4 text-2xl font-semibold text-foreground">
448+
Growing your team?
449+
</h3>
450+
</div>
451+
</div>
452+
<p class="text-foreground-light mb-4 text-sm 2xl:pr-4">
453+
You're in the right place.
454+
</p>
455+
<div class="pt-4 flex gap-2">
456+
<.button
457+
navigate={AlgoraWeb.Constants.get(:calendar_url)}
458+
variant="purple"
459+
size="xl"
460+
class="drop-shadow-[0_1px_5px_#c084fc80]"
461+
>
462+
Contact us
463+
</.button>
464+
</div>
465+
</div>
466+
<div class="w-3/4 my-auto">
467+
<ul class="py-8 border-default text-base text-foreground-lighter flex-1 grid grid-cols-3 gap-4 divide-x divide-default">
468+
<li class="py-2 flex flex-col items-center justify-center text-center">
469+
<div class="flex items-center justify-center size-16 bg-purple-400/10 drop-shadow-[0_1px_5px_#c084fc80] rounded-full">
470+
<.icon name="tabler-world" class="size-8 text-purple-400" />
471+
</div>
472+
<div class="pt-4 text-3xl font-semibold font-display">Publish</div>
473+
<div class="pt-2 text-base font-medium text-muted-foreground">
474+
Bounties and contracts on Algora
475+
</div>
476+
</li>
477+
<li class="py-2 flex flex-col items-center justify-center text-center">
478+
<div class="flex items-center justify-center size-16 bg-purple-400/10 drop-shadow-[0_1px_5px_#c084fc80] rounded-full">
479+
<.icon name="tabler-bolt" class="size-8 text-purple-400" />
480+
</div>
481+
<div class="pt-4 text-3xl font-semibold font-display">Match</div>
482+
<div class="pt-2 text-base font-medium text-muted-foreground">
483+
Proven Algora experts
484+
</div>
485+
</li>
486+
<li class="py-2 flex flex-col items-center justify-center text-center">
487+
<div class="flex items-center justify-center size-16 bg-purple-400/10 drop-shadow-[0_1px_5px_#c084fc80] rounded-full">
488+
<.icon name="tabler-briefcase" class="size-8 text-purple-400" />
489+
</div>
490+
<div class="pt-4 text-3xl font-semibold font-display">Hire</div>
491+
<div class="pt-2 text-base font-medium text-muted-foreground">
492+
Top 1% OSS engineers
493+
</div>
494+
</li>
495+
</ul>
496+
</div>
497+
</div>
498+
</div>
499+
</.section>
437500
</div>
438501
</div>
439502
{sidebar(assigns)}

0 commit comments

Comments
 (0)