30 lines
899 B
TypeScript
30 lines
899 B
TypeScript
'use client';
|
|
|
|
import * as React from 'react';
|
|
import type { Metadata } from 'next';
|
|
import Stack from '@mui/material/Stack';
|
|
import Typography from '@mui/material/Typography';
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { config } from '@/config';
|
|
import { EmailNotifications } from '@/components/dashboard/settings/email-notifications';
|
|
import { PhoneNotifications } from '@/components/dashboard/settings/phone-notifications';
|
|
|
|
// export const metadata = { title: `Notifications | Settings | Dashboard | ${config.site.name}` } satisfies Metadata;
|
|
|
|
export default function Page(): React.JSX.Element {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<Stack spacing={4}>
|
|
<div>
|
|
<Typography variant="h4">{t('notifications')}</Typography>
|
|
</div>
|
|
<Stack spacing={4}>
|
|
<EmailNotifications />
|
|
<PhoneNotifications />
|
|
</Stack>
|
|
</Stack>
|
|
);
|
|
}
|