'use client'; import { useState } from 'react'; import Link from 'next/link'; import styles from './ham.module.css'; import shared from '../shared/components.module.css'; // Mock data const MOCK_STATS = { totalEmployees: 247, presentToday: 231, onLeaveToday: 12, pendingApprovals: 8, upcomingBirthdays: 5, reviewsDue: 15, payrollStatus: 'Processed' }; const MOCK_BIRTHDAYS = [ { id: 1, name: 'Rahul Sharma', date: 'Tomorrow', department: 'Engineering' }, { id: 2, name: 'Priya Patel', date: 'Dec 23', department: 'Marketing' }, { id: 3, name: 'Amit Kumar', date: 'Dec 25', department: 'Sales' } ]; const MOCK_RECENT_ACTIVITIES = [ { id: 1, type: 'leave', message: 'Vikram Singh applied for leave', time: '10 mins ago' }, { id: 2, type: 'attendance', message: 'Sarah Williams checked in', time: '25 mins ago' }, { id: 3, type: 'review', message: 'Performance review completed for John Doe', time: '1 hour ago' }, { id: 4, type: 'employee', message: 'New employee onboarded: Jane Smith', time: '2 hours ago' } ]; export default function HAMDashboard() { const [stats] = useState(MOCK_STATS); return (
Human Asset Management Overview