Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,13 @@ function recentRepoDescription(item: RecentRepoUpdate): string {

<HomeLifecycle />

<!--
The sections under the hero render on the server and hydrate once they
scroll into view, so their code stays out of the scripts the first paint
waits on.
-->
<!-- The first content section: what Skills make, before any list of them. -->
<HomeDemos :demos="demosData?.items ?? []" />
<LazyHomeDemos hydrate-on-visible :demos="demosData?.items ?? []" />

<section
v-if="showTrending || trendingStatus === 'pending'"
Expand All @@ -301,7 +306,7 @@ function recentRepoDescription(item: RecentRepoUpdate): string {

<template v-else>
<div class="mt-8">
<BoardRankedList :rows="trendingBoard" surface="home-trending-row" @avatar-error="onAvatarError" />
<LazyBoardRankedList hydrate-on-visible :rows="trendingBoard" surface="home-trending-row" @avatar-error="onAvatarError" />
</div>
<UButton
:to="weekBoardPath"
Expand All @@ -316,7 +321,7 @@ function recentRepoDescription(item: RecentRepoUpdate): string {
</div>
</section>

<HomeAgents />
<LazyHomeAgents hydrate-on-visible />

<section
id="outcomes"
Expand Down
Loading