重构项目详情页面

This commit is contained in:
2025-08-13 00:23:37 +08:00
parent ef0c895f1e
commit 4943e48254
9 changed files with 712 additions and 420 deletions

View File

@@ -0,0 +1,25 @@
import React, { ReactNode } from 'react';
import { cn } from '@/lib/utils';
interface MainContentAreaProps {
children: ReactNode;
className?: string;
isEditing?: boolean;
}
export const MainContentArea: React.FC<MainContentAreaProps> = ({
children,
className,
isEditing = false
}) => {
return (
<div className={cn(
'h-full w-full flex flex-col',
'bg-background',
isEditing && 'relative',
className
)}>
{children}
</div>
);
};