Skip to content

Commit

Permalink
feat: 为桌面端添加书签版
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 6, 2023
1 parent 4e741b7 commit 24bb6a4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,25 @@ export default function Header() {
🔥 <span className="hidden sm:block">给我提</span>反馈
<span className="hidden sm:block"></span>
</a>
<a
href="javascript:(function(){if(!window.location.hostname
.includes('bilibili.com')){alert('🔖请拖至书签栏,进入B站视频页面再点击书签哦!')};location.href=location.href.replace('bilibili.com','bilibili.jimmylv.cn')}())"
rel="noreferrer noopener"
target="_blank"
className="flex hidden items-center space-x-2 sm:block"
aria-label="书签版"
>
🔖
<span className="relin-paragraph-target hidden text-slate-500 sm:block">
(书签版)
</span>
</a>
<a
href={BASE_DOMAIN + "/ios"}
rel="noreferrer noopener"
target="_blank"
className="flex items-center space-x-2"
aria-label="iOS版"
>
<Image
src="/shortcuts.png"
Expand Down

1 comment on commit 24bb6a4

@vercel
Copy link

@vercel vercel bot commented on 24bb6a4 Mar 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.