mirror of
https://github.com/dergigi/boris.git
synced 2025-12-25 18:44:23 +01:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user