import { Container, DataGridInner } from '@/components';
import { LogActivityContextProvider } from './hooks';
import { Breadcrumbs, Link } from '@mui/material';
import { Helmet } from 'react-helmet';

export default function LogActivityPage() {
  return (
    <>
      <Helmet>
        <title>TPAY | Log Activity</title>
      </Helmet>
      <LogActivityContextProvider>
        <Container>
          <h1 className="text-xl font-medium leading-none text-gray-900 mb-3">Log Activity</h1>
          <Breadcrumbs sx={{ mb: 2 }}>
            <Link underline="none" color="inherit" href="/">
              <span className="text-sm hover:underline">Dashboard</span>
            </Link>

            <Link underline="none" color="inherit">
              <span className="text-sm">Settings</span>
            </Link>

            <Link underline="none" color="inherit">
              <span className="text-sm">User Management</span>
            </Link>

            <Link underline="none" color="inherit">
              <span className="text-sm">Log Activity</span>
            </Link>
          </Breadcrumbs>
          <div className="grid gap-5 lg:gap-7.5">
            <DataGridInner />
          </div>
        </Container>
      </LogActivityContextProvider>
    </>
  );
}
