diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-11-28 23:26:56 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-11-28 23:26:56 +0800 |
commit | 56ca19dc9bc5342ac5e97ad06c20a6083c2f3c2a (patch) | |
tree | 399ef0fcbfc627e0361a5b30e69ef853091927bb /packages/website/ts/@next/components/logo.tsx | |
parent | 969674a5ce99260a1fa0b749611845153c105bc4 (diff) | |
download | dexon-0x-contracts-56ca19dc9bc5342ac5e97ad06c20a6083c2f3c2a.tar.gz dexon-0x-contracts-56ca19dc9bc5342ac5e97ad06c20a6083c2f3c2a.tar.zst dexon-0x-contracts-56ca19dc9bc5342ac5e97ad06c20a6083c2f3c2a.zip |
Add ehader
Diffstat (limited to 'packages/website/ts/@next/components/logo.tsx')
-rw-r--r-- | packages/website/ts/@next/components/logo.tsx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/logo.tsx b/packages/website/ts/@next/components/logo.tsx new file mode 100644 index 000000000..2d778408e --- /dev/null +++ b/packages/website/ts/@next/components/logo.tsx @@ -0,0 +1,22 @@ +import * as React from 'react'; +import styled from 'styled-components'; + +import logoWithType from '../icons/logo-with-type.svg'; + +export interface LogoInterface { + // showType: boolean; +} + +const StyledLogo = styled.div` + text-align: center; +`; + +const Icon = styled.div` + flex-shrink: 0; +`; + +export const Logo: React.StatelessComponent<LogoInterface> = ({}) => ( + <StyledLogo> + <Icon as={logoWithType as 'svg'} /> + </StyledLogo> +); |