Initial commit: OmniAI Web Frontend

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 12:38:01 +08:00
commit bedee3ba8d
183 changed files with 94805 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
import type { CSSProperties, ReactNode } from "react";
interface WorkspacePageShellProps {
title: string;
headerRight?: ReactNode;
fullWidth?: boolean;
className?: string;
style?: CSSProperties;
children: ReactNode;
}
function WorkspacePageShell({
title,
headerRight,
fullWidth,
className,
style,
children,
}: WorkspacePageShellProps) {
return (
<section
className={`workspace-page-shell${fullWidth ? " workspace-page-shell--full" : ""}${
className ? ` ${className}` : ""
}`}
style={style}
aria-label={title}
>
{headerRight ? <div className="workspace-page-shell__actions">{headerRight}</div> : null}
<main className="workspace-page-shell__content">{children}</main>
</section>
);
}
export default WorkspacePageShell;