🎨 chore(web): apply ESLint and Prettier auto-fixes (baseline)

- Ran: bun run eslint:fix && bun run lint:fix
- Inserted AGPL license header via eslint-plugin-header
- Enforced no-multiple-empty-lines and other lint rules
- Formatted code using Prettier v3 (@so1ve/prettier-config)
- No functional changes; formatting-only baseline across JS/JSX files
This commit is contained in:
t0ng7u
2025-08-30 21:15:10 +08:00
parent 41cf516ec5
commit 0d57b1acd4
274 changed files with 11025 additions and 7659 deletions

View File

@@ -19,16 +19,21 @@ For commercial licensing, please contact support@quantumnous.com
import React from 'react';
import { Empty } from '@douyinfe/semi-ui';
import { IllustrationNoAccess, IllustrationNoAccessDark } from '@douyinfe/semi-illustrations';
import {
IllustrationNoAccess,
IllustrationNoAccessDark,
} from '@douyinfe/semi-illustrations';
import { useTranslation } from 'react-i18next';
const Forbidden = () => {
const { t } = useTranslation();
return (
<div className="flex justify-center items-center h-screen p-8">
<div className='flex justify-center items-center h-screen p-8'>
<Empty
image={<IllustrationNoAccess style={{ width: 250, height: 250 }} />}
darkModeImage={<IllustrationNoAccessDark style={{ width: 250, height: 250 }} />}
darkModeImage={
<IllustrationNoAccessDark style={{ width: 250, height: 250 }} />
}
description={t('您无权访问此页面,请联系管理员')}
/>
</div>
@@ -36,5 +41,3 @@ const Forbidden = () => {
};
export default Forbidden;