forked from solana-foundation/mosaic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
43 lines (40 loc) · 1.2 KB
/
layout.tsx
File metadata and controls
43 lines (40 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import type { Metadata } from "next"
import { AR_One_Sans } from "next/font/google"
import "./globals.css"
import { ThemeProvider } from "@/components/theme-provider"
import { Header } from "@/components/layout/header"
import { Footer } from "@/components/layout/footer"
import { SolanaProvider } from "@/components/solana-provider"
const ar = AR_One_Sans({ subsets: ["latin"] })
export const metadata: Metadata = {
title: "Mosaic - Tokenization Engine",
description: "Create, manage, and deploy stablecoins and tokenized assets on Solana",
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<SolanaProvider>
<html lang="en" suppressHydrationWarning>
<body className={ar.className}>
<ThemeProvider
attribute="class"
defaultTheme="dark"
enableSystem
disableTransitionOnChange
>
<div className="flex min-h-screen flex-col bg-background">
<Header />
<main className="flex-1">
{children}
</main>
<Footer />
</div>
</ThemeProvider>
</body>
</html>
</SolanaProvider>
)
}