bump and cleanup

This commit is contained in:
ryanchristo 2024-05-01 13:43:50 -07:00
parent 77c259add4
commit a6813504aa
6 changed files with 152 additions and 108 deletions

View file

@ -1,7 +1,7 @@
'use client' 'use client'
import { Footer, Header } from 'chora/components' import { Background, Footer, Header, Sidebar } from 'chora/components'
import { ThemeContextProvider } from 'chora/contexts' import { MenuContextProvider, ThemeContextProvider } from 'chora/contexts'
import './globals.css' import './globals.css'
@ -10,6 +10,8 @@ const Layout = ({ children }: any) => (
<body> <body>
<main> <main>
<ThemeContextProvider> <ThemeContextProvider>
<MenuContextProvider>
<Background />
<Header <Header
title={{ title={{
link: '/', link: '/',
@ -32,9 +34,52 @@ const Layout = ({ children }: any) => (
itemsRight={[ itemsRight={[
{ {
link: 'https://chora.blog', link: 'https://chora.blog',
title: '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} {children}
<Footer <Footer
@ -45,7 +90,7 @@ const Layout = ({ children }: any) => (
{ {
link: 'https://chora.blog', link: 'https://chora.blog',
target: '_blank', target: '_blank',
title: 'blog ↗', title: 'blog',
}, },
{ {
link: '/products', link: '/products',
@ -70,17 +115,17 @@ const Layout = ({ children }: any) => (
{ {
link: 'https://chora.io', link: 'https://chora.io',
target: '_blank', target: '_blank',
title: 'applications ↗', title: 'applications',
}, },
{ {
link: 'https://docs.chora.io', link: 'https://docs.chora.io',
target: '_blank', target: '_blank',
title: 'documentation ↗', title: 'documentation',
}, },
{ {
link: 'https://github.com/chora-io', link: 'https://github.com/chora-io',
target: '_blank', target: '_blank',
title: 'repositories ↗', title: 'repositories',
}, },
], ],
}, },
@ -90,22 +135,23 @@ const Layout = ({ children }: any) => (
{ {
link: 'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e', link: 'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e',
target: '_blank', target: '_blank',
title: 'regen ↗', title: 'regen',
}, },
{ {
link: 'https://chora.io/scan/regen-redwood-1', link: 'https://chora.io/ledger',
target: '_blank', target: '_blank',
title: 'regen-redwood ↗', title: 'regen-redwood',
}, },
{ {
link: 'https://chora.io/scan/chora-testnet-1', link: 'https://chora.io/ledger',
target: '_blank', target: '_blank',
title: 'chora-testnet ↗', title: 'chora-testnet',
}, },
], ],
}, },
]} ]}
/> />
</MenuContextProvider>
</ThemeContextProvider> </ThemeContextProvider>
</main> </main>
</body> </body>

View file

@ -1,7 +1,6 @@
/* container */ /* container */
.container { .container {
background: var(--background-primary-transparent);
width: 100vw; width: 100vw;
} }
@ -34,7 +33,7 @@
@media (max-width: 850px) { @media (max-width: 850px) {
.sectionMain { .sectionMain {
font-size: 1.2rem; font-size: 1rem;
} }
} }

View file

@ -4,7 +4,7 @@ import { Metadata } from 'next'
import styles from './page.module.css' import styles from './page.module.css'
export const metadata: Metadata = { export const metadata: Metadata = {
title: 'chora studio | software research and development', title: 'chora studio | research and development',
} }
const HomePage = () => { const HomePage = () => {
@ -18,11 +18,9 @@ const HomePage = () => {
<span style={{ opacity: '0.75' }}>{'studio'}</span> <span style={{ opacity: '0.75' }}>{'studio'}</span>
</h1> </h1>
<p> <p>
<i> <i>{'commons governance and ecological regeneration'}</i>
{'what is the role of technology in ecological regeneration?'}
</i>
</p> </p>
<p>{'software research and development'}</p> <p>{'research and development'}</p>
</div> </div>
</div> </div>
<div className={styles.sectionText}> <div className={styles.sectionText}>
@ -43,7 +41,7 @@ const HomePage = () => {
<h2>{'solutions'}</h2> <h2>{'solutions'}</h2>
<p> <p>
{ {
'Chora Studio offers research and development consulting services to clients leveraging distributed ledger technology for regenerative finance.' 'Chora Studio provides software research and development as a service with a focus on distributed ledger technology and regenerative finance.'
} }
</p> </p>
<p> <p>

View file

@ -14,7 +14,7 @@ const SolutionsPage = () => {
<h1>{'solutions'}</h1> <h1>{'solutions'}</h1>
<p> <p>
{ {
'Chora Studio offers research and development consulting services to clients leveraging distributed ledger technology for regenerative finance.' 'Chora Studio provides software research and development as a service with a focus on distributed ledger technology and regenerative finance.'
} }
</p> </p>
</div> </div>

BIN
bun.lockb

Binary file not shown.

View file

@ -20,7 +20,7 @@
"clean": "rm -rf .next dist node_modules" "clean": "rm -rf .next dist node_modules"
}, },
"dependencies": { "dependencies": {
"chora": "npm:@chora-io/chora@v0.1.0-beta6", "chora": "npm:@chora-io/chora@v0.1.0-beta9",
"next": "^14", "next": "^14",
"react": "^18", "react": "^18",
"react-dom": "^18" "react-dom": "^18"
@ -36,6 +36,7 @@
"eslint-config-next": "^14", "eslint-config-next": "^14",
"postcss": "^8", "postcss": "^8",
"prettier": "^3", "prettier": "^3",
"sharp": "^0.33",
"tailwindcss": "^3", "tailwindcss": "^3",
"typescript": "^5" "typescript": "^5"
} }