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
+6 -5
View File
@@ -3,6 +3,7 @@
import { motion, useScroll, useTransform } from 'framer-motion';
import { useRef, useState, useEffect } from 'react';
import { ScrollReveal, StaggerReveal } from '@/components/ui/scroll-reveal';
import { StaticLink } from '@/components/ui/static-link';
import { SectionHeader } from '@/components/sections/section-header';
import { ServiceCard } from '@/components/sections/service-card';
import { ScrollProgress } from '@/components/ui/scroll-progress';
@@ -175,10 +176,10 @@ function CaseDetailHero({ data }: CaseDetailHeroProps) {
transition={{ duration: 0.8, delay: 0.8, ease: EASE }}
>
<Button size="lg" asChild>
<a href="/contact">
<StaticLink href="/contact">
<ArrowRight className="w-4 h-4 ml-2" />
</a>
</StaticLink>
</Button>
<Button size="lg" variant="outline" asChild>
<a href="#solution"></a>
@@ -512,13 +513,13 @@ function CTASection() {
</p>
<div className="flex flex-col sm:flex-row justify-center gap-4">
<Button size="lg" asChild>
<a href="/contact">
<StaticLink href="/contact">
<ArrowRight className="w-4 h-4 ml-2" />
</a>
</StaticLink>
</Button>
<Button size="lg" variant="outline" asChild>
<a href="/cases"></a>
<StaticLink href="/cases"></StaticLink>
</Button>
</div>
</ScrollReveal>