// app/editor/layout.tsx
// Editor layout — overrides the dark theme for the editor UI
import type { Metadata } from 'next';

export const metadata: Metadata = {
  title: 'Homepage Editor',
  robots: { index: false, follow: false },
};

export default function EditorLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return <div className="puck-editor-root" style={{ background: '#ffffff', color: '#1f2937', minHeight: '100vh' }} suppressHydrationWarning>{children}</div>;
}
