| 1 |
import type { Metadata } from "next"; |
| 2 |
import "./globals.css"; |
| 3 |
import Footer from "@/components/Footer"; |
| 4 |
import { Analytics } from "@vercel/analytics/react"; |
| 5 |
|
| 6 |
export const metadata: Metadata = { |
| 7 |
title: "VMI Virtual Memorial", |
| 8 |
description: "Honoring VMI's fallen heroes who made the ultimate sacrifice in service to their country", |
| 9 |
icons: { |
| 10 |
icon: [ |
| 11 |
{ url: '/icon.svg', type: 'image/svg+xml' }, |
| 12 |
{ url: '/favicon.ico', sizes: 'any' }, |
| 13 |
], |
| 14 |
apple: [ |
| 15 |
{ url: '/apple-icon.svg', type: 'image/svg+xml' }, |
| 16 |
], |
| 17 |
}, |
| 18 |
openGraph: { |
| 19 |
title: "VMI Virtual Memorial", |
| 20 |
description: "Honoring VMI's fallen heroes who made the ultimate sacrifice in service to their country", |
| 21 |
siteName: "VMI Virtual Memorial", |
| 22 |
type: 'website', |
| 23 |
}, |
| 24 |
twitter: { |
| 25 |
card: 'summary_large_image', |
| 26 |
title: "VMI Virtual Memorial", |
| 27 |
description: "Honoring VMI's fallen heroes who made the ultimate sacrifice in service to their country", |
| 28 |
}, |
| 29 |
}; |
| 30 |
|
| 31 |
export default function RootLayout({ |
| 32 |
children, |
| 33 |
}: Readonly<{ |
| 34 |
children: React.ReactNode; |
| 35 |
}>) { |
| 36 |
return ( |
| 37 |
<html lang="en"> |
| 38 |
<body className="antialiased flex flex-col min-h-screen"> |
| 39 |
<div className="flex-grow"> |
| 40 |
{children} |
| 41 |
</div> |
| 42 |
<Footer /> |
| 43 |
<Analytics /> |
| 44 |
</body> |
| 45 |
</html> |
| 46 |
); |
| 47 |
} |