build ok,
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import type { Metadata } from 'next';
|
// import type { Metadata } from 'next';
|
||||||
import Box from '@mui/material/Box';
|
import Box from '@mui/material/Box';
|
||||||
import Button from '@mui/material/Button';
|
import Button from '@mui/material/Button';
|
||||||
import Stack from '@mui/material/Stack';
|
import Stack from '@mui/material/Stack';
|
||||||
@@ -13,6 +15,7 @@ import { ListChecks as ListChecksIcon } from '@phosphor-icons/react/dist/ssr/Lis
|
|||||||
import { Plus as PlusIcon } from '@phosphor-icons/react/dist/ssr/Plus';
|
import { Plus as PlusIcon } from '@phosphor-icons/react/dist/ssr/Plus';
|
||||||
import { Users as UsersIcon } from '@phosphor-icons/react/dist/ssr/Users';
|
import { Users as UsersIcon } from '@phosphor-icons/react/dist/ssr/Users';
|
||||||
import { Warning as WarningIcon } from '@phosphor-icons/react/dist/ssr/Warning';
|
import { Warning as WarningIcon } from '@phosphor-icons/react/dist/ssr/Warning';
|
||||||
|
import { useTranslation } from 'react-i18next';
|
||||||
|
|
||||||
import { config } from '@/config';
|
import { config } from '@/config';
|
||||||
import { dayjs } from '@/lib/dayjs';
|
import { dayjs } from '@/lib/dayjs';
|
||||||
@@ -24,9 +27,14 @@ import { HelperWidget } from '@/components/dashboard/overview/helper-widget';
|
|||||||
import { Subscriptions } from '@/components/dashboard/overview/subscriptions';
|
import { Subscriptions } from '@/components/dashboard/overview/subscriptions';
|
||||||
import { Summary } from '@/components/dashboard/overview/summary';
|
import { Summary } from '@/components/dashboard/overview/summary';
|
||||||
|
|
||||||
export const metadata = { title: `Overview | Dashboard | ${config.site.name}` } satisfies Metadata;
|
// TODO: remove me
|
||||||
|
// export const metadata = { title: `Overview | Dashboard | ${config.site.name}` } satisfies Metadata;
|
||||||
|
|
||||||
export default function Page(): React.JSX.Element {
|
export default function Page(): React.JSX.Element {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
// return <>helloworld</>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
Reference in New Issue
Block a user