Skip to content

Commit 14bd40c

Browse files
committed
Change 'Trending Pages' to 'Trending' across all navigation
- Updated desktop sidebar, mobile toolbar, and mobile overflow navigation - Consistent shorter label 'Trending' instead of 'Trending Pages' - Maintains same functionality and routing to /trending-pages - Ready for production deployment
1 parent 2cf6e2d commit 14bd40c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/components/layout/MobileBottomNav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ export default function MobileBottomNav() {
374374
'home': { icon: Home, label: 'Home', href: '/' },
375375
'search': { icon: Search, label: 'Search', href: '/search' },
376376
'random-pages': { icon: Shuffle, label: 'Random', href: '/random-pages' },
377-
'trending-pages': { icon: TrendingUp, label: 'Trending Pages', href: '/trending-pages' },
377+
'trending-pages': { icon: TrendingUp, label: 'Trending', href: '/trending-pages' },
378378
'recents': { icon: Clock, label: 'Recents', href: '/recents' },
379379
'following': { icon: Heart, label: 'Following', href: '/following' },
380380
'notifications': { icon: Bell, label: 'Notifications', href: '/notifications' },
@@ -455,7 +455,7 @@ export default function MobileBottomNav() {
455455
},
456456
onHover: () => handleButtonHover('/trending-pages'),
457457
isActive: pathname === '/trending-pages',
458-
ariaLabel: 'Trending Pages',
458+
ariaLabel: 'Trending',
459459
label: 'Trending',
460460
},
461461
recents: {

app/components/layout/MobileOverflowSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export function MobileOverflowSidebar({ isOpen, onClose, onDragStart, editorProp
127127
'home': { icon: Home, label: 'Home', href: '/' },
128128
'search': { icon: Search, label: 'Search', href: '/search' },
129129
'random-pages': { icon: Shuffle, label: 'Random', href: '/random-pages' },
130-
'trending-pages': { icon: TrendingUp, label: 'Trending Pages', href: '/trending-pages' },
130+
'trending-pages': { icon: TrendingUp, label: 'Trending', href: '/trending-pages' },
131131
'recents': { icon: Clock, label: 'Recents', href: '/recents' },
132132
'following': { icon: Heart, label: 'Following', href: '/following' },
133133
'notifications': { icon: Bell, label: 'Notifications', href: '/notifications' },

app/components/layout/UnifiedSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ function UnifiedSidebarContent({
263263
'home': { icon: Home, label: 'Home', href: '/' },
264264
'search': { icon: Search, label: 'Search', href: '/search' },
265265
'random-pages': { icon: Shuffle, label: 'Random', href: '/random-pages' },
266-
'trending-pages': { icon: TrendingUp, label: 'Trending Pages', href: '/trending-pages' },
266+
'trending-pages': { icon: TrendingUp, label: 'Trending', href: '/trending-pages' },
267267
'recents': { icon: Clock, label: 'Recents', href: '/recents' },
268268
'following': { icon: Heart, label: 'Following', href: '/following' },
269269
'new': { icon: Plus, label: 'New Page', href: '/new' },

0 commit comments

Comments
 (0)