diff --git a/src/app/(marketing)/cases/layout.tsx b/src/app/(marketing)/cases/layout.tsx new file mode 100644 index 0000000..16d6a3f --- /dev/null +++ b/src/app/(marketing)/cases/layout.tsx @@ -0,0 +1,14 @@ +import { Metadata } from 'next'; + +export const metadata: Metadata = { + title: '客户案例 - 睿新致远', + description: '与谁同行,决定能走多远', +}; + +export default function CasesLayout({ + children, +}: { + children: React.ReactNode; +}) { + return <>{children}>; +} diff --git a/src/app/(marketing)/cases/page.tsx b/src/app/(marketing)/cases/page.tsx index 0a02811..80eb86e 100644 --- a/src/app/(marketing)/cases/page.tsx +++ b/src/app/(marketing)/cases/page.tsx @@ -1,15 +1,11 @@ -import { Metadata } from 'next'; +'use client'; + import Link from 'next/link'; import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; import { ArrowRight, Building2, Calendar, TrendingUp } from 'lucide-react'; import { CASES } from '@/lib/constants'; -export const metadata: Metadata = { - title: '客户案例 - 睿新致远', - description: '与谁同行,决定能走多远', -}; - export default function CasesPage() { return (