Initial SFERA platform baseline
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/* starter/src/app/globals.css */
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
:root {
|
||||
--background: 0 0% 100%;
|
||||
--foreground: 222.2 84% 4.9%;
|
||||
--card: 0 0% 100%;
|
||||
--card-foreground: 222.2 84% 4.9%;
|
||||
--muted: 210 40% 96.1%;
|
||||
--muted-foreground: 215.4 16.3% 46.9%;
|
||||
--border: 214.3 31.8% 91.4%;
|
||||
--primary: 222.2 47.4% 11.2%;
|
||||
--primary-foreground: 210 40% 98%;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: 222.2 84% 4.9%;
|
||||
--foreground: 210 40% 98%;
|
||||
--card: 222.2 84% 4.9%;
|
||||
--card-foreground: 210 40% 98%;
|
||||
--muted: 217.2 32.6% 17.5%;
|
||||
--muted-foreground: 215 20.2% 65.1%;
|
||||
--border: 217.2 32.6% 17.5%;
|
||||
--primary: 210 40% 98%;
|
||||
--primary-foreground: 222.2 47.4% 11.2%;
|
||||
}
|
||||
|
||||
body {
|
||||
background: hsl(var(--background));
|
||||
color: hsl(var(--foreground));
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// starter/src/app/layout.tsx
|
||||
import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "SFERA",
|
||||
description: "Enterprise AI CRM/ERP workspace",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="ru" suppressHydrationWarning>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// starter/src/app/page.tsx
|
||||
import { AppShell } from "@/components/layout/app-shell";
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<AppShell>
|
||||
<div className="space-y-6">
|
||||
<section className="rounded-2xl border bg-card p-6 shadow-sm">
|
||||
<p className="text-sm text-muted-foreground">SFERA</p>
|
||||
<h1 className="mt-2 text-3xl font-semibold tracking-tight">
|
||||
Enterprise AI Operating System
|
||||
</h1>
|
||||
<p className="mt-3 max-w-2xl text-muted-foreground">
|
||||
CRM/ERP workspace для клиентов, сделок, задач, мерчантов,
|
||||
бординга, эквайринга, интеграций и AI-аналитики.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section className="grid gap-4 md:grid-cols-3">
|
||||
{["Клиенты", "Сделки", "AI Usage"].map((title) => (
|
||||
<div key={title} className="rounded-2xl border bg-card p-5 shadow-sm">
|
||||
<h2 className="font-medium">{title}</h2>
|
||||
<p className="mt-2 text-sm text-muted-foreground">
|
||||
Модуль готов к проектированию через Codex.
|
||||
</p>
|
||||
</div>
|
||||
))}
|
||||
</section>
|
||||
</div>
|
||||
</AppShell>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user