refactor(link): 营销页站内链接统一 StaticLink(静态托管适配)+ 删除 0 引用死代码组件 + QA 页 client/server 拆分

This commit is contained in:
2026-08-31 12:03:12 +08:00
parent 77b455c04e
commit 08a020105f
26 changed files with 297 additions and 571 deletions
@@ -2,6 +2,7 @@
import { motion } from 'framer-motion';
import { ScrollReveal, StaggerReveal } from '@/components/ui/scroll-reveal';
import { StaticLink } from '@/components/ui/static-link';
import { Button } from '@/components/ui/button';
import { ArrowRight, Factory, ShoppingCart, Heart, GraduationCap, Lightbulb, Settings, Users, TrendingUp, Package, BookOpen, MessageSquare, Calendar, Smartphone, Route, Shield, Truck } from 'lucide-react';import { SectionLabel, EASE_OUT } from '@/components/ui/page-decoration';
import type { Solution } from '@/lib/constants/solutions';
@@ -83,13 +84,13 @@ function DetailHero({ solution }: DetailHeroProps) {
className="flex flex-wrap gap-6"
>
<Button size="xl" asChild>
<a href="/contact">
<StaticLink href="/contact">
获取方案详情
<ArrowRight className="w-5 h-5 ml-2" />
</a>
</StaticLink>
</Button>
<Button size="xl" variant="outline" asChild>
<a href="/products">查看产品</a>
<StaticLink href="/products">查看产品</StaticLink>
</Button>
</motion.div>
</div>
@@ -491,13 +492,13 @@ function CTASection({ solution }: CTASectionProps) {
<div className="flex flex-wrap justify-center gap-6">
<Button size="xl" asChild>
<a href="/contact">
<StaticLink href="/contact">
预约咨询
<ArrowRight className="w-5 h-5 ml-2" />
</a>
</StaticLink>
</Button>
<Button size="xl" variant="outline" asChild>
<a href="/solutions">查看更多方案</a>
<StaticLink href="/solutions">查看更多方案</StaticLink>
</Button>
</div>
</ScrollReveal>