diff --git a/apps/playground/src/pages/Home.tsx b/apps/playground/src/pages/Home.tsx index 70894a12c..7afa91c72 100644 --- a/apps/playground/src/pages/Home.tsx +++ b/apps/playground/src/pages/Home.tsx @@ -20,26 +20,26 @@ export const Home = () => { return (
- {/* Hero Section */} -
-
-
-
- + {/* Header */} +
+
+
+
+
- Object UI Studio + Object UI Studio
-
+
-
-
- {/* Decorative elements */} -
-
-
-
- -
- - - - - Interactive Visual Editor -
- -

- Build Stunning Interfaces,
- Purely from JSON. -

-

- Object UI transforms JSON schemas into fully functional, accessible, and responsive React applications. -
- Select a template below or start from scratch. -

- -
- - +
+ {/* Quick Actions */} +
+
+

Quick Start

+
+ +
{/* Category Filter */} -
- {Object.keys(exampleCategories).map((category) => ( - - ))} + + ))} +
- {/* Examples Grid */} -
+ {/* Templates Grid */} +
{exampleCategories[activeCategory as keyof typeof exampleCategories].map((key) => { - // Try to parse the example to get a description or just format the title const title = key.split('-').map(w => w.charAt(0).toUpperCase() + w.slice(1)).join(' '); return (
navigate(`/${key}`)} - className="group relative bg-card rounded-2xl border-2 border-border overflow-hidden hover:shadow-2xl transition-all duration-300 cursor-pointer hover:border-primary hover:-translate-y-1 flex flex-col h-72" + onClick={() => navigate(`/studio/${key}`)} + className="group bg-card rounded-lg border border-border overflow-hidden hover:border-primary hover:shadow-md transition-all cursor-pointer" > - {/* Overlay on hover */} -
- - {/* Mock Preview Window */} -
- {/* Decorative grid */} -
- -
-
-
-
-
-
-
-
-
-
-
-
+ {/* Preview */} +
+
+
+
+
+
+
+
+
+
+
+
+
-
-

+ {/* Info */} +
+

{title}

-
-
- Launch Studio - -
-
- Try Now -
+
+ Open in Studio +