ubiquitous-invention/apps/web/app/(auth)/layout.tsx
Randall Stillwell a508ece6e7 feat: Full project management application scaffold
Complete architecture for a ClickUp/Notion/Miro-class project management app:

- Turborepo monorepo with Next.js 15, TypeScript, PostgreSQL (Drizzle ORM)
- Object-centered database schema (everything is an Object: tasks, projects, docs, whiteboards)
- NextAuth v5 authentication with credentials + OAuth providers
- tRPC v11 API layer with full CRUD for objects, properties, relations, templates, search
- Three-panel UI: collapsible sidebar, center content area, push-in right panel
- Purple/teal theme with light/dark mode via Shadcn/ui + Tailwind CSS
- Multiple views: List, Kanban board (dnd-kit), Table (spreadsheet), Embedded iframe
- TipTap rich text editor with slash commands, custom blocks (callout, toggle, mention, embed, divider), AI block
- Real-time collaboration via Yjs + Hocuspocus with presence/cursors
- tldraw whiteboard with custom shape cards (task, document, project)
- MCP server exposing all app data/tools for AI agents
- AI chat panel, editor AI slash commands, Cmd+K command palette
- Template system with built-in templates (Bug Report, Meeting Notes, Sprint)
- Full-text search with result highlighting
- Docker Compose for full-stack deployment (web + collab + postgres + redis)

Made-with: Cursor
2026-03-26 22:39:16 -05:00

19 lines
888 B
TypeScript

import type { ReactNode } from "react";
export default function AuthLayout({ children }: { children: ReactNode }) {
return (
<div className="relative min-h-screen overflow-hidden bg-gradient-to-br from-[hsl(var(--primary)/0.12)] via-background to-[hsl(var(--teal)/0.08)]">
<div
className="pointer-events-none absolute inset-0 opacity-[0.35]"
aria-hidden
style={{
backgroundImage:
"radial-gradient(circle at 20% 20%, hsl(var(--primary) / 0.25) 0%, transparent 45%), radial-gradient(circle at 80% 10%, hsl(var(--teal) / 0.2) 0%, transparent 40%), radial-gradient(circle at 50% 90%, hsl(var(--primary) / 0.15) 0%, transparent 50%)",
}}
/>
<div className="relative flex min-h-screen items-center justify-center p-4 sm:p-6">
<div className="w-full max-w-md">{children}</div>
</div>
</div>
);
}