File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import Link from "next/link" ;
12import { ThemeToggle } from "./ThemeToggle" ;
23import { Button } from "@/components/ui/button" ;
34import { MessageCircle } from "lucide-react" ;
@@ -30,42 +31,42 @@ export function Header() {
3031
3132 < div className = "flex items-center justify-between h-10" >
3233 < nav className = "hidden md:flex items-center gap-8 font-sans text-xs font-bold uppercase tracking-widest text-[var(--foreground)]" >
33- < a
34+ < Link
3435 href = "/"
3536 className = "hover:text-[#CC0000] transition-colors"
3637 data-umami-event = "navigation_click"
3738 data-umami-event-region = "header"
3839 data-umami-event-label = "home"
3940 >
4041 首页
41- </ a >
42- < a
42+ </ Link >
43+ < Link
4344 href = "/#features"
4445 className = "hover:text-[#CC0000] transition-colors"
4546 data-umami-event = "navigation_click"
4647 data-umami-event-region = "header"
4748 data-umami-event-label = "features"
4849 >
4950 特点
50- </ a >
51- < a
51+ </ Link >
52+ < Link
5253 href = "/#community"
5354 className = "hover:text-[#CC0000] transition-colors"
5455 data-umami-event = "navigation_click"
5556 data-umami-event-region = "header"
5657 data-umami-event-label = "community"
5758 >
5859 社区
59- </ a >
60- < a
60+ </ Link >
61+ < Link
6162 href = "/#contact"
6263 className = "hover:text-[#CC0000] transition-colors"
6364 data-umami-event = "navigation_click"
6465 data-umami-event-region = "header"
6566 data-umami-event-label = "contact"
6667 >
6768 联系我们
68- </ a >
69+ </ Link >
6970 </ nav >
7071
7172 < div className = "flex items-center gap-2" >
You can’t perform that action at this time.
0 commit comments