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:
parent
9ee2db99f0
commit
9af32a0024
2 changed files with 2 additions and 6 deletions
|
@ -83,7 +83,7 @@ function UserChannelFollowIntro(props: Props) {
|
||||||
label={subscribedChannels.length < 1 ? __('Skip') : __('Continue')}
|
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}
|
defaultFreshness={CS.FRESH_ALL}
|
||||||
claimType="channel"
|
claimType="channel"
|
||||||
claimIds={(CUSTOM_HOMEPAGE && channelIds) || undefined}
|
claimIds={(CUSTOM_HOMEPAGE && channelIds) || undefined}
|
||||||
|
|
|
@ -126,15 +126,12 @@ function HomePage(props: Props) {
|
||||||
{title && typeof title === 'string' && (
|
{title && typeof title === 'string' && (
|
||||||
<SectionHeader title={__(resolveTitleOverride(title))} navigate={route || link} icon={icon} help={help} />
|
<SectionHeader title={__(resolveTitleOverride(title))} navigate={route || link} icon={icon} help={help} />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{index === 0 && <>{claimTiles}</>}
|
{index === 0 && <>{claimTiles}</>}
|
||||||
|
|
||||||
{index !== 0 && (
|
{index !== 0 && (
|
||||||
<WaitUntilOnPage name={title} placeholder={tilePlaceholder} yOffset={800}>
|
<WaitUntilOnPage name={title} placeholder={tilePlaceholder} yOffset={800}>
|
||||||
{claimTiles}
|
{claimTiles}
|
||||||
</WaitUntilOnPage>
|
</WaitUntilOnPage>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{(route || link) && (
|
{(route || link) && (
|
||||||
<Button
|
<Button
|
||||||
className="claim-grid__title--secondary"
|
className="claim-grid__title--secondary"
|
||||||
|
@ -144,6 +141,7 @@ function HomePage(props: Props) {
|
||||||
label={__('View More')}
|
label={__('View More')}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
{title && (title === 'Recent From Following' || title === 'Following') && <RecommendedPersonal />}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -173,8 +171,6 @@ function HomePage(props: Props) {
|
||||||
{SIMPLE_SITE && <Meme />}
|
{SIMPLE_SITE && <Meme />}
|
||||||
{/* @endif */}
|
{/* @endif */}
|
||||||
|
|
||||||
<RecommendedPersonal />
|
|
||||||
|
|
||||||
{!fetchingActiveLivestreams && (
|
{!fetchingActiveLivestreams && (
|
||||||
<>
|
<>
|
||||||
{authenticated && channelIds.length > 0 && !hideScheduledLivestreams && (
|
{authenticated && channelIds.length > 0 && !hideScheduledLivestreams && (
|
||||||
|
|
Loading…
Reference in a new issue