website/app/layout.tsx
2026-11-18 10:56:55 -08:00

145 lines
4.1 KiB
TypeScript

'use client'
import { Background, Footer, Header, Sidebar } from 'components'
import { MenuContextProvider, ThemeContextProvider } from 'contexts'
import './globals.css'
const Layout = ({ children }: any) => (
<html lang="en">
<body>
<ThemeContextProvider>
<MenuContextProvider>
<Background />
<Header
title={{
link: '/',
titleX: 'studio',
}}
items={[
{
link: '/research',
title: 'research',
target: '',
},
{
link: '/prototypes',
title: 'prototypes',
target: '',
},
{
link: '/services',
title: 'services',
target: '',
},
// {
// link: '/validator',
// title: 'validator',
// target: '',
// },
]}
showMenuButton={true}
showMobileTitle={true}
/>
<Sidebar
items={[
{
link: '.',
target: '',
title: 'home',
},
{
link: 'research',
target: '',
title: 'research',
},
{
link: 'prototypes',
target: '',
title: 'prototypes',
},
{
link: 'services',
target: '',
title: 'services',
},
// {
// link: 'validator',
// target: '',
// title: 'validator',
// },
// {
// link: 'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e',
// target: '_blank',
// title: 'chora validator',
// },
]}
mobileOnly={true}
/>
<main>{children}</main>
<Footer
about={{
title: 'about',
text: (
<p>
{
'Chora Studio is a software research and development company.'
}
</p>
),
}}
sections={[
{
title: 'chora studio',
items: [
{
link: '/research',
target: '',
title: 'research',
},
{
link: '/prototypes',
target: '',
title: 'prototypes',
},
{
link: '/services',
target: '',
title: 'services',
},
// {
// link: '/validator',
// target: '',
// title: 'validator',
// },
],
},
// {
// title: 'chora validator',
// items: [
// {
// link: 'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e',
// target: '_blank',
// title: 'regen',
// },
// {
// link: 'https://ledger.chora.io/regen-redwood-1/validators/regenvaloper1399y9huuus9phlv2d5fjnznem65nlmsn0qgfrd',
// target: '_blank',
// title: 'regen-redwood',
// },
// {
// link: 'https://ledger.chora.io/chora-testnet-1/validators/choravaloper1394r2mejx4vaqrqkqm63k8m3qdsx6xzjquwy7u',
// target: '_blank',
// title: 'chora-testnet',
// },
// ],
// },
]}
/>
</MenuContextProvider>
</ThemeContextProvider>
</body>
</html>
)
export default Layout