@@ -221,12 +221,12 @@ defmodule AlgoraWeb.CommunityLive do
221221 </ . card >
222222 <% else %>
223223 < div id = "bounties-container " phx-hook = "InfiniteScroll " >
224- < . bounties bounties = { @ bounties } />
225- < div :if = { @ has_more_bounties } class = "flex justify-center mt-4 " data-load-more-indicator >
224+ < . bounties bounties = { @ bounties |> Enum . take ( 20 ) } />
225+ <%!-- < div :if={@has_more_bounties} class="flex justify-center mt-4" data-load-more-indicator>
226226 <div class="animate-pulse text-muted-foreground">
227227 <.icon name="tabler-loader" class="h-6 w-6 animate-spin" />
228228 </div>
229- </ div >
229+ </div> --%>
230230 </ div >
231231 <% end %>
232232 </ . section >
@@ -1280,11 +1280,7 @@ defmodule AlgoraWeb.CommunityLive do
12801280 < . button navigate = { ~p" /auth/signup" } >
12811281 Get started
12821282 </ . button >
1283- < . button
1284- class = "pointer-events-none opacity-75 "
1285- href = { AlgoraWeb.Constants . get ( :github_repo_url ) }
1286- variant = "secondary "
1287- >
1283+ < . button href = { AlgoraWeb.Constants . get ( :github_repo_url ) } variant = "secondary " >
12881284 < . icon name = "github " class = "size-4 mr-2 -ml-1 " /> View source code
12891285 </ . button >
12901286 </ div >
@@ -1359,7 +1355,7 @@ defmodule AlgoraWeb.CommunityLive do
13591355 end
13601356
13611357 # Update the URL with selected techs
1362- path = if selected_techs == [ ] , do: ~p" /bounties " , else: ~p" /bounties /#{ Enum . join ( selected_techs , "," ) } "
1358+ path = if selected_techs == [ ] , do: ~p" /community " , else: ~p" /community /#{ Enum . join ( selected_techs , "," ) } "
13631359
13641360 { :noreply ,
13651361 socket
@@ -1430,7 +1426,7 @@ defmodule AlgoraWeb.CommunityLive do
14301426 |> assign ( :has_more_bounties , length ( bounties ) >= page_size ( ) )
14311427 end
14321428
1433- defp page_size , do: 10
1429+ defp page_size , do: 20
14341430
14351431 defp glow ( assigns ) do
14361432 ~H"""
0 commit comments