From 1d3d980d6a63e0fae22a7769bea7ed2900805237 Mon Sep 17 00:00:00 2001 From: ryanchristo <12519942+ryanchristo@users.noreply.github.com> Date: Sat, 4 May 2024 12:21:49 -0700 Subject: [PATCH] update main content styling --- app/layout.tsx | 296 +++++++++++++++++----------------- app/page.module.css | 96 ++++------- app/page.tsx | 41 ++--- app/products/page.module.css | 62 +------ app/products/page.tsx | 4 +- app/solutions/page.module.css | 62 +------ app/solutions/page.tsx | 4 +- app/validator/page.module.css | 62 +------ app/validator/page.tsx | 4 +- 9 files changed, 216 insertions(+), 415 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 0563313..0f6f330 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -8,155 +8,153 @@ import './globals.css' const Layout = ({ children }: any) => (
-{'commons governance and ecological regeneration'} @@ -25,7 +22,7 @@ const HomePage = () => {
{'research and development'}
@@ -37,24 +34,20 @@ const HomePage = () => { ' - software for commons governance and ecological regeneration built with distributed ledger technology.' }
-
-
- {'learn more'}
-
{ 'Chora Studio provides software research and development as a service with a focus on distributed ledger technology and regenerative finance.' }
-
-
- {'learn more'}
-
{'Chora Studio operates Chora Validator on '} @@ -68,12 +61,10 @@ const HomePage = () => { ' and multiple test networks including Regen Redwood and Chora Testnet.' }
-
-
- {'learn more'}
-
diff --git a/app/solutions/page.module.css b/app/solutions/page.module.css index bf6cfd7..45b5e5f 100644 --- a/app/solutions/page.module.css +++ b/app/solutions/page.module.css @@ -1,60 +1,8 @@ -/* container */ - -.container { - background: var(--background-primary-transparent); - margin-top: var(--header-height); - width: 100vw; +.page { + composes: page from 'chora/styles/page.css'; } -/* sectionText */ - -.sectionText { - 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 h1 { - margin: 2rem 0 1rem 0; -} - -@media (max-width: 850px) { - .sectionText h1 { - margin: 0; - } -} - -.sectionText h2 { - margin-top: 2rem; -} - -@media (max-width: 850px) { - .sectionText h2 { - margin-top: 1rem; - } -} - -.sectionText div p { - padding: 1rem 0; -} - -@media (max-width: 850px) { - .sectionText div { - padding: 2rem; - } +.content { + composes: content from 'chora/styles/main.css'; + min-height: calc(100vh - var(--header-height) - var(--footer-height)); } diff --git a/app/solutions/page.tsx b/app/solutions/page.tsx index b8431ec..39e7320 100644 --- a/app/solutions/page.tsx +++ b/app/solutions/page.tsx @@ -8,8 +8,8 @@ export const metadata: Metadata = { const SolutionsPage = () => { return ( -
diff --git a/app/validator/page.module.css b/app/validator/page.module.css index bf6cfd7..45b5e5f 100644 --- a/app/validator/page.module.css +++ b/app/validator/page.module.css @@ -1,60 +1,8 @@ -/* container */ - -.container { - background: var(--background-primary-transparent); - margin-top: var(--header-height); - width: 100vw; +.page { + composes: page from 'chora/styles/page.css'; } -/* sectionText */ - -.sectionText { - 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 h1 { - margin: 2rem 0 1rem 0; -} - -@media (max-width: 850px) { - .sectionText h1 { - margin: 0; - } -} - -.sectionText h2 { - margin-top: 2rem; -} - -@media (max-width: 850px) { - .sectionText h2 { - margin-top: 1rem; - } -} - -.sectionText div p { - padding: 1rem 0; -} - -@media (max-width: 850px) { - .sectionText div { - padding: 2rem; - } +.content { + composes: content from 'chora/styles/main.css'; + min-height: calc(100vh - var(--header-height) - var(--footer-height)); } diff --git a/app/validator/page.tsx b/app/validator/page.tsx index 1bbef0e..ff4c6ba 100644 --- a/app/validator/page.tsx +++ b/app/validator/page.tsx @@ -11,8 +11,8 @@ const regenLink = const ValidatorPage = () => { return ( -