-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a110fc
commit 7295306
Showing
10 changed files
with
108 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,78 @@ | ||
import 'regenerator-runtime/runtime' | ||
import React from 'react' | ||
const RootLayout = ({ children }: { children: React.ReactNode }) => children | ||
import '../../styles/global.css' | ||
import { Metadata } from 'next' | ||
import AppProviders from '@/components/client/AppProviders' | ||
import ColorMode from '@/components/chakra/ColorMode' | ||
import './global.css' | ||
|
||
export const metadata: Metadata = { | ||
title: { | ||
default: 'BrainDAO | native DAO and treasury of the IQ Token', | ||
template: '%s | BrainDAO', | ||
}, | ||
metadataBase: new URL('https://iq.braindao.org/'), | ||
description: | ||
'BrainDAO is the native DAO and treasury of the IQ Token which powers IQ.wiki', | ||
openGraph: { | ||
title: 'BrainDAO | native DAO and treasury of the IQ Token', | ||
description: | ||
'BrainDAO is the native DAO and treasury of the IQ Token which powers IQ.wiki', | ||
url: 'https://iq.braindao.org/dashboard', | ||
siteName: 'IQ Dashboard', | ||
type: 'website', | ||
images: [ | ||
{ | ||
url: 'https://iq.braindao.org/og_image.png', | ||
}, | ||
], | ||
}, | ||
twitter: { | ||
card: 'summary_large_image', | ||
creator: '@IQWiki', | ||
site: 'IQ GPT', | ||
}, | ||
} | ||
|
||
const RootLayout = ({ children }: { children: React.ReactNode }) => { | ||
return ( | ||
<html lang="en"> | ||
<head> | ||
<meta charSet="UTF-8" /> | ||
<meta httpEquiv="X-UA-Compatible" content="ie=edge" /> | ||
<link rel="icon" href="/favicon.ico" type="image/x-icon" /> | ||
<meta | ||
property="og:image" | ||
content="https://iq.braindao.org/og_image.png" | ||
/> | ||
<meta name="image:type" content="png" /> | ||
<meta | ||
property="twitter:image" | ||
content="https://iq.braindao.org/og_image.png" | ||
/> | ||
<meta name="twitter:image:type" content="png" /> | ||
<meta name="twitter:image:width" content="300px" /> | ||
<meta name="twitter:image:height" content="157px" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes" /> | ||
<meta | ||
name="debank-cloud-site-verification" | ||
content="bba105af03355b417ae9969b16131dea" | ||
/> | ||
<meta | ||
name="apple-mobile-web-app-status-bar-style" | ||
content="black-translucent" | ||
/> | ||
<link rel="manifest" href="/manifest.json" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap" | ||
/> | ||
</head> | ||
<body> | ||
<ColorMode /> | ||
<AppProviders>{children}</AppProviders> | ||
</body> | ||
</html> | ||
) | ||
} | ||
|
||
export default RootLayout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters