Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Remove facebook from credits page
Browse files Browse the repository at this point in the history
  • Loading branch information
fragosti committed Mar 15, 2019
1 parent 7326dbd commit d3f45d2
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
4 changes: 0 additions & 4 deletions packages/website/ts/components/modals/modal_contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ const CREDIT_SERVICES_OPTIONS: ServiceOptionMetadata[] = [
label: 'AWS',
name: 'aws',
},
{
label: 'Facebook Ads',
name: 'facebook_ads',
},
{
label: 'Alchemy',
name: 'alchemy',
Expand Down
4 changes: 3 additions & 1 deletion packages/website/ts/components/newLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export interface FlexProps {
isFlex?: boolean;
flexBreakpoint?: string;
alignItems?: string;
justifyContent?: string;
}

export interface ColumnProps {
Expand Down Expand Up @@ -77,7 +78,8 @@ export const FlexWrap = styled.div<FlexProps>`
@media (min-width: ${props => props.flexBreakpoint || '768px'}) {
display: ${props => props.isFlex && 'flex'};
justify-content: ${props => props.isFlex && 'space-between'};
justify-content: ${props =>
props.justifyContent ? props.justifyContent : props.isFlex ? 'space-between' : undefined};
align-items: ${props => props.alignItems};
}
`;
Expand Down
11 changes: 1 addition & 10 deletions packages/website/ts/pages/credits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class Credits extends React.Component<CreditsProps> {
/>
</FlexWrap>

<FlexWrap>
<FlexWrap justifyContent="center">
<CenteredDefinition
title="Digital Ocean"
titleSize="small"
Expand All @@ -80,15 +80,6 @@ export class Credits extends React.Component<CreditsProps> {
iconSize="medium"
isInline={true}
/>

<CenteredDefinition
title="Facebook Ads"
titleSize="small"
description="Up to $2,000 in ad credits to bootstrap marketing"
icon="facebook_ads"
iconSize="medium"
isInline={true}
/>
</FlexWrap>
</Section>

Expand Down
19 changes: 16 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11370,6 +11370,11 @@ [email protected], nan@>=2.5.1, nan@^2.0.8, nan@^2.2.1, nan@^2.3.0, nan@^2.3.3, nan@^2.
version "2.10.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f"

nan@^2.11.0:
version "2.13.1"
resolved "https://registry.npmjs.org/nan/-/nan-2.13.1.tgz#a15bee3790bde247e8f38f1d446edcdaeb05f2dd"
integrity sha512-I6YB/YEuDeUZMmhscXKxGgZlFnhsn5y0hgOZBadkzfTRrZBtJDZeg6eQf7PYMIEclwmorTKK8GztsyOUSVBREA==

nano-json-stream-parser@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz#0cc8f6d0e2b622b479c40d499c46d64b755c6f5f"
Expand Down Expand Up @@ -13568,8 +13573,6 @@ react-highlight@0xproject/react-highlight#react-peer-deps:
dependencies:
highlight.js "^9.11.0"
highlightjs-solidity "^1.0.5"
react "^16.4.2"
react-dom "^16.4.2"

react-hot-loader@^4.3.3:
version "4.3.4"
Expand Down Expand Up @@ -16477,7 +16480,7 @@ typed-styles@^0.0.5:
version "0.0.5"
resolved "https://registry.npmjs.org/typed-styles/-/typed-styles-0.0.5.tgz#a60df245d482a9b1adf9c06c078d0f06085ed1cf"

typedarray-to-buffer@^3.1.2:
typedarray-to-buffer@^3.1.2, typedarray-to-buffer@^3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
dependencies:
Expand Down Expand Up @@ -17673,6 +17676,16 @@ [email protected]:
typedarray-to-buffer "^3.1.2"
yaeti "^0.0.6"

websocket@^1.0.26:
version "1.0.28"
resolved "https://registry.npmjs.org/websocket/-/websocket-1.0.28.tgz#9e5f6fdc8a3fe01d4422647ef93abdd8d45a78d3"
integrity sha512-00y/20/80P7H4bCYkzuuvvfDvh+dgtXi5kzDf3UcZwN6boTYaKvsrtZ5lIYm1Gsg48siMErd9M4zjSYfYFHTrA==
dependencies:
debug "^2.2.0"
nan "^2.11.0"
typedarray-to-buffer "^3.1.5"
yaeti "^0.0.6"

"websocket@git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible":
version "1.0.26"
resolved "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2"
Expand Down

0 comments on commit d3f45d2

Please sign in to comment.