← back to Sdcc Awards
cypressaward/frontend/app/layout.tsx
35 lines
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'
import { Providers } from './providers'
import { Navigation } from '@/components/navigation'
import { Footer } from '@/components/footer'
const inter = Inter({ subsets: ['latin'] })
export const metadata: Metadata = {
title: 'Cy Pres Award Platform',
description: 'Connecting nonprofits with cy pres opportunities from class action settlements',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>
<Providers>
<div className="min-h-screen flex flex-col">
<Navigation />
<main className="flex-1">
{children}
</main>
<Footer />
</div>
</Providers>
</body>
</html>
)
}