import { useLocalization } from '@/utils/hooks/useLocalization'
import { Helmet } from 'react-helmet'
import IntranetDashboard from './intranet/Dashboard'

const Dashboard = () => {
  const { translate } = useLocalization()

  return (
    <>
      <Helmet
        titleTemplate="%s | Sözsoft Kurs Platform"
        title={translate('::' + 'Dashboard')}
        defaultTitle="Sözsoft Kurs Platform"
      />
      <div className="flex min-h-screen bg-gray-50 dark:bg-gray-900">
        <div className="flex-1 overflow-y-auto">
          <IntranetDashboard />
        </div>
      </div>
    </>
  )
}

export default Dashboard

