diff --git a/web/package.json b/web/package.json index 055800d3..0c25494b 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 00000000..0d9dac2f 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 00000000..077653d2 --- /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 00000000..4f3d8448 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 00000000..abf0196d 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 00000000..f8c37ecd 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 00000000..8e32803d 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 00000000..e288645b --- /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 00000000..cf3da8be 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 00000000..95251da0 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 00000000..3246c128 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 00000000..c6413069 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 00000000..55b43fb8 --- /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 00000000..3c2d417e 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 00000000..189a0feb 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 00000000..6904b664 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 7ddf6625..d1fcd4c1 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 e0369d99..0550c477 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'],