({children}: Readonly<{ children: React.ReactNode }>)
| 18 | }; |
| 19 | |
| 20 | export default function RootLayout({children}: Readonly<{ children: React.ReactNode }>) { |
| 21 | return ( |
| 22 | <html lang="en"> |
| 23 | <head> |
| 24 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 25 | <title>Open Generative UI</title> |
| 26 | <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🪁</text></svg>" /> |
| 27 | <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 28 | <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" /> |
| 29 | <link |
| 30 | href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap" |
| 31 | rel="stylesheet" |
| 32 | /> |
| 33 | </head> |
| 34 | <body className="antialiased"> |
| 35 | <ThemeProvider> |
| 36 | <CopilotKit |
| 37 | runtimeUrl="/api/copilotkit" |
| 38 | renderActivityMessages={renderActivityMessages} |
| 39 | openGenerativeUI={openGenerativeUI} |
| 40 | > |
| 41 | <OpenGenUIPromptBridge /> |
| 42 | {children} |
| 43 | </CopilotKit> |
| 44 | </ThemeProvider> |
| 45 | </body> |
| 46 | </html> |
| 47 | ); |
| 48 | } |
nothing calls this directly
no outgoing calls
no test coverage detected