Files
myeasycms-v2/apps/web/app/home/(user)/settings/layout.tsx
2024-04-30 22:16:38 +07:00

22 lines
518 B
TypeScript

import { Trans } from '@kit/ui/trans';
import { withI18n } from '~/lib/i18n/with-i18n';
// local imports
import { HomeLayoutPageHeader } from '../_components/home-page-header';
function UserSettingsLayout(props: React.PropsWithChildren) {
return (
<>
<HomeLayoutPageHeader
title={<Trans i18nKey={'account:accountTabLabel'} />}
description={<Trans i18nKey={'account:accountTabDescription'} />}
/>
{props.children}
</>
);
}
export default withI18n(UserSettingsLayout);