From 40a52063177af828e821e98304bf4586d57f1d05 Mon Sep 17 00:00:00 2001 From: fritzschoff Date: Wed, 7 Feb 2024 14:47:06 +0000 Subject: [PATCH] updated other screen sizes --- src/sections/governance/ecosystem.tsx | 180 +++++++++++++------------- src/sections/governance/features.tsx | 86 ++++++------ src/sections/governance/header.tsx | 12 +- 3 files changed, 149 insertions(+), 129 deletions(-) diff --git a/src/sections/governance/ecosystem.tsx b/src/sections/governance/ecosystem.tsx index 21b446c0..a73af63f 100644 --- a/src/sections/governance/ecosystem.tsx +++ b/src/sections/governance/ecosystem.tsx @@ -146,13 +146,7 @@ const COUNCILS = [ export default function GovernanceEcosystem() { return ( - + - {COUNCILS.map(council => { - return ( - - {council.icon} - {council.title} - - {council.description.map(description => { - if (typeof description === 'object') + + {COUNCILS.map(council => { + return ( + + {council.icon} + {council.title} + + {council.description.map(description => { + if (typeof description === 'object') + return ( + + + {description.text} + + + ); return ( - - - {description.text} - - + {description} + ); - return ( - - {description} - - ); - })} - - - - - - ); - })} + + + + ); + })} + Protocol Features - - - {FEATURES.map(feature => { - return ( - - - {feature.title} - - {Array.isArray(feature.description) ? ( - feature.description.map((d, index) => { - console.log(index % 2, index); - if (index % 2 === 1) - return ( - - {d} - - ); + + + {FEATURES.map(feature => { + return ( + + + {feature.title} + + {Array.isArray(feature.description) ? ( + feature.description.map((d, index) => { + console.log(index % 2, index); + if (index % 2 === 1) return ( {d} ); - }) - ) : ( - - {feature.description} - - )} - - ); - })} - + return ( + + {d} + + ); + }) + ) : ( + + {feature.description} + + )} + + ); + })} ); diff --git a/src/sections/governance/header.tsx b/src/sections/governance/header.tsx index b79e36de..bbe17607 100644 --- a/src/sections/governance/header.tsx +++ b/src/sections/governance/header.tsx @@ -4,13 +4,13 @@ import Link from 'next/link'; export default function GovernanceHeader() { return ( - + - + A Decentralized Governance Synthetix is a decentralized protocol run by governance, with representative councils elected by the community, ensuring every