From 6e8ba21b17afb80b23f96c4f8eb2b59312f03d79 Mon Sep 17 00:00:00 2001 From: ditiqi Date: Thu, 27 Feb 2025 19:31:48 +0800 Subject: [PATCH] add --- apps/web/public/logo.svg | 37 +++++++++++++++++++++ apps/web/src/app/main/layout/MainHeader.tsx | 11 +++--- config/nginx/conf.d/web.conf | 2 +- web-dist/index.html | 0 4 files changed, 45 insertions(+), 5 deletions(-) create mode 100755 apps/web/public/logo.svg mode change 100755 => 100644 web-dist/index.html diff --git a/apps/web/public/logo.svg b/apps/web/public/logo.svg new file mode 100755 index 0000000..0f73392 --- /dev/null +++ b/apps/web/public/logo.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/web/src/app/main/layout/MainHeader.tsx b/apps/web/src/app/main/layout/MainHeader.tsx index a0c9399..3ae9245 100755 --- a/apps/web/src/app/main/layout/MainHeader.tsx +++ b/apps/web/src/app/main/layout/MainHeader.tsx @@ -19,9 +19,10 @@ export function MainHeader() { const { searchValue, setSearchValue } = useMainContext(); return ( -
-
-
+
+
+
+
navigate("/")} className="text-2xl font-bold bg-gradient-to-r from-primary-600 via-primary-500 to-primary-400 bg-clip-text text-transparent hover:scale-105 transition-transform cursor-pointer"> @@ -30,7 +31,7 @@ export function MainHeader() {
-
+
+
+
{isAuthenticated && ( <> diff --git a/config/nginx/conf.d/web.conf b/config/nginx/conf.d/web.conf index 2c6260a..67302b8 100755 --- a/config/nginx/conf.d/web.conf +++ b/config/nginx/conf.d/web.conf @@ -100,7 +100,7 @@ server { # 仅供内部使用 internal; # 代理到认证服务 - proxy_pass http://host.docker.internal:3001/auth/file; + proxy_pass http://host.docker.internal:3000/auth/file; # 请求优化:不传递请求体 proxy_pass_request_body off; diff --git a/web-dist/index.html b/web-dist/index.html old mode 100755 new mode 100644