Files
MemoryBear/web/src/views/NotFound/index.tsx

30 lines
663 B
TypeScript

/*
* @Author: ZhaoYing
* @Date: 2026-02-03 17:35:01
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-02-03 17:35:01
*/
/**
* Not Found Page (404)
* Displays when requested route or resource does not exist
*/
import { useTranslation } from 'react-i18next';
import notFoundImg from '@/assets/images/empty/404.png';
import Empty from '@/components/Empty';
const NotFound = () => {
const { t } = useTranslation();
return (
<Empty
url={notFoundImg}
size={[328, 146]}
title={t('empty.notFound')}
subTitle={t('empty.notFoundDesc')}
className="rb:h-[calc(100vh-84px)]"
/>
)
}
export default NotFound;