-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Splash page #131
Merged
Merged
Splash page #131
Changes from 6 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
262110a
Adde new splash page
manatarms dfa5621
Yarn upgrade and new eslint rules
manatarms 07693c2
Fixed eslint errors
manatarms 9c0d829
Changed route names to better names
manatarms 1d3b770
Changed the channel values and added more tests for channel function
manatarms 2435ab7
Added integration specific heading
manatarms 60d061b
Updated tests for channel generator
manatarms 21b41b3
Fix conflict
manatarms 2e16701
Changed to svgs
manatarms 321aa21
Updated tests
manatarms 63f740d
Merge branch 'master' into splash-page
manatarms File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"globalReturn": false, | ||
"impliedStrict": true, | ||
"jsx": true, | ||
"experimentalObjectRestSpread": true | ||
} | ||
}, | ||
"globals": { | ||
"__webpack_public_path__": true, | ||
"bootstrap": true, | ||
"describe": true, | ||
"it": true, | ||
"beforeEach": true, | ||
"afterEach": true, | ||
"before": true, | ||
"after": true, | ||
"test": true, | ||
"expect": true | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"plugins": [ | ||
"prettier", | ||
"react", | ||
"import", | ||
"json", | ||
"cflint", | ||
"compat", | ||
"mocha" | ||
], | ||
"extends": [ | ||
"plugin:react/recommended", | ||
"plugin:import/errors", | ||
"plugin:import/warnings" | ||
], | ||
"rules": { | ||
"mocha/no-exclusive-tests": 2, | ||
"block-scoped-var": 2, | ||
"default-case": 2, | ||
"guard-for-in": 2, | ||
"no-else-return": 2, | ||
"no-floating-decimal": 2, | ||
"no-self-compare": 2, | ||
"no-void": 2, | ||
"radix": 2, | ||
"wrap-iife": ["error", "inside"], | ||
"no-catch-shadow": 2, | ||
"handle-callback-err": 2, | ||
"camelcase": 0, | ||
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}], | ||
"no-undef": [2, {"typeof": false}], | ||
"react/prop-types": [2, {"skipUndeclared": true}], | ||
"import/no-absolute-path": 2, | ||
"import/no-deprecated": 1, | ||
"import/no-mutable-exports": 1, | ||
"import/no-extraneous-dependencies": 0, | ||
"import/no-unresolved": 0, | ||
"import/first": 1, | ||
"prettier/prettier": [2, {"trailingComma": "none", "singleQuote": true}], | ||
"compat/compat": 2 | ||
}, | ||
"settings": { | ||
"import/resolver": "webpack" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import React, { Component } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
export default class BenefitsFeature extends Component { | ||
render() { | ||
/* | ||
* These styles are stolen from the marketing site and aren't in our CSS | ||
*/ | ||
let divStyles = { | ||
padding: '30px 15px 30px 15px' | ||
}; | ||
let iconStyles = { | ||
display: 'block', | ||
width: '75px', | ||
height: 'auto', | ||
maxWidth: '100px', | ||
margin: '0 auto' | ||
}; | ||
let largeLinkStyles = { | ||
padding: '20px 0 0 0', | ||
textAlign: 'center', | ||
fontSize: '16px', | ||
color: '#333333', | ||
width: '100%', | ||
display: 'block' | ||
}; | ||
let columnPStyles = { | ||
padding: '10px 0 0 0', | ||
fontSize: '12px', | ||
textAlign: 'center', | ||
color: '#9A9D9E' | ||
}; | ||
|
||
return ( | ||
<div style={divStyles}> | ||
<img src={this.props.imgSrc} style={iconStyles} /> | ||
<span style={largeLinkStyles} href="#"> | ||
{this.props.title} | ||
</span> | ||
<p style={columnPStyles}> | ||
{this.props.description} | ||
</p> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
BenefitsFeature.propTypes = { | ||
imgSrc: PropTypes.string.isRequired, | ||
title: PropTypes.string.isRequired, | ||
description: PropTypes.string.isRequired | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from 'react'; | ||
import { createComponent } from 'cf-style-container'; | ||
|
||
const gradientStyles = () => ({ | ||
width: '100%', | ||
height: '150px', | ||
display: 'flex', | ||
justifyContent: 'center', | ||
background: 'linear-gradient(left, #8176B5, #76C4E2)', | ||
backgroundRepeat: 'no-repeat', | ||
backgroundSize: '100% 250px', | ||
backgroundColor: '#e6e6e6' | ||
}); | ||
|
||
const GradientBanner = ({ className, children }) => { | ||
return React.createElement('div', { className }, children); | ||
}; | ||
|
||
export default createComponent(gradientStyles, GradientBanner); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matches www-next