import type { Metadata, Viewport } from 'next';
import type { ReactNode } from 'react';

/**
 * TV display chrome: none. No marketing header/footer, never indexed, and no Referer header so the
 * signed TV link never leaks to other origins.
 */
export const metadata: Metadata = {
  title: 'TV display',
  robots: { index: false, follow: false },
  referrer: 'no-referrer',
};

export const viewport: Viewport = {
  themeColor: '#070b1f',
  colorScheme: 'dark',
};

export default function TvLayout({ children }: { children: ReactNode }) {
  return children;
}
