diff --git a/README.md b/README.md index fb68b5a96..ef44f01e4 100644 --- a/README.md +++ b/README.md @@ -70,4 +70,4 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the ### 其他问题 还有其他问题,可以加我 wx,拉个交流群大家一起聊聊。 -![](/imgs/erweima.jpg) \ No newline at end of file +![](https://docgpt-1301319986.cos.ap-shanghai.myqcloud.com/icon/erweima.jpg) \ No newline at end of file diff --git a/next.config.js b/next.config.js index 04c3c8a67..e3e375924 100644 --- a/next.config.js +++ b/next.config.js @@ -6,7 +6,17 @@ const isDev = process.env.NODE_ENV === 'development'; const nextConfig = { output: 'standalone', reactStrictMode: false, - compress: true + compress: true, + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: 'docgpt-1301319986.cos.ap-shanghai.myqcloud.com', + port: '', + pathname: '/**' + } + ] + } }; module.exports = nextConfig; diff --git a/public/icon/chatting.svg b/public/icon/chatting.svg deleted file mode 100644 index 32edead6e..000000000 --- a/public/icon/chatting.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/icon/login-bg.svg b/public/icon/login-bg.svg deleted file mode 100644 index 125f07c4a..000000000 --- a/public/icon/login-bg.svg +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/public/icon/loginLeft.svg b/public/icon/loginLeft.svg deleted file mode 100644 index e943b9c8d..000000000 --- a/public/icon/loginLeft.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/imgs/erweima.jpg b/public/imgs/erweima.jpg deleted file mode 100644 index f09d1eff4..000000000 Binary files a/public/imgs/erweima.jpg and /dev/null differ diff --git a/public/imgs/human.png b/public/imgs/human.png deleted file mode 100644 index 639c38755..000000000 Binary files a/public/imgs/human.png and /dev/null differ diff --git a/public/imgs/modelAvatar.png b/public/imgs/modelAvatar.png deleted file mode 100644 index ce1ae793e..000000000 Binary files a/public/imgs/modelAvatar.png and /dev/null differ diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index ce1ae793e..000000000 Binary files a/public/logo.png and /dev/null differ diff --git a/src/components/Layout/navbar.tsx b/src/components/Layout/navbar.tsx index f5395c991..9b30d33da 100644 --- a/src/components/Layout/navbar.tsx +++ b/src/components/Layout/navbar.tsx @@ -34,7 +34,12 @@ const Navbar = ({ > {/* logo */} - + {/* 导航列表 */} diff --git a/src/components/Layout/navbarPhone.tsx b/src/components/Layout/navbarPhone.tsx index 763599509..62e0975c4 100644 --- a/src/components/Layout/navbarPhone.tsx +++ b/src/components/Layout/navbarPhone.tsx @@ -48,7 +48,13 @@ const NavbarPhone = ({ - + {navbarList.map((item) => ( { /imgs/modelAvatar.png @@ -390,7 +394,7 @@ const Chat = () => { {isChatting ? ( {''} { > {isPc && (