Skip to content

Commit 74b5f74

Browse files
committed
website: add github corners.
1 parent d38c18a commit 74b5f74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/src/Layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { Fragment } from 'react';
22
import { Outlet, NavLink } from 'react-router-dom';
3+
import GitHubCorners from '@uiw/react-github-corners';
34
import '@wcj/dark-mode';
45
import styles from './Layout.module.less';
56

67
export function Layout() {
78
return (
89
<Fragment>
10+
<GitHubCorners target="__blank" fixed href="https://github.com/kktjs/markdown-react-code-preview-loader" />
911
<header className={styles.header}>
1012
<nav>
1113
<NavLink to="/" replace>

0 commit comments

Comments
 (0)