Dashboard Verlinkung drin
Dieser Commit ist enthalten in:
@ -65,12 +65,14 @@ export default function Dashboard() {
|
|||||||
value: stats.totalEmployees,
|
value: stats.totalEmployees,
|
||||||
color: 'text-primary-blue',
|
color: 'text-primary-blue',
|
||||||
bgColor: 'bg-bg-accent',
|
bgColor: 'bg-bg-accent',
|
||||||
|
route: '/employees'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Skills erfasst',
|
title: 'Skills erfasst',
|
||||||
value: stats.totalSkills,
|
value: stats.totalSkills,
|
||||||
color: 'text-success',
|
color: 'text-success',
|
||||||
bgColor: 'bg-success-bg',
|
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">
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
||||||
{statsCards.map((stat, index) => (
|
{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`}>
|
<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}`}>
|
<span className={`text-2xl font-bold ${stat.color}`}>
|
||||||
{stat.value}
|
{stat.value}
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren