Files
Leon SerfatyandClaude Opus 4.8 857b9a7811 Initial import: property management SaaS + security hardening + admin dashboard
Property Management Network — Next.js 16 (App Router), Better Auth,
Drizzle ORM over PostgreSQL, Stripe, OpenAI, Resend.

Includes:
- Security hardening: access-control/IDOR fixes, TLS-by-default DB layer,
  constant-time cron auth, strict security headers, atomic AI quota gating,
  HTML/email output encoding, demo-backdoor disabled in production.
- Superadmin dashboard at /admin (overview/MRR, server-paginated users with
  ban/impersonate/plan/delete, billing, platform activity + admin audit log,
  AI usage, system health) via the Better Auth admin plugin.
- Seed/migration utility scripts under scripts/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 20:36:07 -04:00

37 lines
1.4 KiB
TypeScript

import { Skeleton } from "@/components/shared/skeleton"
export default function Loading() {
return (
<div className="max-w-5xl mx-auto space-y-6">
<div className="space-y-1">
<Skeleton className="h-5 w-28" />
<Skeleton className="h-3.5 w-52" />
</div>
<div className="grid grid-cols-1 lg:grid-cols-3 gap-4">
<div className="lg:col-span-2 rounded-2xl border border-white/[0.06] bg-[#16161f] overflow-hidden">
<div className="border-b border-white/[0.06] px-5 py-4 flex items-center justify-between">
<Skeleton className="h-4 w-8 rounded" />
<Skeleton className="h-4 w-36" />
<Skeleton className="h-4 w-8 rounded" />
</div>
<div className="grid grid-cols-7 border-b border-white/[0.04]">
{Array.from({ length: 7 }).map((_, i) => (
<Skeleton key={i} className="h-8 m-1 rounded" />
))}
</div>
<div className="grid grid-cols-7">
{Array.from({ length: 35 }).map((_, i) => (
<Skeleton key={i} className="h-[72px] m-0.5 rounded" />
))}
</div>
</div>
<div className="rounded-2xl border border-white/[0.06] bg-[#16161f] p-5 space-y-3">
<Skeleton className="h-4 w-32" />
<Skeleton className="h-20 w-full rounded-xl" />
<Skeleton className="h-20 w-full rounded-xl" />
</div>
</div>
</div>
)
}