fix: convert solutions and cases pages to client components

This commit is contained in:
张翔
2026-02-26 18:50:24 +08:00
parent 712f8572ab
commit 93f9bca2e4
4 changed files with 32 additions and 12 deletions
+14
View File
@@ -0,0 +1,14 @@
import { Metadata } from 'next';
export const metadata: Metadata = {
title: '客户案例 - 睿新致远',
description: '与谁同行,决定能走多远',
};
export default function CasesLayout({
children,
}: {
children: React.ReactNode;
}) {
return <>{children}</>;
}
+2 -6
View File
@@ -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 (
<div className="min-h-screen bg-white">
+14
View File
@@ -0,0 +1,14 @@
import { Metadata } from 'next';
export const metadata: Metadata = {
title: '解决方案 - 睿新致远',
description: '三种角色,一种身份——您的成长伙伴',
};
export default function SolutionsLayout({
children,
}: {
children: React.ReactNode;
}) {
return <>{children}</>;
}
+2 -6
View File
@@ -1,12 +1,8 @@
import { Metadata } from 'next';
'use client';
import { Button } from '@/components/ui/button';
import { ArrowRight, Lightbulb, Cpu, Users, Calendar, CheckCircle2, TrendingUp, Code, FileText } from 'lucide-react';
export const metadata: Metadata = {
title: '解决方案 - 睿新致远',
description: '三种角色,一种身份——您的成长伙伴',
};
export default function SolutionsPage() {
return (
<div className="min-h-screen bg-white">