From 604f63b556d09b39338eb46da5cf0e47428b7558 Mon Sep 17 00:00:00 2001 From: alfetopito Date: Mon, 18 Apr 2022 14:22:18 +0100 Subject: [PATCH 1/2] Modded lib/components/BrandedFooter --- .../BrandedFooter/BrandedFooterMod.tsx | 43 +++++++++++++++++++ .../lib/components/BrandedFooter/index.tsx | 3 ++ src/lib/components/BrandedFooter.tsx | 2 +- 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 src/custom/lib/components/BrandedFooter/BrandedFooterMod.tsx create mode 100644 src/custom/lib/components/BrandedFooter/index.tsx diff --git a/src/custom/lib/components/BrandedFooter/BrandedFooterMod.tsx b/src/custom/lib/components/BrandedFooter/BrandedFooterMod.tsx new file mode 100644 index 0000000000..a610f35a4e --- /dev/null +++ b/src/custom/lib/components/BrandedFooter/BrandedFooterMod.tsx @@ -0,0 +1,43 @@ +import { Trans } from '@lingui/macro' +import Row from 'lib/components/Row' +import { Logo } from 'lib/icons' +import { /*styled,*/ /*brand,*/ ThemedText } from 'lib/theme' + +// MOD imports +import { UniswapA } from '@src/lib/components/BrandedFooter' + +/* import ExternalLink from './ExternalLink' + +const UniswapA = styled(ExternalLink)` + color: ${({ theme }) => theme.secondary}; + cursor: pointer; + text-decoration: none; + + ${Logo} { + fill: ${({ theme }) => theme.secondary}; + height: 1em; + transition: transform 0.25s ease, fill 0.25s ease; + width: 1em; + will-change: transform; + } + + :hover ${Logo} { + fill: ${brand}; + transform: rotate(-5deg); + } +` */ + +export default function BrandedFooter() { + return ( + + + + + + Powered by the CoW Protocol + + + + + ) +} diff --git a/src/custom/lib/components/BrandedFooter/index.tsx b/src/custom/lib/components/BrandedFooter/index.tsx new file mode 100644 index 0000000000..cc2bfb1b92 --- /dev/null +++ b/src/custom/lib/components/BrandedFooter/index.tsx @@ -0,0 +1,3 @@ +import BrandedFooter from './BrandedFooterMod' + +export default BrandedFooter diff --git a/src/lib/components/BrandedFooter.tsx b/src/lib/components/BrandedFooter.tsx index f00e642d8e..6a3db0c866 100644 --- a/src/lib/components/BrandedFooter.tsx +++ b/src/lib/components/BrandedFooter.tsx @@ -5,7 +5,7 @@ import styled, { brand, ThemedText } from 'lib/theme' import ExternalLink from './ExternalLink' -const UniswapA = styled(ExternalLink)` +export const UniswapA = styled(ExternalLink)` color: ${({ theme }) => theme.secondary}; cursor: pointer; text-decoration: none; From 0f64948672ba660342b46905d1fb60b07eef4c90 Mon Sep 17 00:00:00 2001 From: alfetopito Date: Mon, 18 Apr 2022 14:42:11 +0100 Subject: [PATCH 2/2] Overwritting lib/assets/svg/logo with CoW Protocol's logo --- src/custom/lib/assets/svg/logo.svg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/custom/lib/assets/svg/logo.svg diff --git a/src/custom/lib/assets/svg/logo.svg b/src/custom/lib/assets/svg/logo.svg new file mode 100644 index 0000000000..c247c0e16e --- /dev/null +++ b/src/custom/lib/assets/svg/logo.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file