bump and cleanup
This commit is contained in:
parent
77c259add4
commit
a6813504aa
6 changed files with 152 additions and 108 deletions
242
app/layout.tsx
242
app/layout.tsx
|
|
@ -1,7 +1,7 @@
|
|||
'use client'
|
||||
|
||||
import { Footer, Header } from 'chora/components'
|
||||
import { ThemeContextProvider } from 'chora/contexts'
|
||||
import { Background, Footer, Header, Sidebar } from 'chora/components'
|
||||
import { MenuContextProvider, ThemeContextProvider } from 'chora/contexts'
|
||||
|
||||
import './globals.css'
|
||||
|
||||
|
|
@ -10,102 +10,148 @@ const Layout = ({ children }: any) => (
|
|||
<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
|
||||
items={[
|
||||
{
|
||||
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 software',
|
||||
items: [
|
||||
{
|
||||
link: 'https://chora.io',
|
||||
target: '_blank',
|
||||
title: 'applications ↗',
|
||||
},
|
||||
{
|
||||
link: 'https://docs.chora.io',
|
||||
target: '_blank',
|
||||
title: 'documentation ↗',
|
||||
},
|
||||
{
|
||||
link: 'https://github.com/chora-io',
|
||||
target: '_blank',
|
||||
title: '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 ↗',
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
<MenuContextProvider>
|
||||
<Background />
|
||||
<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',
|
||||
},
|
||||
]}
|
||||
showMenuButton={true}
|
||||
showMobileTitle={true}
|
||||
/>
|
||||
<Sidebar
|
||||
items={[
|
||||
{
|
||||
link: '.',
|
||||
target: '',
|
||||
title: 'home',
|
||||
},
|
||||
{
|
||||
link: 'products',
|
||||
target: '',
|
||||
title: 'products',
|
||||
},
|
||||
{
|
||||
link: 'solutions',
|
||||
target: '',
|
||||
title: 'solutions',
|
||||
},
|
||||
{
|
||||
link: 'validator',
|
||||
target: '',
|
||||
title: 'validator',
|
||||
},
|
||||
'divider',
|
||||
{
|
||||
link: 'https://chora.blog',
|
||||
target: '_blank',
|
||||
title: 'chora blog',
|
||||
},
|
||||
{
|
||||
link: 'https://chora.io',
|
||||
target: '_blank',
|
||||
title: 'chora software',
|
||||
},
|
||||
{
|
||||
link: 'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e',
|
||||
target: '_blank',
|
||||
title: 'chora validator',
|
||||
},
|
||||
]}
|
||||
mobile={true}
|
||||
/>
|
||||
{children}
|
||||
<Footer
|
||||
items={[
|
||||
{
|
||||
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 software',
|
||||
items: [
|
||||
{
|
||||
link: 'https://chora.io',
|
||||
target: '_blank',
|
||||
title: 'applications',
|
||||
},
|
||||
{
|
||||
link: 'https://docs.chora.io',
|
||||
target: '_blank',
|
||||
title: 'documentation',
|
||||
},
|
||||
{
|
||||
link: 'https://github.com/chora-io',
|
||||
target: '_blank',
|
||||
title: 'repositories',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'chora validator',
|
||||
items: [
|
||||
{
|
||||
link: 'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e',
|
||||
target: '_blank',
|
||||
title: 'regen',
|
||||
},
|
||||
{
|
||||
link: 'https://chora.io/ledger',
|
||||
target: '_blank',
|
||||
title: 'regen-redwood',
|
||||
},
|
||||
{
|
||||
link: 'https://chora.io/ledger',
|
||||
target: '_blank',
|
||||
title: 'chora-testnet',
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</MenuContextProvider>
|
||||
</ThemeContextProvider>
|
||||
</main>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue