Skip to content

Commit ad50524

Browse files
committed
feat: update homepage with contributor profiles and new design elements
- Added profiles for John A De Goes and Maxim Schuwalow, enhancing visibility of key contributors. - Introduced a prominent heading and a link to Golem Cloud, improving user engagement. - Updated layout and styling for a more cohesive and visually appealing presentation.
1 parent b6e868d commit ad50524

File tree

1 file changed

+53
-7
lines changed

1 file changed

+53
-7
lines changed

lib/algora_web/live/home_live.ex

Lines changed: 53 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ defmodule AlgoraWeb.HomeLive do
592592
<div class="text-right">
593593
<div class="text-base font-medium text-foreground">Nicolas Camara</div>
594594
<div class="pt-1 text-sm font-medium text-muted-foreground">
595-
Co-founder at Firecrawl
595+
Founder & CTO
596596
</div>
597597
</div>
598598
<img
@@ -613,7 +613,7 @@ defmodule AlgoraWeb.HomeLive do
613613
<div>
614614
<div class="text-base font-semibold text-foreground">Gergő Móricz</div>
615615
<div class="pt-2 text-sm font-medium text-muted-foreground">
616-
Software Engineer at Firecrawl
616+
Software Engineer
617617
</div>
618618
</div>
619619
</div>
@@ -655,9 +655,53 @@ defmodule AlgoraWeb.HomeLive do
655655
656656
<%!-- john --%>
657657
<div class="mx-auto mt-16 max-w-6xl gap-8 text-sm leading-6 sm:mt-32">
658-
<div class="grid items-center gap-x-16 gap-y-8 lg:grid-cols-12">
658+
<.link
659+
class="flex justify-center items-center"
660+
aria-label="Logo"
661+
navigate={~p"/org/golemcloud"}
662+
>
663+
<Wordmarks.golemcloud class="w-32" />
664+
</.link>
665+
<h2 class="mt-2 font-display text-3xl font-semibold tracking-tight text-foreground sm:text-6xl text-center mb-4 !leading-[1.25]">
666+
$15,000 Open source bounty to hire
667+
</h2>
668+
<div class="flex items-center justify-center gap-8">
669+
<div class="flex-1 flex flex-wrap items-center justify-end gap-x-8 gap-y-4">
670+
<div class="flex items-center gap-4">
671+
<div class="text-right">
672+
<div class="text-base font-medium text-foreground">John A De Goes</div>
673+
<div class="pt-1 text-sm font-medium text-muted-foreground">
674+
Founder & CEO
675+
</div>
676+
</div>
677+
<img
678+
src="https://pbs.twimg.com/profile_images/1771489509798236160/jGsCqm25_400x400.jpg"
679+
alt="John A De Goes"
680+
class="size-12 rounded-full object-cover"
681+
/>
682+
</div>
683+
</div>
684+
<.icon name="tabler-arrows-diff" class="size-8 text-success-400" />
685+
<div class="flex-1 flex flex-wrap items-center gap-x-8 gap-y-4">
686+
<div class="flex items-center gap-4">
687+
<img
688+
src="https://github.com/mschuwalow.png"
689+
alt="Maxim Schuwalow"
690+
class="size-12 rounded-full object-cover"
691+
/>
692+
<div>
693+
<div class="text-base font-semibold text-foreground">Maxim Schuwalow</div>
694+
<div class="pt-2 text-sm font-medium text-muted-foreground">
695+
Software Engineer
696+
</div>
697+
</div>
698+
</div>
699+
</div>
700+
</div>
701+
702+
<div class="pt-12 grid items-center gap-x-16 gap-y-8 lg:grid-cols-12">
659703
<div class="lg:col-span-5">
660-
<div class="relative flex aspect-[9/16] w-full items-center justify-center overflow-hidden rounded-xl lg:rounded-2xl bg-gray-800">
704+
<div class="relative flex aspect-[9/16] w-full items-center justify-center overflow-hidden rounded-xl lg:rounded-2xl rounded-r-none lg:rounded-r-none bg-gray-800">
661705
<div
662706
class="absolute inset-0 z-10 flex items-center justify-center cursor-pointer group"
663707
phx-click={JS.hide(to: "#poster-overlay")}
@@ -686,7 +730,7 @@ defmodule AlgoraWeb.HomeLive do
686730
</div>
687731
</div>
688732
<div class="lg:col-span-7">
689-
<div class="relative flex aspect-[1121/1343] w-full items-center justify-center overflow-hidden rounded-xl lg:rounded-2xl bg-gray-800">
733+
<div class="relative flex aspect-[1121/1343] w-full items-center justify-center overflow-hidden rounded-xl lg:rounded-2xl rounded-l-none lg:rounded-l-none bg-gray-800">
690734
<img
691735
src={~p"/images/screenshots/bounty-to-hire-golem2.png"}
692736
alt="Golem bounty to hire"
@@ -819,7 +863,8 @@ defmodule AlgoraWeb.HomeLive do
819863
|> redirect(to: ~p"/")}
820864

821865
{:error, :already_exists} ->
822-
{:noreply, put_flash(socket, :warning, "You have already created a bounty for this ticket")}
866+
{:noreply,
867+
put_flash(socket, :warning, "You have already created a bounty for this ticket")}
823868

824869
{:error, _reason} ->
825870
{:noreply, put_flash(socket, :error, "Something went wrong")}
@@ -1050,7 +1095,8 @@ defmodule AlgoraWeb.HomeLive do
10501095
"""
10511096
end
10521097

1053-
defp format_money(money), do: money |> Money.round(currency_digits: 0) |> Money.to_string!(no_fraction_if_integer: true)
1098+
defp format_money(money),
1099+
do: money |> Money.round(currency_digits: 0) |> Money.to_string!(no_fraction_if_integer: true)
10541100

10551101
defp format_number(number), do: Number.Delimit.number_to_delimited(number, precision: 0)
10561102

0 commit comments

Comments
 (0)