7 hot topics on the feed page

This commit is contained in:
kvakazyambra 2023-06-15 23:47:54 +03:00
parent c03f961d10
commit 233a6042df

View File

@ -178,7 +178,7 @@ export const FeedView = () => {
<Show when={topTopics().length > 0}> <Show when={topTopics().length > 0}>
<section class={styles.asideSection}> <section class={styles.asideSection}>
<h4>{t('Hot topics')}</h4> <h4>{t('Hot topics')}</h4>
<For each={topTopics().slice(0, 5)}> <For each={topTopics().slice(0, 7)}>
{(topic) => ( {(topic) => (
<span class={clsx(stylesTopic.shoutTopic, styles.topic)}> <span class={clsx(stylesTopic.shoutTopic, styles.topic)}>
<a href={`/topic/${topic.slug}`}>{topic.title}</a>{' '} <a href={`/topic/${topic.slug}`}>{topic.title}</a>{' '}