"use client" import * as React from 'react' import { EmbeddedForm, type EmbeddedFormSource } from './EmbeddedForm' /** * Shared bootstrap for the two public runner entry points (`/f/:slug` open * links and `/i/:token` personal invitations). It delegates the entire * resolve-context → start → mount flow to the shared `` primitive * and supplies only the minimal centered page chrome. No portal auth. */ export type PublicFormRunnerPageProps = | { mode: 'open'; slug: string } | { mode: 'personal'; token: string } export function PublicFormRunnerPage(props: PublicFormRunnerPageProps) { const source: EmbeddedFormSource = props.mode === 'open' ? { kind: 'distribution', slug: props.slug } : { kind: 'invitation', token: props.token } return ( ) } function PublicLayout({ children }: { children: React.ReactNode }) { return (
{children}
) }