Dashboard Verlinkung drin

Dieser Commit ist enthalten in:
Claude Project Manager
2025-09-29 22:21:34 +02:00
Ursprung d6ab191011
Commit 99070b2eeb

Datei anzeigen

@ -65,12 +65,14 @@ export default function Dashboard() {
value: stats.totalEmployees,
color: 'text-primary-blue',
bgColor: 'bg-bg-accent',
route: '/employees'
},
{
title: 'Skills erfasst',
value: stats.totalSkills,
color: 'text-success',
bgColor: 'bg-success-bg',
route: '/search'
},
]
@ -118,7 +120,7 @@ export default function Dashboard() {
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
{statsCards.map((stat, index) => (
<div key={index} className="card">
<div key={index} className="card" onClick={() => navigate(stat.route)}>
<div className={`w-16 h-16 rounded-card ${stat.bgColor} flex items-center justify-center mb-4`}>
<span className={`text-2xl font-bold ${stat.color}`}>
{stat.value}