Unify workspace dropdowns; Update layouts (#458)
Unified Account and Workspace drop-downs; Layout updates, now header lives within the PageBody component; Sidebars now use floating variant
This commit is contained in:
committed by
GitHub
parent
ca585e09be
commit
4bc8448a1d
26
apps/web/app/[locale]/not-found.tsx
Normal file
26
apps/web/app/[locale]/not-found.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import { getTranslations } from 'next-intl/server';
|
||||
|
||||
import { ErrorPageContent } from '~/components/error-page-content';
|
||||
|
||||
export const generateMetadata = async () => {
|
||||
const t = await getTranslations('common');
|
||||
const title = t('notFound');
|
||||
|
||||
return {
|
||||
title,
|
||||
};
|
||||
};
|
||||
|
||||
const NotFoundPage = async () => {
|
||||
return (
|
||||
<div className={'flex h-screen flex-1 flex-col'}>
|
||||
<ErrorPageContent
|
||||
statusCode={'common.pageNotFoundHeading'}
|
||||
heading={'common.pageNotFound'}
|
||||
subtitle={'common.pageNotFoundSubHeading'}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default NotFoundPage;
|
||||
Reference in New Issue
Block a user