@@ -221,12 +221,12 @@ defmodule AlgoraWeb.CommunityLive do
221
221
</ . card >
222
222
<% else %>
223
223
< 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>
226
226
<div class="animate-pulse text-muted-foreground">
227
227
<.icon name="tabler-loader" class="h-6 w-6 animate-spin" />
228
228
</div>
229
- </ div >
229
+ </div> --%>
230
230
</ div >
231
231
<% end %>
232
232
</ . section >
@@ -1280,11 +1280,7 @@ defmodule AlgoraWeb.CommunityLive do
1280
1280
< . button navigate = { ~p" /auth/signup" } >
1281
1281
Get started
1282
1282
</ . 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 " >
1288
1284
< . icon name = "github " class = "size-4 mr-2 -ml-1 " /> View source code
1289
1285
</ . button >
1290
1286
</ div >
@@ -1359,7 +1355,7 @@ defmodule AlgoraWeb.CommunityLive do
1359
1355
end
1360
1356
1361
1357
# 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 , "," ) } "
1363
1359
1364
1360
{ :noreply ,
1365
1361
socket
@@ -1430,7 +1426,7 @@ defmodule AlgoraWeb.CommunityLive do
1430
1426
|> assign ( :has_more_bounties , length ( bounties ) >= page_size ( ) )
1431
1427
end
1432
1428
1433
- defp page_size , do: 10
1429
+ defp page_size , do: 20
1434
1430
1435
1431
defp glow ( assigns ) do
1436
1432
~H"""
0 commit comments