import type { Metadata } from 'next';

import { ClientRootLayout } from './ClientRootLayout';

export const metadata: Metadata = {
  metadataBase: new URL('https://sankofa.nexus'),
  title: {
    default: 'Sankofa — Sovereign Technologies',
    template: '%s | Sankofa',
  },
  description:
    'Sankofa delivers sovereign cloud, identity, financial rails, and credential infrastructure — the complete ecosystem for institutions that cannot depend on hyperscaler public cloud.',
  openGraph: {
    type: 'website',
    url: 'https://sankofa.nexus',
    siteName: 'Sankofa',
    title: 'Sankofa — Sovereign Technologies',
    description:
      'Build on infrastructure you own and control. Sovereign cloud, identity, ledger, and Chain 138 settlement rails.',
  },
  twitter: {
    card: 'summary',
    title: 'Sankofa — Sovereign Technologies',
    description:
      'Sovereign cloud, identity, financial rails, and credential infrastructure for institutions.',
  },
  alternates: {
    canonical: 'https://sankofa.nexus',
  },
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return <ClientRootLayout>{children}</ClientRootLayout>;
}
