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

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

  return (
    <>
      <Helmet
        titleTemplate={`%s | ${APP_NAME}`}
        title={translate('::' + 'Dashboard')}
        defaultTitle={APP_NAME}
      />
      <IntranetDashboard />
    </>
  )
}

export default Dashboard
