Skip to content

Commit

Permalink
chore: update feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
byodian committed Oct 20, 2024
1 parent 0dcfd7f commit 0a97309
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions src/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,23 +300,8 @@ export function Header(props: HeaderProps) {
<BookOpen className="w-4 h-4 mr-2" />
<span>指南</span>
</MenubarItem>
<Tooltip delayDuration={0}>
<TooltipTrigger className="w-full px-2 py-1.5 hidden sm:block">
<div className="flex items-center text-sm">
<MessageSquareMore className="w-4 h-4 mr-2" />
<span>反馈建议</span>
</div>
</TooltipTrigger>
<TooltipContent side="right" sideOffset={-50}>
<div className="rounded-sm px-2 py-1.5 text-white bg-black text-sm">
<p>您有任何问题或改进建议,</p>
<p>可以发送电子邮件至 [email protected]</p>
<p>或者添加微信 <span className="font-bold">byo952</span> 与我们取得联系。</p>
</div>
</TooltipContent>
</Tooltip>
<MenubarItem asChild className="sm:hidden">
<a href="mailto:[email protected]?subject=改进建议或问题反馈&body=您好,%0A%0A我想反馈以下问题或提供一些改进建议: %0A%0A[请在这里描述您的问题或建议]%0A%0A系统信息%0A操作系统:%0A浏览器:%0A应用版本:%0A%0A谢谢!" target="_blank" rel="noreferrer">
<MenubarItem asChild className="">
<a href="https://support.qq.com/product/673291" target="_blank" rel="noreferrer">
<MessageSquareMore className="w-4 h-4 mr-2" />
<span>反馈建议</span>
</a>
Expand All @@ -336,7 +321,7 @@ export function Header(props: HeaderProps) {
</div>
</TooltipTrigger>
<TooltipContent side="right" sideOffset={-50}>
<div className="text-white text-sm">
<div className="px-2 py-1.5 text-sm bg-white rounded-xl shadow-xl">
<Image src="/images/wechat.png" alt="github icon" width={500} height={500} />
</div>
</TooltipContent>
Expand Down

0 comments on commit 0a97309

Please sign in to comment.