Initial top-reservation app: bookings, objects catalog, statistics, PWA

This commit is contained in:
ogrechko committed 2026-08-29 11:30:46 +00:00
commit 14a849bfb9
62 files changed
+12427

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import { listBookableObjects } from "@/lib/bookings/service";
import { NewBookingForm } from "./new-booking-form";
export default async function NewBookingPage() {
const objects = await listBookableObjects();
return (
<div className="max-w-2xl">
<h1 className="mb-1 font-display text-xl font-bold tracking-tight">Новое бронирование</h1>
<p className="mb-6 text-sm text-text-muted">Заполните поля — бронирование получит номер и готовую сводку для копирования.</p>
<NewBookingForm objects={objects} />
</div>
);
}