aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/logo.tsx
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-28 23:26:56 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-28 23:26:56 +0800
commit56ca19dc9bc5342ac5e97ad06c20a6083c2f3c2a (patch)
tree399ef0fcbfc627e0361a5b30e69ef853091927bb /packages/website/ts/@next/components/logo.tsx
parent969674a5ce99260a1fa0b749611845153c105bc4 (diff)
downloaddexon-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.tsx22
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>
+);