Skip to content

Commit af16d5b

Browse files
committed
style: 将GitHub徽标移到页面右上角
1 parent de0321f commit af16d5b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/components/Header/Header.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ export function Header() {
2828
return (
2929
<header className={styles.header}>
3030
<div className={styles.leftSection}>
31+
<AlgorithmHint />
32+
</div>
33+
34+
<div className={styles.centerSection}>
35+
<a
36+
href={LEETCODE_URL}
37+
target="_blank"
38+
rel="noopener noreferrer"
39+
className={styles.titleLink}
40+
>
41+
<h1 className={styles.title}>64. 最小路径和</h1>
42+
</a>
43+
</div>
44+
45+
<div className={styles.rightSection}>
3146
<a
3247
href={GITHUB_URL}
3348
target="_blank"
@@ -56,21 +71,6 @@ export function Header() {
5671
</svg>
5772
</a>
5873
</div>
59-
60-
<div className={styles.centerSection}>
61-
<a
62-
href={LEETCODE_URL}
63-
target="_blank"
64-
rel="noopener noreferrer"
65-
className={styles.titleLink}
66-
>
67-
<h1 className={styles.title}>64. 最小路径和</h1>
68-
</a>
69-
</div>
70-
71-
<div className={styles.rightSection}>
72-
<AlgorithmHint />
73-
</div>
7474
</header>
7575
);
7676
}

0 commit comments

Comments
 (0)