Create rule flow core infrastructure and routing

This commit is contained in:
adilallo
2026-02-07 21:13:46 -07:00
parent 12b1f59886
commit 343b96a9bb
8 changed files with 265 additions and 12 deletions
+24
View File
@@ -0,0 +1,24 @@
"use client";
import type { ReactNode } from "react";
import { CreateFlowProvider } from "./context/CreateFlowContext";
/**
* Layout for the Create Rule Flow
*
* Provides a full-screen layout without the root layout's TopNav/Footer.
* This layout wraps all create flow pages and provides the CreateFlowContext.
*/
export default function CreateFlowLayout({
children,
}: {
children: ReactNode;
}) {
return (
<CreateFlowProvider>
<div className="min-h-screen bg-black flex flex-col">
{children}
</div>
</CreateFlowProvider>
);
}