From f3c04b08eadddea0f013031a5640c0bd8993cf59 Mon Sep 17 00:00:00 2001 From: HelixCopex Date: Sun, 20 Apr 2025 17:14:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=A2=E9=98=9F=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/robots/page.tsx | 4 +++- app/teams/layout.tsx | 4 +++- app/teams/page.tsx | 10 +++++----- components/about-section.tsx | 2 +- components/contact-section.tsx | 25 ++++++++++++++++++------- next.config.mjs | 1 + 6 files changed, 31 insertions(+), 15 deletions(-) diff --git a/app/robots/page.tsx b/app/robots/page.tsx index 9bf1209..d21a7c3 100644 --- a/app/robots/page.tsx +++ b/app/robots/page.tsx @@ -42,7 +42,9 @@ export default function RobotsPage() {
(robotRefs.current[robot.id] = el)} + ref={(el) => { + robotRefs.current[robot.id] = el; + }} className={`scroll-mt-24 ${highlightedRobot === robot.id ? "ring-2 ring-primary p-4" : ""}`} >
diff --git a/app/teams/layout.tsx b/app/teams/layout.tsx index 5d34fb8..6fbcc53 100644 --- a/app/teams/layout.tsx +++ b/app/teams/layout.tsx @@ -16,7 +16,9 @@ export default function TeamsLayout({ return ( <>
- {children} +
+ {children} +