'use client'; import * as React from 'react'; // import type { Metadata } from 'next'; import Box from '@mui/material/Box'; import Button from '@mui/material/Button'; import Stack from '@mui/material/Stack'; import Typography from '@mui/material/Typography'; import Grid from '@mui/material/Unstable_Grid2'; import { ArrowRight as ArrowRightIcon } from '@phosphor-icons/react/dist/ssr/ArrowRight'; import { Briefcase as BriefcaseIcon } from '@phosphor-icons/react/dist/ssr/Briefcase'; import { FileCode as FileCodeIcon } from '@phosphor-icons/react/dist/ssr/FileCode'; import { Info as InfoIcon } from '@phosphor-icons/react/dist/ssr/Info'; import { ListChecks as ListChecksIcon } from '@phosphor-icons/react/dist/ssr/ListChecks'; import { Plus as PlusIcon } from '@phosphor-icons/react/dist/ssr/Plus'; import { Users as UsersIcon } from '@phosphor-icons/react/dist/ssr/Users'; import { Warning as WarningIcon } from '@phosphor-icons/react/dist/ssr/Warning'; import { useTranslation } from 'react-i18next'; // import { config } from '@/config'; import { dayjs } from '@/lib/dayjs'; import { AppChat } from '@/components/dashboard/overview/app-chat'; import { AppLimits } from '@/components/dashboard/overview/app-limits'; import { AppUsage } from '@/components/dashboard/overview/app-usage'; import { Events } from '@/components/dashboard/overview/events'; import { HelperWidget } from '@/components/dashboard/overview/helper-widget'; import { Subscriptions } from '@/components/dashboard/overview/subscriptions'; import { Summary } from '@/components/dashboard/overview/summary'; // TODO: remove me // export const metadata = { title: `Overview | Dashboard | ${config.site.name}` } satisfies Metadata; export default function Page(): React.JSX.Element { const { t } = useTranslation(); // return <>helloworld; return ( {t('Overview')}
} size="small"> {t('Search jobs')} } description={t('Search for jobs that match your skills and apply to them directly.')} icon={BriefcaseIcon} label={t('Jobs')} title={t('Find your dream job')} /> } size="small"> {t('Help center')} } description={t('Find answers to your questions and get in touch with our team.')} icon={InfoIcon} label={t('Help center')} title={t('Need help figuring things out?')} /> } size="small"> {t('Documentation')} } description={t('Learn how to get started with our product and make the most of it.')} icon={FileCodeIcon} label={t('Documentation')} title={t('Explore documentation')} /> ); }