fix(website): instant marketing page need more background color

This commit is contained in:
Brandon Millman 2018-11-28 12:57:07 -08:00
parent 0a1425d8d8
commit 045336042f
3 changed files with 4 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 KiB

After

Width:  |  Height:  |  Size: 571 KiB

View File

@ -11,13 +11,11 @@ export interface NeedMoreProps {
}
export const NeedMore = (props: NeedMoreProps) => {
const isSmallScreen = props.screenWidth === ScreenWidths.Sm;
const backgroundColor = isSmallScreen ? colors.instantTertiaryBackground : colors.instantSecondaryBackground;
const className = isSmallScreen ? 'flex flex-column items-center' : 'flex';
const marginRight = isSmallScreen ? undefined : '200px';
return (
<Container
className="flex flex-column items-center py4 px3"
backgroundColor={colors.instantSecondaryBackground}
>
<Container className="flex flex-column items-center py4 px3" backgroundColor={backgroundColor}>
<Container className={className}>
<Container className="sm-center" marginRight={marginRight}>
<Text fontColor={colors.white} fontSize="32px" lineHeight="45px">
@ -32,7 +30,7 @@ export const NeedMore = (props: NeedMoreProps) => {
<Button
type="button"
backgroundColor={colors.white}
fontColor={colors.instantSecondaryBackground}
fontColor={backgroundColor}
fontSize="18px"
>
Get in Touch

View File

@ -15,6 +15,7 @@ const appColors = {
metaMaskTransparentOrange: 'rgba(255, 248, 242, 0.8)',
instantPrimaryBackground: '#222222',
instantSecondaryBackground: '#333333',
instantTertiaryBackground: '#444444',
};
export const colors = {