feat: login with github and if it is not a pdf file, set the width of chunkContainer to 100% (#106)

* feat: if it is not a pdf file, set the width of chunkContainer to 100%

* feat: login with github
This commit is contained in:
balibabu
2024-03-07 14:23:42 +08:00
committed by GitHub
parent 6048926a4d
commit 2b2808c268
6 changed files with 53 additions and 10 deletions

View File

@ -4,6 +4,7 @@ import { Outlet } from 'umi';
import '../locales/config';
import Header from './components/header';
import { useLoginWithGithub } from '@/hooks/authHook';
import styles from './index.less';
const { Content } = Layout;
@ -13,6 +14,8 @@ const App: React.FC = () => {
token: { colorBgContainer, borderRadiusLG },
} = theme.useToken();
useLoginWithGithub();
return (
<Layout className={styles.layout}>
<Layout>