From 54e2c6486b37827b24515047505d11a6038f1559 Mon Sep 17 00:00:00 2001 From: Clas Wen Date: Mon, 29 Sep 2025 23:03:07 +0800 Subject: [PATCH] Add GitHub link with icon to header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added GitHub organization link (github.com/nbtca) to the right side of the header navigation using the provided SVG icon. The link opens in a new tab and maintains proper accessibility attributes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/components/header/HeaderNavigation.tsx | 15 ++++++++++----- src/pages/_assets/github-mark.svg | 1 + 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 src/pages/_assets/github-mark.svg diff --git a/src/components/header/HeaderNavigation.tsx b/src/components/header/HeaderNavigation.tsx index d896dca..2c592df 100644 --- a/src/components/header/HeaderNavigation.tsx +++ b/src/components/header/HeaderNavigation.tsx @@ -13,16 +13,16 @@ export default function App() { }, { link: "/calendar", - name: "日程", - }, - { - link: "/about", - name: "关于我们", + name: "活动", }, { link: "/repair", name: "维修", }, + { + link: "/about", + name: "关于我们", + }, ] return ( @@ -55,6 +55,11 @@ export default function App() { )) } + + + GitHub + + \ No newline at end of file