fix: 修复 lint 错误

- 修复 Input/Textarea 组件中 React Hook 条件调用问题
- 修复 AboutSection 中的引号转义问题
- 更新 Input/Textarea 样式为医疗健康风格
This commit is contained in:
张翔
2026-02-23 08:16:36 +08:00
parent ef4b6d1022
commit 8d0f86c365
332 changed files with 3846 additions and 1834 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
// This file is generated automatically by Next.js
// Do not edit this file manually
type AppRoutes = "/" | "/about" | "/contact" | "/news" | "/news/[slug]" | "/products" | "/services"
type AppRoutes = "/" | "/about" | "/cases/[id]" | "/contact" | "/news" | "/news/[slug]" | "/products" | "/services"
type PageRoutes = never
type LayoutRoutes = "/"
type RedirectRoutes = never
@@ -12,6 +12,7 @@ type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRo
interface ParamMap {
"/": {}
"/about": {}
"/cases/[id]": { "id": string; }
"/contact": {}
"/news": {}
"/news/[slug]": { "slug": string; }
+9
View File
@@ -45,6 +45,15 @@ type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = {
type __Unused = __Check
}
// Validate ../../src/app/(marketing)/cases/[id]/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/cases/[id]">> = Specific
const handler = {} as typeof import("../../src/app/(marketing)/cases/[id]/page.js")
type __Check = __IsExpected<typeof handler>
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/(marketing)/contact/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/contact">> = Specific