115 lines
3.1 KiB
TypeScript
115 lines
3.1 KiB
TypeScript
'use client'
|
|
|
|
import { Footer, Header } from 'chora/components'
|
|
import { ThemeContextProvider } from 'chora/contexts'
|
|
|
|
import './globals.css'
|
|
|
|
const Layout = ({ children }: any) => (
|
|
<html lang="en">
|
|
<body>
|
|
<main>
|
|
<ThemeContextProvider>
|
|
<Header
|
|
title={{
|
|
link: '/',
|
|
titleX: 'studio',
|
|
}}
|
|
itemsLeft={[
|
|
{
|
|
link: '/products',
|
|
title: 'products',
|
|
},
|
|
{
|
|
link: '/solutions',
|
|
title: 'solutions',
|
|
},
|
|
{
|
|
link: '/validator',
|
|
title: 'validator',
|
|
},
|
|
]}
|
|
itemsRight={[
|
|
{
|
|
link: 'https://chora.blog',
|
|
title: 'blog ↗',
|
|
},
|
|
]}
|
|
/>
|
|
{children}
|
|
<Footer
|
|
lists={[
|
|
{
|
|
title: 'chora studio',
|
|
items: [
|
|
{
|
|
link: 'https://chora.blog',
|
|
target: '_blank',
|
|
title: 'blog ↗',
|
|
},
|
|
{
|
|
link: '/products',
|
|
target: '',
|
|
title: 'products',
|
|
},
|
|
{
|
|
link: '/solutions',
|
|
target: '',
|
|
title: 'solutions',
|
|
},
|
|
{
|
|
link: '/validator',
|
|
target: '',
|
|
title: 'validator',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'chora protocol',
|
|
items: [
|
|
{
|
|
link: 'https://chora.io',
|
|
target: '_blank',
|
|
title: 'chora applications ↗',
|
|
},
|
|
{
|
|
link: 'https://docs.chora.io',
|
|
target: '_blank',
|
|
title: 'chora documentation ↗',
|
|
},
|
|
{
|
|
link: 'https://github.com/chora-io',
|
|
target: '_blank',
|
|
title: 'chora repositories ↗',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'chora validator',
|
|
items: [
|
|
{
|
|
link: 'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e',
|
|
target: '_blank',
|
|
title: 'regen ↗',
|
|
},
|
|
{
|
|
link: 'https://chora.io/scan/regen-redwood-1',
|
|
target: '_blank',
|
|
title: 'regen-redwood ↗',
|
|
},
|
|
{
|
|
link: 'https://chora.io/scan/chora-testnet-1',
|
|
target: '_blank',
|
|
title: 'chora-testnet ↗',
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
/>
|
|
</ThemeContextProvider>
|
|
</main>
|
|
</body>
|
|
</html>
|
|
)
|
|
|
|
export default Layout
|