buildmymcpserver/apps/web/app/layout.tsx

28 lines
852 B
TypeScript
Raw Normal View History

import { SiteBanner } from '@/components/site-banner';
import { GeistMono } from 'geist/font/mono';
import { GeistSans } from 'geist/font/sans';
import type { Metadata } from 'next';
import './globals.css';
export const metadata: Metadata = {
title: 'BuildMyMCPServer — Describe your tool. We host the server.',
description:
'From prompt to production MCP server in 60 seconds. OAuth 2.1, Streamable HTTP, ready for Claude, Cursor & ChatGPT.',
metadataBase: new URL(process.env.NEXT_PUBLIC_APP_URL ?? 'http://localhost:3001'),
};
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html
lang="en"
className={`${GeistSans.variable} ${GeistMono.variable}`}
suppressHydrationWarning
>
<body>
<SiteBanner />
{children}
</body>
</html>
);
}