fix: add semantic section IDs for anchor navigation and accessibility

This commit is contained in:
张翔
2026-04-30 21:38:20 +08:00
parent 145bc190e3
commit b6d2313e8f
4 changed files with 4 additions and 2 deletions
@@ -53,7 +53,7 @@ export function ChallengeSection() {
return (
<section
id="solutions"
id="challenges"
ref={sectionRef}
className="bg-white py-16 md:py-24"
>
+1 -1
View File
@@ -23,7 +23,7 @@ export function CTASection({
secondaryHref = '/cases',
}: CTASectionProps) {
return (
<section className="bg-[#1C1C1C] py-16 md:py-24">
<section id="cta" className="bg-[#1C1C1C] py-16 md:py-24">
<div className="container-wide">
<motion.div
initial={{ opacity: 0, y: 20 }}
@@ -29,6 +29,7 @@ export function SocialProofSection() {
return (
<section
id="social-proof"
ref={sectionRef}
className="bg-white py-16 md:py-24"
>
@@ -50,6 +50,7 @@ export function TestimonialSection() {
return (
<section
id="testimonials"
ref={sectionRef}
className="bg-[#FFFBF5] py-16 md:py-24"
>