From bfd347a52c7f0f4632e0ccd92781a1506a288f85 Mon Sep 17 00:00:00 2001 From: shuaiplus <2327005759@qq.com> Date: Mon, 27 Apr 2026 02:01:27 +0800 Subject: [PATCH] feat: update SVG logos and enhance brand wordmark styling --- NodeWarden.svg | 22 ++++++++++++--- README.md | 28 +++++++++++-------- README_EN.md | 28 +++++++++++++------ webapp/public/nodewarden-wordmark.svg | 15 +++++++--- .../src/components/AppAuthenticatedShell.tsx | 2 +- webapp/src/components/StandalonePageFrame.tsx | 2 +- webapp/src/styles/auth.css | 7 ++++- webapp/src/styles/shell.css | 7 ++++- 8 files changed, 80 insertions(+), 31 deletions(-) diff --git a/NodeWarden.svg b/NodeWarden.svg index 350443c..b21157c 100644 --- a/NodeWarden.svg +++ b/NodeWarden.svg @@ -1,5 +1,19 @@ - - - - + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index 6f54603..f99a5f1 100644 --- a/README.md +++ b/README.md @@ -3,21 +3,27 @@

- 运行在 Cloudflare Workers 上的第三方 Bitwarden 兼容服务端。 + 运行在 Cloudflare Workers 上的 Bitwarden 兼容服务端

-[![Powered by Cloudflare](https://img.shields.io/badge/Powered%20by-Cloudflare-F38020?logo=cloudflare&logoColor=white)](https://workers.cloudflare.com/) -[![License: LGPL-3.0](https://img.shields.io/badge/License-LGPL--3.0-2ea44f)](./LICENSE) -[![Latest Release](https://img.shields.io/github/v/release/shuaiplus/NodeWarden?display_name=tag)](https://github.com/shuaiplus/NodeWarden/releases/latest) -[![Sync Upstream](https://github.com/shuaiplus/NodeWarden/actions/workflows/sync-upstream.yml/badge.svg)](https://github.com/shuaiplus/NodeWarden/actions/workflows/sync-upstream.yml) +

+ Powered by Cloudflare + License: LGPL-3.0 + Latest Release + Sync Upstream +

-[更新日志](./RELEASE_NOTES.md) | [提交问题](https://github.com/shuaiplus/NodeWarden/issues/new/choose) | [最新发布](https://github.com/shuaiplus/NodeWarden/releases/latest) +

+ 更新日志 | + 提交问题 | + 最新发布
+ 文档首页 | + 快速开始
+ Telegram 频道 | + Telegram 群组
+

-[文档首页](./nodewarden.wiki/Home.md) | [快速开始](./nodewarden.wiki/快速开始.md) - -[Telegram 频道](https://t.me/NodeWarden_News) | [Telegram 群组](https://t.me/NodeWarden_Official) - -English: [`README_EN.md`](./README_EN.md) +English: README_EN.md > **免责声明** > 本项目仅供学习与交流使用,请定期备份你的密码库。 diff --git a/README_EN.md b/README_EN.md index 14a435e..faa7138 100644 --- a/README_EN.md +++ b/README_EN.md @@ -3,15 +3,27 @@

- A third-party Bitwarden-compatible server running on Cloudflare Workers. + ABitwarden-compatible server running on Cloudflare Workers +

-[![Powered by Cloudflare](https://img.shields.io/badge/Powered%20by-Cloudflare-F38020?logo=cloudflare&logoColor=white)](https://workers.cloudflare.com/) -[![License: LGPL-3.0](https://img.shields.io/badge/License-LGPL--3.0-2ea44f)](./LICENSE) -[![Latest Release](https://img.shields.io/github/v/release/shuaiplus/NodeWarden?display_name=tag)](https://github.com/shuaiplus/NodeWarden/releases/latest) -[![Sync Upstream](https://github.com/shuaiplus/NodeWarden/actions/workflows/sync-upstream.yml/badge.svg)](https://github.com/shuaiplus/NodeWarden/actions/workflows/sync-upstream.yml) -[Release Notes](./RELEASE_NOTES.md) | [Report an Issue](https://github.com/shuaiplus/NodeWarden/issues/new/choose) | [Latest Release](https://github.com/shuaiplus/NodeWarden/releases/latest) -[Telegram Channel](https://t.me/NodeWarden_News) | [Telegram Group](https://t.me/NodeWarden_Official) -中文说明:[`README.md`](./README.md) + +

+ Powered by Cloudflare + License: LGPL-3.0 + Latest Release + Sync Upstream +

+ +

+ Release Notes | + Report an Issue | + Latest Release
+ Telegram Channel | + Telegram Group
+ +

+ +中文说明:README.md > **Disclaimer** > diff --git a/webapp/public/nodewarden-wordmark.svg b/webapp/public/nodewarden-wordmark.svg index 350443c..f4e6742 100644 --- a/webapp/public/nodewarden-wordmark.svg +++ b/webapp/public/nodewarden-wordmark.svg @@ -1,5 +1,12 @@ - - - - + + + + + + + + + + + diff --git a/webapp/src/components/AppAuthenticatedShell.tsx b/webapp/src/components/AppAuthenticatedShell.tsx index 69fdbd9..2c19e35 100644 --- a/webapp/src/components/AppAuthenticatedShell.tsx +++ b/webapp/src/components/AppAuthenticatedShell.tsx @@ -34,7 +34,7 @@ export default function AppAuthenticatedShell(props: AppAuthenticatedShellProps)
NodeWarden logo - NodeWarden + {props.currentPageTitle}
diff --git a/webapp/src/components/StandalonePageFrame.tsx b/webapp/src/components/StandalonePageFrame.tsx index a9d58e6..bf28005 100644 --- a/webapp/src/components/StandalonePageFrame.tsx +++ b/webapp/src/components/StandalonePageFrame.tsx @@ -12,7 +12,7 @@ export default function StandalonePageFrame(props: StandalonePageFrameProps) {
NodeWarden logo
- NodeWarden +
diff --git a/webapp/src/styles/auth.css b/webapp/src/styles/auth.css index 4204a0f..8c69004 100644 --- a/webapp/src/styles/auth.css +++ b/webapp/src/styles/auth.css @@ -51,7 +51,12 @@ } .standalone-brand-wordmark { - @apply block max-w-full whitespace-nowrap text-[34px] font-extrabold leading-none tracking-normal text-ink; + @apply block max-w-full; + width: clamp(200px, 30vw, 340px); + aspect-ratio: 862 / 102; + background: #116ff9; + mask: url('/nodewarden-wordmark.svg') center / contain no-repeat; + -webkit-mask: url('/nodewarden-wordmark.svg') center / contain no-repeat; } .standalone-title { diff --git a/webapp/src/styles/shell.css b/webapp/src/styles/shell.css index 307b3c3..22a23f2 100644 --- a/webapp/src/styles/shell.css +++ b/webapp/src/styles/shell.css @@ -22,7 +22,12 @@ } .brand-wordmark { - @apply block max-w-full whitespace-nowrap text-[28px] font-extrabold leading-none tracking-normal text-ink; + @apply block max-w-full; + width: clamp(168px, 17vw, 224px); + aspect-ratio: 862 / 102; + background: #116ff9; + mask: url('/nodewarden-wordmark.svg') center / contain no-repeat; + -webkit-mask: url('/nodewarden-wordmark.svg') center / contain no-repeat; } .mobile-page-title {