-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modded lib/components/BrandedFooter * Overwritting lib/assets/svg/logo with CoW Protocol's logo
- Loading branch information
1 parent
d995ca8
commit 71d99f2
Showing
4 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions
43
src/custom/lib/components/BrandedFooter/BrandedFooterMod.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<Row justify="center"> | ||
<UniswapA href={`https://cow.fi/`}> | ||
<Row gap={0.25}> | ||
<Logo /> | ||
<ThemedText.Caption> | ||
<Trans>Powered by the CoW Protocol</Trans> | ||
</ThemedText.Caption> | ||
</Row> | ||
</UniswapA> | ||
</Row> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import BrandedFooter from './BrandedFooterMod' | ||
|
||
export default BrandedFooter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters