diff --git a/apps/site/app/page.tsx b/apps/site/app/page.tsx index 643d1719..3c4f7e12 100644 --- a/apps/site/app/page.tsx +++ b/apps/site/app/page.tsx @@ -1,20 +1,306 @@ import Link from 'next/link'; +import { HomeLayout } from 'fumadocs-ui/layouts/home'; export default function HomePage() { return ( -
-
-

Object UI

-

- A Universal, Schema-Driven UI Engine built on React, Tailwind, and Shadcn UI. -

- - Get Started - -
-
+ + {/* Hero Section */} +
+
+
+
+ ✨ The Universal Schema-Driven UI Engine +
+

+ From JSON to + World-Class UI + in Minutes +

+

+ Build beautiful, production-ready interfaces without writing React code. + Just define your UI in JSON and let ObjectUI handle the rest with Tailwind CSS and Shadcn UI. +

+
+ + Get Started + + + + + + + + + View on GitHub + +
+
+ + {/* Code Preview */} +
+
+
+
+
+
+
+
+                {`{
+  "type": "page",
+  "title": "Dashboard",
+  "body": {
+    "type": "grid",
+    "columns": 3,
+    "items": [
+      {
+        "type": "card",
+        "title": "Total Users",
+        "value": "\${stats.users}"
+      },
+      {
+        "type": "card",
+        "title": "Revenue",
+        "value": "\${stats.revenue}"
+      },
+      {
+        "type": "card",
+        "title": "Orders",
+        "value": "\${stats.orders}"
+      }
+    ]
+  }
+}`}
+              
+
+
+
+
+ + {/* Features Section */} +
+
+
+

+ Why Choose ObjectUI? +

+

+ Stop writing repetitive UI code. Build faster with better results. +

+
+ +
+ {/* Feature 1 */} +
+
+ + + +
+

+ Blazing Fast +

+

+ 3x faster page loads and 6x smaller bundle sizes compared to traditional low-code platforms. Built on React 18+ with automatic optimizations. +

+
+ + {/* Feature 2 */} +
+
+ + + +
+

+ Beautiful by Default +

+

+ Professional designs using Tailwind CSS and Shadcn UI. Light/dark theme support, fully customizable, and WCAG 2.1 AA accessible. +

+
+ + {/* Feature 3 */} +
+
+ + + +
+

+ Developer Friendly +

+

+ TypeScript-first with complete type definitions. Zero learning curve if you know React. Works with existing tools and workflows. +

+
+ + {/* Feature 4 */} +
+
+ + + +
+

+ Production Ready +

+

+ 85%+ test coverage, enterprise security built-in, comprehensive documentation, and active development support. +

+
+ + {/* Feature 5 */} +
+
+ + + +
+

+ Modular Architecture +

+

+ Tree-shakable packages, lazy-loaded plugins, and support for Server Components. Only load what you need. +

+
+ + {/* Feature 6 */} +
+
+ + + +
+

+ Backend Agnostic +

+

+ Works with any backend through universal DataSource interface. REST, GraphQL, Firebase, or custom adapters. +

+
+
+
+
+ + {/* Stats Section */} +
+
+
+
+
60+
+
Components
+
+
+
85%+
+
Test Coverage
+
+
+
50KB
+
Bundle Size
+
+
+
+
+ + {/* Use Cases Section */} +
+
+
+

+ What Can You Build? +

+

+ From admin panels to dashboards, ObjectUI handles it all +

+
+ +
+ {[ + { icon: "📊", title: "Dashboards", desc: "Data visualization and analytics" }, + { icon: "⚙️", title: "Admin Panels", desc: "Complete CRUD interfaces" }, + { icon: "📝", title: "Forms", desc: "Complex multi-step forms" }, + { icon: "📄", title: "CMS", desc: "Content management systems" }, + { icon: "🔧", title: "Internal Tools", desc: "Business applications" }, + { icon: "🎨", title: "Prototypes", desc: "Rapid UI prototyping" } + ].map((useCase) => ( +
+
{useCase.icon}
+

+ {useCase.title} +

+

+ {useCase.desc} +

+
+ ))} +
+
+
+ + {/* CTA Section */} +
+
+
+
+

+ Ready to Build Something Amazing? +

+

+ Join developers who are building faster with ObjectUI. Get started in minutes with our comprehensive documentation. +

+
+ + Get Started Now + + + Star on GitHub + +
+
+
+
+
+ + {/* Footer */} + +
); }