import type { Metadata } from 'next' import { Playfair_Display, DM_Sans, DM_Mono } from 'next/font/google' import './globals.css' import { Nav } from '@/components/Nav' import { Footer } from '@/components/Footer' import { ThemeProvider } from '@/components/ThemeProvider' import { getSession } from '@/lib/session' const playfair = Playfair_Display({ variable: '--font-display', subsets: ['latin'], weight: ['700', '900'], style: ['normal', 'italic'], }) const dmSans = DM_Sans({ variable: '--font-sans', subsets: ['latin'], weight: ['300', '400', '500', '600'], }) const dmMono = DM_Mono({ variable: '--font-mono', subsets: ['latin'], weight: ['400', '500'], }) export const metadata: Metadata = { metadataBase: new URL('https://flockoff.app'), title: 'FlockOff — Precision blocking for the open social web', description: 'Block everyone who engaged with a post. Customizable, reversible, and built on atproto.', icons: { icon: '/icon.svg', apple: '/apple-icon.png', }, manifest: '/site.webmanifest', openGraph: { title: 'FlockOff', description: 'Block everyone who engaged with a post. Customizable, reversible, and built on atproto.', url: 'https://flockoff.app', siteName: 'FlockOff', }, } export default async function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { const session = await getSession() return (