import type { Metadata } from 'next' import '@/styles/globals.css' import '@/styles/loading-ui.css' import { description, font, isProduction, liveUrl, title } from '@/constants' import Script from 'next/script' export const metadata: Metadata = { title, description, alternates: { canonical: liveUrl }, metadataBase: new URL(liveUrl) } export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) { return ( {isProduction ? (