Barazo default frontend barazo.forum

feat(homepage): add popular topics section, limit to 10 (#121) master

* feat(homepage): add popular topics section, limit to 10 Fetch both recent and popular topics (10 each) in parallel. Renders "Popular Topics" below "Recent Topics" on the homepage. Popular list only shown when topics exist. * fix(test): use getAllByText for topic appearing in both lists The homepage now renders the same topics in both Recent and Popular sections (from mock data), so getByText fails with multiple matches. Switch to getAllByText which correctly handles duplicates.


+15 -5
2 changed files