Skip to content

Commit 08541f5

Browse files
committed
项目地址
1 parent 07a9fdf commit 08541f5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/view/chat/components/sidebar/Sidebar.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,19 @@ const Sidebar: React.FC = () => {
170170
<div className="h-full flex flex-col">
171171
<div className="p-4 border-b border-gray-200 flex items-center justify-between">
172172
<h1 className="text-xl font-semibold text-gray-800">聊天</h1>
173+
<a
174+
href="https://github.com/sumingcheng/PeerChat"
175+
target="_blank"
176+
rel="noopener noreferrer"
177+
className="flex items-center hover:opacity-80"
178+
title="GitHub 仓库"
179+
>
180+
<img
181+
src="https://img.shields.io/github/stars/sumingcheng/PeerChat?logo=github"
182+
alt="GitHub Stars"
183+
className="h-5"
184+
/>
185+
</a>
173186
<TooltipProvider>
174187
<div className="flex space-x-2">
175188
<TooltipRoot>

0 commit comments

Comments
 (0)