← back to StudentLoanTracker
src/app/layout.tsx
41 lines
import type { Metadata } from 'next';
import { Geist, Geist_Mono } from 'next/font/google';
import './globals.css';
import Navbar from '@/components/layout/Navbar';
import Footer from '@/components/layout/Footer';
const geistSans = Geist({
variable: '--font-geist-sans',
subsets: ['latin'],
});
const geistMono = Geist_Mono({
variable: '--font-geist-mono',
subsets: ['latin'],
});
export const metadata: Metadata = {
title: 'StudentLoanTracker - Free Student Loan Tools',
description:
'Calculate repayment plans, track PSLF progress, find your servicer, and plan for summer enrollment gaps. Free, no account needed.',
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col bg-[#f8fafc] text-[#0f172a]">
<Navbar />
<main className="flex-1">{children}</main>
<Footer />
</body>
</html>
);
}