Update sidebar.tsx

This commit is contained in:
青云依兮 2024-05-14 21:35:08 +08:00 committed by GitHub
parent cf65f6cac8
commit bd6e62c5a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,8 @@ import {
MIN_SIDEBAR_WIDTH,
NARROW_SIDEBAR_WIDTH,
Path,
BLOG_URL,
FAKA_URL,
REPO_URL,
} from "../constant";
@ -186,6 +188,12 @@ export function SideBar(props: { className?: string }) {
onClick={() => showToast(Locale.WIP)}
shadow
/>
<a href={FAKA_URL} target="_blank">
<IconButton
text={shouldNarrow ? undefined : Locale.Mask.faka}
shadow
/>
</a>
</div>
<div