init commit

This commit is contained in:
ryanchristo 2023-10-28 09:56:18 -07:00
commit 7a46269eff
55 changed files with 1423 additions and 0 deletions

BIN
app/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

140
app/globals.css Normal file
View file

@ -0,0 +1,140 @@
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: normal;
src: url('../public/font/Ubuntu-Regular.ttf');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: normal;
src: url('../public/font/Ubuntu-Italic.ttf');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: bold;
src: url('../public/font/Ubuntu-Bold.ttf');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: bold;
src: url('../public/font/Ubuntu-BoldItalic.ttf');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 300;
src: url('../public/font/Ubuntu-Light.ttf');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: 300;
src: url('../public/font/Ubuntu-LightItalic.ttf');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 500;
src: url('../public/font/Ubuntu-Medium.ttf');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: 500;
src: url('../public/font/Ubuntu-MediumItalic.ttf');
}
:root {
--color-error: rgb(245, 45, 45);
--color-theme: rgb(0, 195, 165);
--font-family: 'Ubuntu', sans-serif;
--footer-height: 320px;
--header-height: 80px;
--sidebar-width: 240px;
--transition: 0.25s;
/* light theme */
--background-primary: rgb(255, 255, 255);
--background-primary-transparent: rgba(255, 255, 255, 0.98);
--background-secondary: rgb(250, 250, 250);
--background-secondary-transparent: rgba(250, 250, 250, 0.98);
--box-shadow: 0 0 4px rgb(245, 245, 245);
--box-shadow-color: rgb(245, 245, 245);
--color-text: rgb(10, 10, 10);
--color-text-placeholder: rgba(10, 10, 10, 0.5);
}
.dark-theme {
--background-primary: rgb(17, 17, 17);
--background-primary-transparent: rgba(17, 17, 17, 0.98);
--background-secondary: rgb(22, 22, 22);
--background-secondary-transparent: rgba(22, 22, 22, 0.98);
--box-shadow: 0 0 4px rgb(27, 27, 27);
--box-shadow-color: rgb(27, 27, 27);
--color-text: rgb(245, 245, 245);
--color-text-placeholder: rgba(245, 245, 245, 0.5);
}
* {
margin: 0;
padding: 0;
}
html {
cursor: default;
}
body {
font-family: var(--font-family);
font-weight: 300;
overflow-x: hidden;
}
main {
color: var(--color-text);
}
h1, h2, h3, h4, h5 {
font-weight: 400;
}
p {
line-height: 1.75;
}
a, a:active {
color: var(--color-theme);
font-weight: 400;
text-decoration: none;
transition: var(--transition);
}
a:hover {
opacity: 0.75;
}
button {
background: var(--color-theme);
border: none;
border-radius: 1em;
color: var(--background-primary);
font-family: var(--font-family);
font-size: 1em;
outline: none;
transition: var(--transition);
}
button:hover {
cursor: pointer;
opacity: 0.75;
}

22
app/layout.tsx Normal file
View file

@ -0,0 +1,22 @@
import { ThemeContextProvider } from '@contexts/ThemeContext'
import Footer from '@components/Footer'
import Header from '@components/Header'
import './globals.css'
const Layout = ({ children }: any) => (
<html lang="en">
<body>
<main>
<ThemeContextProvider>
<Header />
{children}
<Footer />
</ThemeContextProvider>
</main>
</body>
</html>
)
export default Layout

58
app/not-found.module.css Normal file
View file

@ -0,0 +1,58 @@
/* page */
.page {
align-items: flex-start;
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;
}

18
app/not-found.tsx Normal file
View file

@ -0,0 +1,18 @@
import { Metadata } from 'next'
import styles from './not-found.module.css'
export const metadata: Metadata = {
title: '404 | a placeless place',
}
const NotFoundPage = () => (
<div className={styles.page}>
<div>
<h1>{'404'}</h1>
<h2>{'a placeless place'}</h2>
</div>
</div>
)
export default NotFoundPage

91
app/page.module.css Normal file
View file

