import type { Metadata } from 'next';
import './globals.css';

export const metadata: Metadata = {
  metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL ?? 'https://navi.ae'),
  title: 'Navi — Your UAE Travel Companion',
  description: 'Discover, plan, book, ride, eat, and stay safe across the UAE in one premium app.',
  openGraph: {
    title: 'Navi — Your UAE Travel Companion',
    description: 'Discover, plan, book, ride, eat, and stay safe across the UAE in one premium app.',
    url: 'https://navi.ae',
    siteName: 'Navi',
    locale: 'en_AE',
    alternateLocale: ['ar_AE'],
    type: 'website',
  },
  alternates: {
    canonical: '/',
    languages: {
      en: '/en',
      ar: '/ar',
    },
  },
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <body>{children}</body>
    </html>
  );
}
