Spaces:
Sleeping
Sleeping
import type { Metadata } from "next"; | |
import { Inter } from 'next/font/google'; | |
import "./globals.css"; | |
import Head from 'next/head'; | |
const inter = Inter({ | |
subsets: ['latin'], | |
display: 'swap', | |
variable: '--font-inter', | |
}); | |
export const metadata: Metadata = { | |
title: "VedaMD - Sri Lankan Health Guidelines Assistant", | |
description: "Get trusted clinical answers based on Sri Lankan health guidelines", | |
icons: { | |
icon: '/favicon.ico', | |
}, | |
}; | |
export default function RootLayout({ | |
children, | |
}: { | |
children: React.ReactNode | |
}) { | |
return ( | |
<html lang="en" className={inter.variable}> | |
<Head> | |
<link rel="preconnect" href="https://fonts.googleapis.com" crossOrigin="" /> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" /> | |
</Head> | |
<body className="font-sans antialiased">{children}</body> | |
</html> | |
); | |
} | |