@ -0,0 +1,91 @@
/* container */
.container {
background: var(--background-primary-transparent);
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 {
align-items: center;
background: var(--background-primary);
display: flex;
font-size: 1.2rem;
justify-content: center;
min-height: 100vh;
}
@media (max-width: 850px) {
.sectionText {
font-size: 1rem;
}
}
.sectionText div {
display: block;
margin-bottom: 5%;
max-width: 650px;
padding: 2rem;
}
.sectionText div h2 {
margin-top: 2rem;
}
.sectionText div p {
padding: 1rem 0;
}
@media (max-width: 850px) {
.sectionText div {
padding: 2rem;
}
}
/* sectionTextLinks */
.sectionTextLinks {
align-items: center;
display: flex;
justify-content: center;
padding: 1rem;
text-align: center;
}
.sectionTextLinks a {
padding: 1rem;
}

74
app/page.tsx Normal file
View file

@ -0,0 +1,74 @@
import { Metadata } from 'next'
import Background from '@components/Background'
import styles from './page.module.css'
export const metadata: Metadata = {
title: 'chora studio | home',
}
const regenLink =
'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e'
const HomePage = () => {
return (
<div className={styles.container}>
<Background />
<div className={styles.sectionMain}>
<div>
<h1>{'chora '}<span style={{ opacity: '0.75' }}>{'studio'}</span></h1>
<p>
<i>{'what is the role of technology in ecological regeneration?'}</i>
</p>
<p>{'protocol research and development'}</p>
</div>
</div>
<div className={styles.sectionText}>
<div>
<h2>{'products'}</h2>
<p>
{
'Chora Studio is stewarding '
}
<a href="https://chora.io" target="_blank">
{'Chora Protocol'}
</a>
{' - software tools and services for commons governance and ecological regeneration.'}
</p>
<p>
<a href="/products">
{'learn more ⇾'}
</a>
</p>
<h2>{'solutions'}</h2>
<p>
{'Chora Studio offers software research and development consulting services to clients building infrastructure for climate solutions.'}
</p>
<p>
<a href="/solutions">
{'learn more ⇾'}
</a>
</p>
<h2>{'validator'}</h2>
<p>
{'Chora Studio operates Chora Validator on '}
<a href={regenLink} target="_blank">
{'Regen'}
</a>
{
' in addition to multiple test networks including Chora Testnet and Regen Redwood.'
}
</p>
<p>
<a href="/validator">
{'learn more ⇾'}
</a>
</p>
</div>
</div>
</div>
)
}
export default HomePage

View file

@ -0,0 +1,91 @@
/* container */
.container {
background: var(--background-primary-transparent);
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 {
align-items: center;
background: var(--background-primary);
display: flex;
font-size: 1.2rem;
justify-content: center;
min-height: 100vh;
}
@media (max-width: 850px) {
.sectionText {
font-size: 1rem;
}
}
.sectionText div {
display: block;
margin-bottom: 5%;
max-width: 650px;
padding: 2rem;
}
.sectionText div h2 {
margin-top: 2rem;
}
.sectionText div p {
padding: 1rem 0;
}
@media (max-width: 850px) {
.sectionText div {
padding: 2rem;
}
}
/* sectionTextLinks */
.sectionTextLinks {
align-items: center;
display: flex;
justify-content: center;
padding: 1rem;
text-align: center;
}
.sectionTextLinks a {
padding: 1rem;
}

30
app/products/page.tsx Normal file
View file

@ -0,0 +1,30 @@
import { Metadata } from 'next'
import styles from './page.module.css'
export const metadata: Metadata = {
title: 'chora studio | products',
}
const ProductsPage = () => {
return (
<div className={styles.container}>
<div className={styles.sectionText}>
<div>
<h2>{'products'}</h2>
<p>
{
'Chora Studio is stewarding '
}
<a href="https://chora.io" target="_blank">
{'Chora Protocol'}
</a>
{' - software tools and services for commons governance and ecological regeneration.'}
</p>
</div>
</div>
</div>
)
}
export default ProductsPage

View file

@ -0,0 +1,91 @@
/* container */
.container {
background: var(--background-primary-transparent);
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 {
align-items: center;
background: var(--background-primary);
display: flex;
font-size: 1.2rem;
justify-content: center;
min-height: 100vh;
}
@media (max-width: 850px) {
.sectionText {
font-size: 1rem;
}
}
.sectionText div {
display: block;
margin-bottom: 5%;
max-width: 650px;
padding: 2rem;
}
.sectionText div h2 {
margin-top: 2rem;
}
.sectionText div p {
padding: 1rem 0;
}
@media (max-width: 850px) {
.sectionText div {
padding: 2rem;
}
}
/* sectionTextLinks */
.sectionTextLinks {
align-items: center;
display: flex;
justify-content: center;
padding: 1rem;
text-align: center;
}
.sectionTextLinks a {
padding: 1rem;
}

24
app/solutions/page.tsx Normal file
View file

@ -0,0 +1,24 @@
import { Metadata } from 'next'
import styles from './page.module.css'
export const metadata: Metadata = {
title: 'chora studio | solutions',
}
const SolutionsPage = () => {
return (
<div className={styles.container}>
<div className={styles.sectionText}>
<div>
<h2>{'solutions'}</h2>
<p>
{'Chora Studio offers software research and development consulting services to clients building infrastructure for climate solutions.'}
</p>
</div>
</div>
</div>
)
}
export default SolutionsPage

View file

@ -0,0 +1,91 @@
/* container */
.container {
background: var(--background-primary-transparent);
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 {
align-items: center;
background: var(--background-primary);
display: flex;
font-size: 1.2rem;
justify-content: center;
min-height: 100vh;
}
@media (max-width: 850px) {
.sectionText {
font-size: 1rem;
}
}
.sectionText div {
display: block;
margin-bottom: 5%;
max-width: 650px;
padding: 2rem;
}
.sectionText div h2 {
margin-top: 2rem;
}
.sectionText div p {
padding: 1rem 0;
}
@media (max-width: 850px) {
.sectionText div {
padding: 2rem;
}
}
/* sectionTextLinks */
.sectionTextLinks {
align-items: center;
display: flex;
justify-content: center;
padding: 1rem;
text-align: center;
}
.sectionTextLinks a {
padding: 1rem;
}

33
app/validator/page.tsx Normal file
View file

@ -0,0 +1,33 @@
import { Metadata } from 'next'
import styles from './page.module.css'
export const metadata: Metadata = {
title: 'chora studio | validator',
}
const regenLink =
'https://www.mintscan.io/regen/validators/regenvaloper1t8p3zdu3h8qzggfmvvvmtdnaj4trcsfh79xp4e'
const ValidatorPage = () => {
return (
<div className={styles.container}>
<div className={styles.sectionText}>
<div>
<h2>{'validator'}</h2>
<p>
{'Chora Studio operates Chora Validator on '}
<a href={regenLink} target="_blank">
{'Regen'}
</a>
{
' in addition to multiple test networks including Chora Testnet and Regen Redwood.'
}
</p>
</div>
</div>
</div>
)
}
export default ValidatorPage