Skip to content

Commit e5c6860

Browse files
committed
fix(ui): replace unprofessional emojis with Lucide icons
- Removed childish emoji icons from dashboard tabs - Added proper Lucide React icons: - Overview: LayoutDashboard - Search: Search - Dependencies: GitFork - Code Style: Code2 - Impact: Zap - Icons now match brand blue when active - Consistent 16px sizing (w-4 h-4) Professional icon system like Linear/Vercel
1 parent f6e69c5 commit e5c6860

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

frontend/src/components/dashboard/DashboardHome.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { useState, useEffect } from 'react'
22
import { motion, AnimatePresence } from 'framer-motion'
33
import { toast } from 'sonner'
4+
import { LayoutDashboard, Search, GitFork, Code2, Zap } from 'lucide-react'
45
import { useAuth } from '../../contexts/AuthContext'
56
import { RepoList } from '../RepoList'
67
import { AddRepoForm } from '../AddRepoForm'
@@ -91,11 +92,11 @@ export function DashboardHome() {
9192
const isRepoView = selectedRepo && selectedRepoData
9293

9394
const tabs = [
94-
{ id: 'overview', label: 'Overview', icon: '📊' },
95-
{ id: 'search', label: 'Search', icon: '🔍' },
96-
{ id: 'dependencies', label: 'Dependencies', icon: '🔗' },
97-
{ id: 'insights', label: 'Code Style', icon: '✨' },
98-
{ id: 'impact', label: 'Impact', icon: '💥' },
95+
{ id: 'overview', label: 'Overview', icon: LayoutDashboard },
96+
{ id: 'search', label: 'Search', icon: Search },
97+
{ id: 'dependencies', label: 'Dependencies', icon: GitFork },
98+
{ id: 'insights', label: 'Code Style', icon: Code2 },
99+
{ id: 'impact', label: 'Impact', icon: Zap },
99100
] as const
100101

101102
return (
@@ -189,7 +190,7 @@ export function DashboardHome() {
189190
: 'text-gray-400 hover:text-white hover:bg-white/5'
190191
}`}
191192
>
192-
<span>{tab.icon}</span>
193+
<tab.icon className="w-4 h-4" />
193194
<span>{tab.label}</span>
194195
</button>
195196
))}

0 commit comments

Comments
 (0)