diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-14 19:55:06 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-14 19:55:22 +0800 |
commit | fab3a90d5add060f2bfeb1dc470373af03fd6d83 (patch) | |
tree | f3ac82df3b2d900cd49abd775fd79f05d4f9345f /packages/website/ts/@next/components | |
parent | a04c54b4d8fe96bf4b2f51b674fa9df87a58c2bb (diff) | |
download | dexon-0x-contracts-fab3a90d5add060f2bfeb1dc470373af03fd6d83.tar.gz dexon-0x-contracts-fab3a90d5add060f2bfeb1dc470373af03fd6d83.tar.zst dexon-0x-contracts-fab3a90d5add060f2bfeb1dc470373af03fd6d83.zip |
Adds mission office photo
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r-- | packages/website/ts/@next/components/button.tsx | 6 | ||||
-rw-r--r-- | packages/website/ts/@next/components/header.tsx | 1 | ||||
-rw-r--r-- | packages/website/ts/@next/components/siteWrap.tsx | 3 |
3 files changed, 3 insertions, 7 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx index 4c646e199..fb7c913a5 100644 --- a/packages/website/ts/@next/components/button.tsx +++ b/packages/website/ts/@next/components/button.tsx @@ -2,6 +2,8 @@ import * as React from 'react'; import { Link as ReactRouterLink, NavLink as ReactRouterNavLink } from 'react-router-dom'; import styled from 'styled-components'; +import { ThemeInterface } from 'ts/@next/components/siteWrap'; + import { colors } from 'ts/style/colors'; interface ButtonInterface { @@ -19,9 +21,7 @@ interface ButtonInterface { type?: string; to?: string; onClick?: () => any; - theme?: { - textColor: string; - }; + theme: ThemeInterface; } export const Button = (props: ButtonInterface) => { diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx index 881ec799e..fc754af7e 100644 --- a/packages/website/ts/@next/components/header.tsx +++ b/packages/website/ts/@next/components/header.tsx @@ -102,7 +102,6 @@ class HeaderBase extends React.Component<HeaderProps, HeaderState> { <NavItem key={`navlink-${index}`} link={link} - index={index} /> ))} </NavLinks> diff --git a/packages/website/ts/@next/components/siteWrap.tsx b/packages/website/ts/@next/components/siteWrap.tsx index e0956c582..cc7e4a098 100644 --- a/packages/website/ts/@next/components/siteWrap.tsx +++ b/packages/website/ts/@next/components/siteWrap.tsx @@ -7,8 +7,6 @@ import { Footer } from 'ts/@next/components/footer'; import { Header } from 'ts/@next/components/header'; import { GlobalStyles } from 'ts/@next/constants/globalStyle'; -// Note(ez): We'll define the theme and provide it via a prop -// e.g. theme dark/light/etc. interface Props { theme?: 'dark' | 'light' | 'gray'; children: any; @@ -22,7 +20,6 @@ interface MainProps { isNavToggled: boolean; } -// we proabbly want to put this somewhere else (themes) export interface ThemeInterface { [key: string]: { bgColor: string; |