2023-10-30 23:57:10 +01:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
2023-12-03 00:25:59 +01:00
|
|
|
import { Menu } from "@/app/components/Menu";
|
2023-10-30 23:57:10 +01:00
|
|
|
|
|
|
|
|
const inter = Inter({ subsets: ["latin"] });
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2023-12-02 23:55:58 +01:00
|
|
|
title: "nwaku front-end",
|
|
|
|
|
description: "Send messages through you local node, register to RLN, read and export Keystore",
|
2023-10-30 23:57:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en">
|
2023-12-03 00:25:59 +01:00
|
|
|
<body className={inter.className}>
|
|
|
|
|
<Menu />
|
|
|
|
|
{children}
|
|
|
|
|
</body>
|
2023-10-30 23:57:10 +01:00
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|