7 hot topics on the feed page
This commit is contained in:
parent
c03f961d10
commit
233a6042df
|
@ -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>{' '}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user