diff --git a/index.html b/index.html index fcb24b5..6a0c206 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ + + + diff --git a/src/assets/favicon.ico b/src/assets/favicon.ico new file mode 100644 index 0000000..602689a Binary files /dev/null and b/src/assets/favicon.ico differ diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index c2c9291..f98d8de 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -18,7 +18,7 @@ export const Hero = () => { }, [theme]); const bgUrl = isDark - ? 'url(https://lijue-me.oss-cn-chengdu.aliyuncs.com/20250619171424484.png)' + ? 'url(https://lijue-me.oss-cn-chengdu.aliyuncs.com/20250619153149236.png)' : 'url(https://lijue-me.oss-cn-chengdu.aliyuncs.com/20250619153149236.png)'; return ( diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 3aa52d1..56b4076 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -32,22 +32,18 @@ const routeList: RouteProps[] = [ href: "#features", label: "智能运维产品", }, - { - href: "#testimonials", - label: "动态", - }, - { - href: "#pricing", - label: "价格", - }, { href: "#faq", label: "FAQ", }, { - href: "#faq", + href: "#about", label: "关于我们", }, + { + href: "https://blog.xajiwei.com", + label: "动态", + }, ]; export const Navbar = () => { @@ -112,6 +108,7 @@ export const Navbar = () => { key={label} href={href} onClick={() => setIsOpen(false)} + target={href.startsWith('http') ? "_blank" : undefined} className={`font-light ${buttonVariants({ variant: "ghost" })}`} > {label} @@ -140,6 +137,7 @@ export const Navbar = () => { rel="noreferrer noopener" href={route.href} key={i} + target={route.href.startsWith('http') ? "_blank" : undefined} className={`text-[16px] font-light ${buttonVariants({ variant: "ghost", })}`}