import type { Metadata, Viewport } from 'next'
import '../../../../stylesheet.css'
import './globals.css'

export const metadata: Metadata = {
  title: 'Learning Platform',
  description: 'Employee knowledge and learning',
  manifest: '/manifest.json',
  icons: { icon: '/favicon.svg' },
  appleWebApp: {
    capable: true,
    statusBarStyle: 'default',
    title: 'Learning Platform',
  },
  other: {
    'mobile-web-app-capable': 'yes',
  },
}

export const viewport: Viewport = {
  themeColor: '#1F5560',
  width: 'device-width',
  initialScale: 1,
  maximumScale: 1,
}

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