()
| 2 | import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router"; |
| 3 | |
| 4 | export default function App() { |
| 5 | return ( |
| 6 | <html lang="en" suppressHydrationWarning> |
| 7 | <head> |
| 8 | <meta charSet="utf-8" /> |
| 9 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 10 | <link rel="icon" href="/img/icon_black_cropped.png" /> |
| 11 | <title>GitMCP</title> |
| 12 | <meta |
| 13 | name="description" |
| 14 | content="Instantly create an MCP server for any GitHub project" |
| 15 | /> |
| 16 | |
| 17 | <meta property="og:url" content="https://gitmcp.io/" /> |
| 18 | <meta property="og:type" content="website" /> |
| 19 | <meta property="og:title" content="GitMCP" /> |
| 20 | <meta |
| 21 | property="og:description" |
| 22 | content="Instantly create an MCP server for any GitHub project" |
| 23 | /> |
| 24 | <meta property="og:image" content="https://gitmcp.io/img/OG.png" /> |
| 25 | |
| 26 | <meta name="twitter:card" content="summary_large_image" /> |
| 27 | <meta property="twitter:domain" content="gitmcp.io" /> |
| 28 | <meta property="twitter:url" content="https://gitmcp.io/" /> |
| 29 | <meta name="twitter:title" content="GitMCP" /> |
| 30 | <meta |
| 31 | name="twitter:description" |
| 32 | content="Instantly create an MCP server for any GitHub project" |
| 33 | /> |
| 34 | <meta name="twitter:image" content="https://gitmcp.io/img/OG.png" /> |
| 35 | {/* All `meta` exports on all routes will render here */} |
| 36 | <Meta /> |
| 37 | |
| 38 | {/* All `link` exports on all routes will render here */} |
| 39 | <Links /> |
| 40 | </head> |
| 41 | <body className="font-sans antialiased"> |
| 42 | {/* Child routes render here */} |
| 43 | <Outlet /> |
| 44 | |
| 45 | {/* Manages scroll position for client-side transitions */} |
| 46 | {/* If you use a nonce-based content security policy for scripts, you must provide the `nonce` prop. Otherwise, omit the nonce prop as shown here. */} |
| 47 | <ScrollRestoration /> |
| 48 | |
| 49 | {/* Script tags go here */} |
| 50 | {/* If you use a nonce-based content security policy for scripts, you must provide the `nonce` prop. Otherwise, omit the nonce prop as shown here. */} |
| 51 | <Scripts /> |
| 52 | </body> |
| 53 | </html> |
| 54 | ); |
| 55 | } |
nothing calls this directly
no outgoing calls
no test coverage detected