@@ -16,6 +16,7 @@ defmodule AlgoraWeb.HomeLive do
1616 alias Algora.Workspace
1717 alias AlgoraWeb.Components.Footer
1818 alias AlgoraWeb.Components.Header
19+ alias AlgoraWeb.Components.Logos
1920 alias AlgoraWeb.Components.Wordmarks
2021 alias AlgoraWeb.Data.PlatformStats
2122 alias AlgoraWeb.Forms.BountyForm
@@ -198,8 +199,8 @@ defmodule AlgoraWeb.HomeLive do
198199 < div class = "text-2xl font-semibold text-foreground " > GitHub cofounder funds new feature in Zed Editor</ div >
199200 < div class = "text-lg font-medium text-muted-foreground " > Zed Editor, Scott Chacon</ div >
200201 </ div >
201- < . button size = "lg " > View issue</ . button >
202- </ . link >
202+ < . button size = "lg " variant = " secondary " > < Logos . github class = " size-4 mr-4 -ml-2 " /> View issue</ . button >
203+ </ . link >
203204
204205 < . link
205206 href = "https://github.com/PX4/PX4-Autopilot/issues/22464 "
@@ -223,11 +224,34 @@ defmodule AlgoraWeb.HomeLive do
223224 < div class = "text-2xl font-semibold text-foreground " > DefenceTech CEOs fund obstacle avoidance in PX4 Drone Autopilot</ div >
224225 < div class = "text-lg font-medium text-muted-foreground " > Alex Klimaj, CEO/CTO of ARK Electronics, and Andrew Wilkins, CEO of Ascend Engineering</ div >
225226 </ div >
226- <%!-- https://pbs.twimg.com/profile_images/1277333515412045824/Xys6F_6E_400x400.jpg --%>
227- <%!-- https://pbs.twimg.com/profile_images/1768744461243387905/AHYQnqY9_400x400.jpg --%>
228- <%!-- https://avatars.githubusercontent.com/u/2019539?v=4 --%>
229- < . button size = "lg " > View issue</ . button >
227+ < . button size = "lg " variant = "secondary " > < Logos . github class = "size-4 mr-4 -ml-2 " /> View issue</ . button >
230228 </ . link >
229+
230+ < div
231+ class = "relative grid grid-cols-5 items-center w-full gap-x-4 rounded-xl bg-card/50 p-6 ring-2 ring-success/20 hover:bg-card/70 transition-colors "
232+ >
233+ < div class = "col-span-2 text-base leading-6 flex-1 " >
234+ < div class = "text-2xl font-semibold text-foreground " > Fund any issue < span class = "text-success " > in seconds</ span > </ div >
235+ < div class = "text-lg font-medium text-muted-foreground " > Help improve the OSS you love and rely on</ div >
236+ </ div >
237+ < . form for = { @ bounty_form } phx-submit = "create_bounty " class = "col-span-3 grid grid-cols-3 gap-6 w-full " >
238+ < . input
239+ label = "URL "
240+ field = { @ bounty_form [ :url ] }
241+ placeholder = "https://github.com/owner/repo/issues/1337 "
242+ />
243+ < . input
244+ label = "Amount "
245+ icon = "tabler-currency-dollar "
246+ field = { @ bounty_form [ :amount ] }
247+ class = "placeholder:text-success "
248+ />
249+ < div class = "flex flex-col items-center gap-2 " >
250+ < div class = "text-sm text-muted-foreground " > No credit card required</ div >
251+ < . button size = "lg " class = "w-full " > Fund issue</ . button >
252+ </ div >
253+ </ . form >
254+ </ div >
231255 </ div >
232256 </ div >
233257 < div class = "mx-auto max-w-4xl px-6 lg:px-8 mt-16 " >
0 commit comments