move recommendations below following

Until we have the reordering option. Recommended will require it's own page most liklely , the show more is strange in the middle of the page.
This commit is contained in:
Thomas Zarebczan 2022-03-21 18:53:09 -04:00
parent 9ee2db99f0
commit 9af32a0024
No known key found for this signature in database
GPG key ID: 767B41E1BB7346F2
2 changed files with 2 additions and 6 deletions

View file

@ -83,7 +83,7 @@ function UserChannelFollowIntro(props: Props) {
label={subscribedChannels.length < 1 ? __('Skip') : __('Continue')}
/>
}
defaultOrderBy={SIMPLE_SITE ? CS.ORDER_BY_TOP : CS.ORDER_BY_TRENDING}
defaultOrderBy={CS.ORDER_BY_TRENDING}
defaultFreshness={CS.FRESH_ALL}
claimType="channel"
claimIds={(CUSTOM_HOMEPAGE && channelIds) || undefined}

View file

@ -126,15 +126,12 @@ function HomePage(props: Props) {
{title && typeof title === 'string' && (
<SectionHeader title={__(resolveTitleOverride(title))} navigate={route || link} icon={icon} help={help} />
)}
{index === 0 && <>{claimTiles}</>}
{index !== 0 && (
<WaitUntilOnPage name={title} placeholder={tilePlaceholder} yOffset={800}>
{claimTiles}
</WaitUntilOnPage>
)}
{(route || link) && (
<Button
className="claim-grid__title--secondary"
@ -144,6 +141,7 @@ function HomePage(props: Props) {
label={__('View More')}
/>
)}
{title && (title === 'Recent From Following' || title === 'Following') && <RecommendedPersonal />}
</div>
);
}
@ -173,8 +171,6 @@ function HomePage(props: Props) {
{SIMPLE_SITE && <Meme />}
{/* @endif */}
<RecommendedPersonal />
{!fetchingActiveLivestreams && (
<>
{authenticated && channelIds.length > 0 && !hideScheduledLivestreams && (