feat: 添加预览效果页面并优化交互效果
refactor: 优化代码健壮性和类型安全 style: 更新字体样式和全局CSS fix: 修复IntersectionObserver潜在空引用问题 chore: 更新依赖和ESLint配置 build: 更新构建ID和路由配置
This commit is contained in:
Vendored
+2
-1
@@ -1,7 +1,7 @@
|
||||
// This file is generated automatically by Next.js
|
||||
// Do not edit this file manually
|
||||
|
||||
type AppRoutes = "/" | "/about" | "/cases/[id]" | "/contact" | "/news" | "/news/[slug]" | "/products" | "/services"
|
||||
type AppRoutes = "/" | "/about" | "/cases/[id]" | "/contact" | "/news" | "/news/[slug]" | "/preview/effects" | "/products" | "/services"
|
||||
type PageRoutes = never
|
||||
type LayoutRoutes = "/"
|
||||
type RedirectRoutes = never
|
||||
@@ -16,6 +16,7 @@ interface ParamMap {
|
||||
"/contact": {}
|
||||
"/news": {}
|
||||
"/news/[slug]": { "slug": string; }
|
||||
"/preview/effects": {}
|
||||
"/products": {}
|
||||
"/services": {}
|
||||
}
|
||||
|
||||
@@ -108,6 +108,15 @@ type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = {
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../src/app/preview/effects/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/preview/effects">> = Specific
|
||||
const handler = {} as typeof import("../../src/app/preview/effects/page.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user