feat: layout

This commit is contained in:
EleanorMao
2023-04-24 00:01:13 +08:00
parent 52eee36e4b
commit 075168a5d2
15 changed files with 361 additions and 21 deletions

View File

@ -2,18 +2,21 @@ import React from 'react';
import ReactDOM from 'react-dom/client';
import { ConfigProvider } from 'antd'
import { Theme } from './theme'
import { ThemeProvider } from './theme/ThemeProvider'
import App from './App';
import 'typeface-lato'
import 'antd/dist/reset.css';
import './styles/reset.css';
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
document.getElementById('root') as HTMLElement
);
root.render(
<React.StrictMode>
<React.StrictMode>
<ConfigProvider theme={Theme}>
<App />
<ThemeProvider>
<App />
</ThemeProvider>
</ConfigProvider>
</React.StrictMode>
</React.StrictMode>
);