Skip to content

Commit 36c52e1

Browse files
committed
feat: add 2xl button size option for enhanced UI
- Introduced a new "2xl" size option for buttons in the UI component to accommodate larger button designs. - Updated button instances in the home live module to utilize the new size for improved visibility and user interaction.
1 parent b697dc2 commit 36c52e1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/algora_web/components/ui/button.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ defmodule AlgoraWeb.Components.UI.Button do
8484
"sm" => "h-8 rounded-md px-3 text-xs",
8585
"lg" => "h-10 rounded-md px-8 text-base",
8686
"xl" => "h-12 rounded-md px-10 text-lg",
87+
"2xl" => "h-14 rounded-md px-12 text-xl",
8788
"icon" => "h-9 w-9"
8889
}
8990
}

lib/algora_web/live/home_live.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ defmodule AlgoraWeb.HomeLive do
128128
Hire the top 1% open source developers.
129129
</p>
130130
<div class="mt-6 sm:mt-10 flex gap-4">
131-
<.button navigate={~p"/onboarding/org"} size="xl">
131+
<.button navigate={~p"/onboarding/org"} size="2xl">
132132
Companies
133133
</.button>
134-
<.button navigate={~p"/onboarding/dev"} variant="secondary" size="xl">
134+
<.button navigate={~p"/onboarding/dev"} variant="secondary" size="2xl">
135135
Developers
136136
</.button>
137137
</div>

0 commit comments

Comments
 (0)