From b429a7482b273f71d8d9e710380dbf22b73bf9ea Mon Sep 17 00:00:00 2001 From: Walter Hurtado Date: Tue, 16 Feb 2021 17:29:56 -0800 Subject: [PATCH] =?UTF-8?q?-=20Style=20adjustments=20in=20'Financial=20pag?= =?UTF-8?q?e'=20-=20Links=20in=20header=20men=C3=BA=20hidden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Head/index.tsx | 12 +++++------ src/pages/Finance/index.tsx | 39 +++++++++++++++-------------------- src/pages/Finance/styles.styl | 16 ++++++++++++++ 3 files changed, 39 insertions(+), 28 deletions(-) diff --git a/src/components/Head/index.tsx b/src/components/Head/index.tsx index 85867f64..cd472a47 100644 --- a/src/components/Head/index.tsx +++ b/src/components/Head/index.tsx @@ -90,7 +90,7 @@ export const Head: React.FC> = withTheme( - > = withTheme( onClick={goToBridge} > Bridge - + */} {/*> = withTheme( {/* Swap*/} {/**/} - { routing.push(`/tokens`); @@ -136,7 +136,7 @@ export const Head: React.FC> = withTheme( }} > Transactions - + */} {/* > = withTheme( Info */} - routing.push('/earn')} > @@ -157,7 +157,7 @@ export const Head: React.FC> = withTheme( onClick={() => routing.push('/faq')} > FAQ - + */} {/* { - const [expandedIdxs, setExpandedIdxs] = useState([]); - - const addExpanded = idx => setExpandedIdxs(expandedIdxs.concat([idx])); - const removeExpanded = idx => setExpandedIdxs(expandedIdxs.filter(item => item !== idx)); return ( -

Defi Products

- - - - - +
diff --git a/src/pages/Finance/styles.styl b/src/pages/Finance/styles.styl index 78418bf1..e1210601 100644 --- a/src/pages/Finance/styles.styl +++ b/src/pages/Finance/styles.styl @@ -10,8 +10,17 @@ @media screen and (max-width: 800px) { gap: 16px; } + #disabled { + opacity: 0.5; + cursor: arrow; + box-shadow: none; + &:hover { + background: #ffffff; + } + } .defiProduct { /* Auto Layout */ + height: 586px; position: relative; display: flex; flex-direction: column; @@ -27,14 +36,21 @@ flex-grow: 1; margin: 0px 16px; transition: ease 2s; + justify-content: center; @media screen and (max-width: 800px) { flex: 1 1 100%; + height: auto; } &:hover { background: #E1FEF2; } .defiTitle { color: #30303D; + font-size: 2rem; + } + .imgFluid { + width: 120px; + height: 120px; } .defiDescription { color: #748695;