refactor(explore): use grid layout for highlights tab

- Change highlights from list view to grid/card view
- Match the visual style of the writings tab
- Keep tab structure at the top
- Explore page now shows more content at once
This commit is contained in:
Gigi
2025-10-14 10:46:15 +02:00
parent 0aba54bd23
commit 8f7991e971

View File

@@ -232,11 +232,11 @@ const Explore: React.FC<ExploreProps> = ({ relayPool, activeTab: propActiveTab }
case 'highlights':
return highlights.length === 0 ? (
<div className="explore-empty">
<div className="explore-empty" style={{ gridColumn: '1/-1', textAlign: 'center', color: 'var(--text-secondary)' }}>
<p>No highlights yet. Your friends should start highlighting content!</p>
</div>
) : (
<div className="highlights-list me-highlights-list">
<div className="explore-grid">
{highlights.map((highlight) => (
<HighlightItem
key={highlight.id}