From e5aa9b3e3741428cc8296d380ae705a5fe17f6b1 Mon Sep 17 00:00:00 2001 From: nmemmert Date: Mon, 19 Jan 2026 08:24:10 -0500 Subject: [PATCH] BottomNav: replace emoji icons with Lucide, unify icon sizes and actions --- src/components/BottomNav.tsx | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/components/BottomNav.tsx b/src/components/BottomNav.tsx index 749cf66..c1761a2 100644 --- a/src/components/BottomNav.tsx +++ b/src/components/BottomNav.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { useAuth } from '@/context/AuthContext'; import { useState } from 'react'; +import { Home, PenSquare, Calendar as CalendarIcon, HandHeart, CheckCircle2, BookOpen, Info, EllipsisVertical, LogOut } from 'lucide-react'; interface BottomNavProps { activeTab: 'home' | 'compose' | 'journal' | 'answered' | 'praying' | 'reflections' | 'about'; @@ -14,16 +15,16 @@ export default function BottomNav({ activeTab, onTabChange }: BottomNavProps) { const [showMoreMenu, setShowMoreMenu] = useState(false); const primaryNavItems = [ - { id: 'home' as const, label: 'Home', icon: '🏠' }, - { id: 'compose' as const, label: 'Compose', icon: 'âœī¸' }, - { id: 'journal' as const, label: 'Journal', icon: '📅' }, - { id: 'praying' as const, label: 'Praying', icon: '🙏' }, - ]; + { id: 'home' as const, label: 'Home', icon: }, + { id: 'compose' as const, label: 'Compose', icon: }, + { id: 'journal' as const, label: 'Journal', icon: }, + { id: 'praying' as const, label: 'Praying', icon: }, + ]; - const moreMenuItems = [ - { id: 'answered' as const, label: 'Answered', icon: '✅' }, - { id: 'reflections' as const, label: 'Reflections', icon: '📖' }, - { id: 'about' as const, label: 'About', icon: 'â„šī¸' }, + const moreMenuItems = [ + { id: 'answered' as const, label: 'Answered', icon: }, + { id: 'reflections' as const, label: 'Reflections', icon: }, + { id: 'about' as const, label: 'About', icon: }, ]; const allNavItems = [...primaryNavItems, ...moreMenuItems]; @@ -59,7 +60,7 @@ export default function BottomNav({ activeTab, onTabChange }: BottomNavProps) { : 'text-slate-700 dark:text-slate-300 hover:bg-slate-50 dark:hover:bg-slate-700' }`} > - {item.icon} + {item.icon} {item.label} ))} @@ -70,7 +71,7 @@ export default function BottomNav({ activeTab, onTabChange }: BottomNavProps) { }} className="w-full px-6 py-4 flex items-center gap-4 text-red-600 dark:text-red-400 hover:bg-red-50 dark:hover:bg-red-900/20 transition-colors" > - đŸšĒ + Logout @@ -102,7 +103,7 @@ export default function BottomNav({ activeTab, onTabChange }: BottomNavProps) { : 'text-slate-600 dark:text-slate-400' }`} > - ⋯ + More @@ -123,7 +124,7 @@ export default function BottomNav({ activeTab, onTabChange }: BottomNavProps) { : 'text-slate-600 dark:text-slate-400 hover:bg-slate-100 dark:hover:bg-slate-700' }`} > - {item.icon} + {item.icon} {item.label} ))}