mirror of
https://github.com/logos-messaging/lab.waku.org.git
synced 2026-01-11 02:03:10 +00:00
44 lines
1.0 KiB
TypeScript
44 lines
1.0 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import { WalletProvider } from "../contexts/WalletContext";
|
|
import { Header } from "../components/Header";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Waku Keystore Management",
|
|
description: "Manage your Waku RLN keystores securely",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
>
|
|
<WalletProvider>
|
|
<div className="flex flex-col min-h-screen">
|
|
<Header />
|
|
<main className="flex-grow">
|
|
{children}
|
|
</main>
|
|
</div>
|
|
</WalletProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|