diff --git a/web/package.json b/web/package.json index 055800d..0c25494 100644 --- a/web/package.json +++ b/web/package.json @@ -20,7 +20,7 @@ "react-telegram-login": "^1.1.2", "react-toastify": "^9.0.8", "react-turnstile": "^1.0.5", - "semantic-ui-css": "^2.5.0", + "semantic-ui-offline": "^2.5.0", "semantic-ui-react": "^2.1.3" }, "scripts": { @@ -48,10 +48,10 @@ ] }, "devDependencies": { + "@vitejs/plugin-react": "^4.2.1", "prettier": "2.8.8", "typescript": "4.4.2", - "vite": "^5.2.0", - "@vitejs/plugin-react": "^4.2.1" + "vite": "^5.2.0" }, "prettier": { "singleQuote": true, diff --git a/web/src/font/lato-v15-latin-bold.eot b/web/src/font/lato-v15-latin-bold.eot new file mode 100644 index 0000000..0d9dac2 Binary files /dev/null and b/web/src/font/lato-v15-latin-bold.eot differ diff --git a/web/src/font/lato-v15-latin-bold.svg b/web/src/font/lato-v15-latin-bold.svg new file mode 100644 index 0000000..077653d --- /dev/null +++ b/web/src/font/lato-v15-latin-bold.svg @@ -0,0 +1,438 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/src/font/lato-v15-latin-bold.ttf b/web/src/font/lato-v15-latin-bold.ttf new file mode 100644 index 0000000..4f3d844 Binary files /dev/null and b/web/src/font/lato-v15-latin-bold.ttf differ diff --git a/web/src/font/lato-v15-latin-bold.woff b/web/src/font/lato-v15-latin-bold.woff new file mode 100644 index 0000000..abf0196 Binary files /dev/null and b/web/src/font/lato-v15-latin-bold.woff differ diff --git a/web/src/font/lato-v15-latin-bold.woff2 b/web/src/font/lato-v15-latin-bold.woff2 new file mode 100644 index 0000000..f8c37ec Binary files /dev/null and b/web/src/font/lato-v15-latin-bold.woff2 differ diff --git a/web/src/font/lato-v15-latin-italic.eot b/web/src/font/lato-v15-latin-italic.eot new file mode 100644 index 0000000..8e32803 Binary files /dev/null and b/web/src/font/lato-v15-latin-italic.eot differ diff --git a/web/src/font/lato-v15-latin-italic.svg b/web/src/font/lato-v15-latin-italic.svg new file mode 100644 index 0000000..e288645 --- /dev/null +++ b/web/src/font/lato-v15-latin-italic.svg @@ -0,0 +1,450 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/src/font/lato-v15-latin-italic.ttf b/web/src/font/lato-v15-latin-italic.ttf new file mode 100644 index 0000000..cf3da8b Binary files /dev/null and b/web/src/font/lato-v15-latin-italic.ttf differ diff --git a/web/src/font/lato-v15-latin-italic.woff b/web/src/font/lato-v15-latin-italic.woff new file mode 100644 index 0000000..95251da Binary files /dev/null and b/web/src/font/lato-v15-latin-italic.woff differ diff --git a/web/src/font/lato-v15-latin-italic.woff2 b/web/src/font/lato-v15-latin-italic.woff2 new file mode 100644 index 0000000..3246c12 Binary files /dev/null and b/web/src/font/lato-v15-latin-italic.woff2 differ diff --git a/web/src/font/lato-v15-latin-regular.eot b/web/src/font/lato-v15-latin-regular.eot new file mode 100644 index 0000000..c641306 Binary files /dev/null and b/web/src/font/lato-v15-latin-regular.eot differ diff --git a/web/src/font/lato-v15-latin-regular.svg b/web/src/font/lato-v15-latin-regular.svg new file mode 100644 index 0000000..55b43fb --- /dev/null +++ b/web/src/font/lato-v15-latin-regular.svg @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/src/font/lato-v15-latin-regular.ttf b/web/src/font/lato-v15-latin-regular.ttf new file mode 100644 index 0000000..3c2d417 Binary files /dev/null and b/web/src/font/lato-v15-latin-regular.ttf differ diff --git a/web/src/font/lato-v15-latin-regular.woff b/web/src/font/lato-v15-latin-regular.woff new file mode 100644 index 0000000..189a0fe Binary files /dev/null and b/web/src/font/lato-v15-latin-regular.woff differ diff --git a/web/src/font/lato-v15-latin-regular.woff2 b/web/src/font/lato-v15-latin-regular.woff2 new file mode 100644 index 0000000..6904b66 Binary files /dev/null and b/web/src/font/lato-v15-latin-regular.woff2 differ diff --git a/web/src/index.js b/web/src/index.js index 7ddf662..d1fcd4c 100644 --- a/web/src/index.js +++ b/web/src/index.js @@ -4,7 +4,7 @@ import {BrowserRouter} from 'react-router-dom'; import App from './App'; import HeaderBar from './components/HeaderBar'; import Footer from './components/Footer'; -import 'semantic-ui-css/semantic.min.css'; +import 'semantic-ui-offline/semantic.min.css'; import './index.css'; import {UserProvider} from './context/User'; import {ToastContainer} from 'react-toastify'; diff --git a/web/vite.config.js b/web/vite.config.js index e0369d9..0550c47 100644 --- a/web/vite.config.js +++ b/web/vite.config.js @@ -33,7 +33,7 @@ export default defineConfig({ manualChunks: { 'react-core': ['react', 'react-dom', 'react-router-dom'], 'semi-ui': ['@douyinfe/semi-icons', '@douyinfe/semi-ui'], - 'semantic': ['semantic-ui-css', 'semantic-ui-react'], + 'semantic': ['semantic-ui-offline', 'semantic-ui-react'], 'visactor': ['@visactor/react-vchart', '@visactor/vchart'], 'tools': ['axios', 'history', 'marked'], 'react-components': ['react-dropzone', 'react-fireworks', 'react-telegram-login', 'react-toastify', 'react-turnstile'],