41 lines
1.2 KiB
TypeScript
41 lines
1.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import Navbar from "@/components/Navbar";
|
|
import { Web3Provider } from "@/providers/Web3Provider";
|
|
|
|
const inter = Inter({ subsets: ['latin'] });
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'MortgageFi - Decentralized Mortgage Lending',
|
|
description: 'Secure, flexible, and innovative solutions for your digital assets',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${inter.className} bg-gray-900 text-gray-100 min-h-screen`}>
|
|
<Web3Provider>
|
|
<div className="min-h-screen flex flex-col">
|
|
<Navbar />
|
|
<main className="flex-1">
|
|
{children}
|
|
</main>
|
|
<footer className="bg-gray-900 border-t border-gray-800 py-6">
|
|
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<p className="text-center text-gray-400 text-sm">
|
|
© {new Date().getFullYear()} MortgageFi. All rights reserved.
|
|
</p>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</Web3Provider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|