fix: convert solutions and cases pages to client components
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: '客户案例 - 睿新致远',
|
||||
description: '与谁同行,决定能走多远',
|
||||
};
|
||||
|
||||
export default function CasesLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return <>{children}</>;
|
||||
}
|
||||
@@ -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">
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: '解决方案 - 睿新致远',
|
||||
description: '三种角色,一种身份——您的成长伙伴',
|
||||
};
|
||||
|
||||
export default function SolutionsLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return <>{children}</>;
|
||||
}
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user