Skip to content

Commit 6302699

Browse files
Merge remote-tracking branch 'refs/remotes/origin/main'
2 parents 4ef7011 + 3c8fd1c commit 6302699

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/layout/header.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,19 @@ const menus_list = [
1717
name: "Home",
1818
link: "/",
1919
target: "_self",
20+
label: "Home",
2021
},
2122
{
2223
name: "Articles",
2324
link: "/article",
2425
target: "_self",
26+
label: "Articles",
2527
},
2628
{
2729
img: TheInfiniteX,
28-
link: "https://x.com",
30+
link: "https://x.com/The_Infinity_s/",
2931
target: "_blank",
32+
label: "X (Twitter)",
3033
},
3134
];
3235

@@ -119,6 +122,7 @@ export default function Header() {
119122
onClick={handleLinkClick}
120123
target={menu.target} // target属性を追加
121124
className={`${chakraPetch.className} block py-2 md:py-0 hover:text-[var(--foreground)]`}
125+
aria-label={menu.label}
122126
style={{
123127
fontStyle: "italic",
124128
}}

0 commit comments

Comments
 (0)