import "./globals.css" import { Footer, Layout, Navbar } from "nextra-theme-docs" import { Head } from "nextra/components" import { getPageMap } from "nextra/page-map" import "nextra-theme-docs/style.css" import Link from "next/link" import Image from "next/image" import type { Metadata } from "next" import { Analytics } from "@/components" export const metadata: Metadata = { title: "LetterSpace Documentation | Self-hosted Newsletter Platform", description: "Official documentation for LetterSpace - the open source newsletter platform for managing subscribers and sending emails, all self-hosted.", keywords: [ "newsletter docs", "LetterSpace documentation", "self-hosted", "open source", "email marketing guide", ], authors: [{ name: "LetterSpace Team" }], creator: "LetterSpace", publisher: "LetterSpace", metadataBase: new URL("https://docs.letterspace.app"), alternates: { canonical: "/", }, robots: { index: true, follow: true, }, openGraph: { type: "website", title: "LetterSpace Documentation | Self-hosted Newsletter Platform", description: "Official documentation for LetterSpace - the open source newsletter platform for managing subscribers and sending emails, all self-hosted.", siteName: "LetterSpace Docs", images: [ { url: "/cover.png", width: 1200, height: 630, alt: "LetterSpace Documentation", }, ], }, twitter: { card: "summary_large_image", title: "LetterSpace Documentation | Self-hosted Newsletter Platform", description: "Official documentation for LetterSpace - the open source newsletter platform for managing subscribers and sending emails, all self-hosted.", images: ["/cover.png"], creator: "@letterspace", }, viewport: { width: "device-width", initialScale: 1, maximumScale: 1, }, applicationName: "LetterSpace Docs", category: "Documentation", } const navbar = ( LetterSpace
LetterSpace
} // ... Your additional navbar options /> ) const footer = ( ) export default async function RootLayout({ children, }: { children: React.ReactNode }) { return ( {/* Your additional tags should be passed as `children` of `` element */} {children} ) }