diff --git a/apps/web/src/components/app-shell/app-shell.tsx b/apps/web/src/components/app-shell/app-shell.tsx index 4cd1cc1..52103ac 100644 --- a/apps/web/src/components/app-shell/app-shell.tsx +++ b/apps/web/src/components/app-shell/app-shell.tsx @@ -11,20 +11,25 @@ type AppShellProps = { export function AppShell({ children }: AppShellProps) { return ( -
-
+
+
-
+
-
-
+
+
{children} -
- + + +
+ +
diff --git a/apps/web/src/components/app-shell/code-panel.tsx b/apps/web/src/components/app-shell/code-panel.tsx index 11db382..c996804 100644 --- a/apps/web/src/components/app-shell/code-panel.tsx +++ b/apps/web/src/components/app-shell/code-panel.tsx @@ -1,66 +1,30 @@ import { RbcBadge } from "@/components/ui/rbc-badge"; -import { RbcButton } from "@/components/ui/rbc-button"; export function CodePanel() { return (
-
-
-
-

Code Studio Preview

- Live Output -
- -

- Production-ready export surface for React, Next.js, Tailwind, JSON, - and future RBC CLI. -

+
+
+

+ Code Preview +

+ Live
-
- - Copy - - Export -
+ React / Tailwind / JSON
-
-
-

- Outputs -

- -
- {["React", "Tailwind", "JSON", "CLI"].map((item) => ( -
- {item} -
- ))} -
-
- -
-          {`export const rainbowCode = {
-  platform: "global-design-to-code",
-  studios: {
-    brand: "next",
-    theme: "ready",
-    component: "ready",
-    canvas: "v1-ready",
-    code: "preview"
-  },
-  outputs: ["react", "nextjs", "tailwind", "json", "rbc-cli"],
-  quality: ["accessible", "typed", "exportable", "scalable"]
+      
+        {`export const rainbowCode = {
+  product: "global-design-to-code-editor",
+  studios: ["brand", "theme", "component", "canvas", "code"],
+  canvas: "v1-ready",
+  next: "brand-studio"
 };`}
-        
-
+
); } \ No newline at end of file diff --git a/apps/web/src/components/app-shell/properties-panel.tsx b/apps/web/src/components/app-shell/properties-panel.tsx index f30615f..3d95e47 100644 --- a/apps/web/src/components/app-shell/properties-panel.tsx +++ b/apps/web/src/components/app-shell/properties-panel.tsx @@ -1,54 +1,25 @@ "use client"; -import { RbcBadge } from "@/components/ui/rbc-badge"; -import { RbcPanel } from "@/components/ui/rbc-panel"; import { ComponentStudioPanel } from "@/features/component-studio/components/component-studio-panel"; import { ThemeStudioPanel } from "@/features/theme-studio/components/theme-studio-panel"; export function PropertiesPanel() { return ( - +
); } \ No newline at end of file diff --git a/apps/web/src/components/app-shell/sidebar.tsx b/apps/web/src/components/app-shell/sidebar.tsx index dc94d6c..d91fcfd 100644 --- a/apps/web/src/components/app-shell/sidebar.tsx +++ b/apps/web/src/components/app-shell/sidebar.tsx @@ -5,7 +5,7 @@ import { RbcBadge } from "@/components/ui/rbc-badge"; import { studioNavItems } from "@/lib/navigation/studio-nav"; import { useAppShellStore } from "@/stores/app-shell-store"; -const statuses: Record = { +const statuses: Record = { "Brand Studio": "Next", "Theme Studio": "Ready", "Component Studio": "Ready", @@ -13,7 +13,7 @@ const statuses: Record = { "Code Studio": "Soon", }; -function getBadgeVariant(status: "Ready" | "V1" | "Next" | "Soon") { +function getStatusVariant(status: "Next" | "Ready" | "V1" | "Soon") { if (status === "Ready" || status === "V1") { return "success"; } @@ -31,28 +31,22 @@ export function Sidebar() { return (