bump and update

This commit is contained in:
ryanchristo 2024-05-04 09:50:27 -07:00
parent 8cecffd70d
commit af8693d721
11 changed files with 12 additions and 269 deletions

View file

@ -17,7 +17,7 @@ const Layout = ({ children }: any) => (
link: '/', link: '/',
titleX: 'studio', titleX: 'studio',
}} }}
itemsLeft={[ items={[
{ {
link: '/products', link: '/products',
title: 'products', title: 'products',
@ -33,8 +33,7 @@ const Layout = ({ children }: any) => (
title: 'validator', title: 'validator',
target: '', target: '',
}, },
]} 'divider',
itemsRight={[
{ {
link: 'https://chora.blog', link: 'https://chora.blog',
title: 'blog', title: 'blog',
@ -83,11 +82,11 @@ const Layout = ({ children }: any) => (
title: 'chora validator', title: 'chora validator',
}, },
]} ]}
mobile={true} mobileOnly={true}
/> />
{children} {children}
<Footer <Footer
items={[ sections={[
{ {
title: 'chora studio', title: 'chora studio',
items: [ items: [

View file

@ -1,58 +1,3 @@
/* page */
.page { .page {
align-items: flex-start; composes: page-center-not-found from 'chora/styles/page.css';
display: flex;
justify-content: center;
margin-bottom: var(--footer-height);
min-height: 100vh;
}
/* page-with-sidebar */
.page-with-sidebar {
align-items: flex-start;
display: flex;
justify-content: center;
margin-bottom: var(--footer-height);
padding-left: var(--sidebar-width);
min-height: 100vh;
}
/* page and page-with-sidebar */
.page h1,
.page-with-sidebar h1 {
margin-bottom: 1.5em;
}
.page > div,
.page-with-sidebar > div {
margin-top: var(--header-height);
padding-top: 4em;
}
/* page-center */
.page-center {
background: var(--background-primary-transparent);
align-items: center;
display: flex;
justify-content: center;
min-height: 100vh;
text-align: center;
}
.page-center div {
margin-bottom: 2%;
}
.page-center h1 {
color: var(--color-theme);
font-size: 2.5em;
}
.page-center h1,
.page-center h2 {
margin: 0.5em 0;
} }

View file

@ -15,10 +15,6 @@
text-align: center; text-align: center;
} }
.sectionMain div {
margin-bottom: 2%;
}
.sectionMain h1 { .sectionMain h1 {
padding: 0.75rem 0; padding: 0.75rem 0;
} }

View file

@ -1,9 +1,8 @@
import { Background } from 'chora/components' import { Background } from 'chora/components'
import { ArrowRight } from 'chora/components/icons'
import { Metadata } from 'next' import { Metadata } from 'next'
import Link from 'next/link' import Link from 'next/link'
import RightArrow from '@components/RightArrow'
import styles from './page.module.css' import styles from './page.module.css'
export const metadata: Metadata = { export const metadata: Metadata = {
@ -41,7 +40,7 @@ const HomePage = () => {
<p> <p>
<Link href="/products"> <Link href="/products">
{'learn more'} {'learn more'}
<RightArrow /> <ArrowRight />
</Link> </Link>
</p> </p>
<h2>{'solutions'}</h2> <h2>{'solutions'}</h2>
@ -53,7 +52,7 @@ const HomePage = () => {
<p> <p>
<Link href="/solutions"> <Link href="/solutions">
{'learn more'} {'learn more'}
<RightArrow /> <ArrowRight />
</Link> </Link>
</p> </p>
<h2>{'validator'}</h2> <h2>{'validator'}</h2>
@ -72,7 +71,7 @@ const HomePage = () => {
<p> <p>
<Link href="/validator"> <Link href="/validator">
{'learn more'} {'learn more'}
<RightArrow /> <ArrowRight />
</Link> </Link>
</p> </p>
</div> </div>

View file

@ -5,39 +5,6 @@
width: 100vw; width: 100vw;
} }
/* sectionMain */
.sectionMain {
align-items: center;
display: flex;
font-size: 1.5rem;
justify-content: center;
min-height: 100vh;
text-align: center;
}
.sectionMain div {
margin-bottom: 2%;
}
.sectionMain h1 {
padding: 0.75rem 0;
}
.sectionMain p {
padding: 0.5rem 0;
}
.sectionMain p > i {
color: var(--color-theme);
}
@media (max-width: 850px) {
.sectionMain {
font-size: 1.2rem;
}
}
/* sectionText */ /* sectionText */
.sectionText { .sectionText {
@ -79,17 +46,3 @@
padding: 2rem; padding: 2rem;
} }
} }
/* sectionTextLinks */
.sectionTextLinks {
align-items: center;
display: flex;
justify-content: center;
padding: 1rem;
text-align: center;
}
.sectionTextLinks a {
padding: 1rem;
}

View file

@ -5,39 +5,6 @@
width: 100vw; width: 100vw;
} }
/* sectionMain */
.sectionMain {
align-items: center;
display: flex;
font-size: 1.5rem;
justify-content: center;
min-height: 100vh;
text-align: center;
}
.sectionMain div {
margin-bottom: 2%;
}
.sectionMain h1 {
padding: 0.75rem 0;
}
.sectionMain p {
padding: 0.5rem 0;
}
.sectionMain p > i {
color: var(--color-theme);
}
@media (max-width: 850px) {
.sectionMain {
font-size: 1.2rem;
}
}
/* sectionText */ /* sectionText */
.sectionText { .sectionText {
@ -79,17 +46,3 @@
padding: 2rem; padding: 2rem;
} }
} }
/* sectionTextLinks */
.sectionTextLinks {
align-items: center;
display: flex;
justify-content: center;
padding: 1rem;
text-align: center;
}
.sectionTextLinks a {
padding: 1rem;
}

View file

@ -2,43 +2,9 @@
.container { .container {
background: var(--background-primary-transparent); background: var(--background-primary-transparent);
padding-top: var(--header-height);
width: 100vw; width: 100vw;
} }
/* sectionMain */
.sectionMain {
align-items: center;
display: flex;
font-size: 1.5rem;
justify-content: center;
min-height: 100vh;
text-align: center;
}
.sectionMain div {
margin-bottom: 2%;
}
.sectionMain h1 {
padding: 0.75rem 0;
}
.sectionMain p {
padding: 0.5rem 0;
}
.sectionMain p > i {
color: var(--color-theme);
}
@media (max-width: 850px) {
.sectionMain {
font-size: 1.2rem;
}
}
/* sectionText */ /* sectionText */
.sectionText { .sectionText {
@ -71,11 +37,7 @@
margin-top: 2rem; margin-top: 2rem;
} }
.sectionText h3 { .sectionText div p {
margin-top: 2rem;
}
.sectionText p {
padding: 1rem 0; padding: 1rem 0;
} }
@ -84,17 +46,3 @@
padding: 2rem; padding: 2rem;
} }
} }
/* sectionTextLinks */
.sectionTextLinks {
align-items: center;
display: flex;
justify-content: center;
padding: 1rem;
text-align: center;
}
.sectionTextLinks a {
padding: 1rem;
}

BIN
bun.lockb

Binary file not shown.

View file

@ -1,47 +0,0 @@
'use client'
const defaultColor = '#00C3A5'
const BlankArrow = ({ color }: any) => {
const stroke = color || defaultColor
return (
<svg
xmlns="http://www.w3.org/2000/svg"
height="0.5em"
width="0.5em"
viewBox="0 0 20 20"
style={{ marginLeft: '0.5em' }}
>
<line
x1="0"
y1="10"
x2="20"
y2="10"
stroke={stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="12"
y1="3"
x2="20"
y2="10"
stroke={stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="20"
y1="10"
x2="12"
y2="17"
stroke={stroke}
strokeLinecap="round"
strokeWidth="3"
/>
</svg>
)
}
export default BlankArrow

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-beta9", "chora": "npm:@chora-io/chora@v0.1.0-beta10",
"next": "^14", "next": "^14",
"react": "^18", "react": "^18",
"react-dom": "^18" "react-dom": "^18"

View file

@ -18,10 +18,7 @@
{ {
"name": "next" "name": "next"
} }
], ]
"paths": {
"@components/*": ["components/*"]
}
}, },
"include": [ "include": [
"next-env.d.ts", "next-env.d.ts",