Skip to content

Commit

Permalink
Create layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Mosamorphing authored Apr 22, 2024
1 parent f72c1c3 commit 355093e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Languages/en/Dapp_template/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import Providers from "@/app/providers";
import { Toaster } from "@/components/ui/sonner";

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};

export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>
<Providers>
{children}
<Toaster position="top-right" />
</Providers>
</body>
</html>
);
}

0 comments on commit 355093e

Please sign in to comment.