MCPcopy Create free account
hub / github.com/CopilotKit/OpenGenerativeUI / RootLayout

Function RootLayout

apps/app/src/app/layout.tsx:20–48  ·  view source on GitHub ↗
({children}: Readonly<{ children: React.ReactNode }>)

Source from the content-addressed store, hash-verified

18};
19
20export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected