'use client';

import React from 'react';
import { PayrollManagement } from '@/features/payroll-reward-system/components';
import DashboardLayout from '@/layouts/DashboardLayout';

export default function AdminPayrollPage() {
  return (
    <DashboardLayout>
      <div className="mb-6">
        <h1 className="text-2xl font-bold text-gray-900">Admin Payroll</h1>
        <p className="text-gray-600">Kelola perhitungan dan pembayaran payroll peserta.</p>
      </div>
      <PayrollManagement userRole="admin" />
    </DashboardLayout>
  );
}