Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"rename-version": "docusaurus-rename-version"
},
"dependencies": {
"docusaurus": "^1.0.6"
"docusaurus": "^1.3.0"
},
"devDependencies": {
"crowdin-cli": "^0.3.0"
Expand Down
48 changes: 22 additions & 26 deletions website/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ class HomeSplash extends React.Component {
<div className="homeSplashFade">
<div className="wrapper homeWrapper">
<div className="projectLogo">
<img
src={siteConfig.baseUrl + 'img/jest-outline.svg'}
alt="Jest"
/>
<img src={siteConfig.baseUrl + 'img/jest.svg'} alt="Jest" />
</div>
<div className="inner">
<h2 className="projectTitle">
Expand Down Expand Up @@ -120,7 +117,7 @@ class Index extends React.Component {
<div>
<HomeSplash language={this.props.language} config={siteConfig} />
<div className="mainContainer">
<Container padding={['bottom', 'top']}>
<Container padding={['bottom', 'top']} background="light">
<GridBlock
align="center"
contents={[
Expand Down Expand Up @@ -162,26 +159,26 @@ class Index extends React.Component {
layout="fourColumn"
/>
</Container>

<div
className="productShowcaseSection paddingBottom"
style={{textAlign: 'center'}}
>
<h2>
<translate>Zero configuration testing platform</translate>
</h2>
<MarkdownBlock>
<translate>
Jest is used by Facebook to test all JavaScript code including
React applications. One of Jest's philosophies is to provide an
integrated \"zero-configuration\" experience. We observed that
when engineers are provided with ready-to-use tools, they end up
writing more tests, which in turn results in more stable and
healthy code bases.
</translate>
</MarkdownBlock>
</div>

<Container padding={['bottom', 'top']}>
<div
className="productShowcaseSection paddingBottom"
style={{textAlign: 'center'}}
>
<h2>
<translate>Zero configuration testing platform</translate>
</h2>
<MarkdownBlock>
<translate>
Jest is used by Facebook to test all JavaScript code including
React applications. One of Jest's philosophies is to provide
an integrated \"zero-configuration\" experience. We observed
that when engineers are provided with ready-to-use tools, they
end up writing more tests, which in turn results in more
stable and healthy code bases.
</translate>
</MarkdownBlock>
</div>
</Container>
<Container padding={['bottom', 'top']} background="light">
<GridBlock
contents={[
Expand Down Expand Up @@ -245,7 +242,6 @@ class Index extends React.Component {
]}
/>
</Container>

<Container background="dark" padding={['bottom', 'top']}>
<a className="anchor" name="use" />
<a className="hash-link" href="#use" />
Expand Down
2 changes: 2 additions & 0 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const siteConfig = {
footerIcon: 'img/jest-outline.svg',
favicon: 'img/favicon/favicon.ico',
ogImage: 'img/opengraph.png',
onPageNav: 'separate',
recruitingLink: 'https://crowdin.com/project/jest',
algolia: {
apiKey: process.env.ALGOLIA_JEST_API_KEY,
Expand All @@ -122,6 +123,7 @@ const siteConfig = {
repoUrl,
siteConfigUrl:
'https://github.com/facebook/jest/edit/master/website/siteConfig.js',
cleanUrl: true,
};

module.exports = siteConfig;
63 changes: 48 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2116,9 +2116,9 @@ class-utils@^0.3.5:
isobject "^3.0.0"
static-extend "^0.1.1"

classnames@^2.2.5:
version "2.2.5"
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.5.tgz#fb3801d453467649ef3603c7d61a02bd129bde6d"
classnames@^2.2.6:
version "2.2.6"
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce"

cli-cursor@^2.1.0:
version "2.1.0"
Expand All @@ -2130,6 +2130,14 @@ cli-width@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"

clipboard@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.1.tgz#a12481e1c13d8a50f5f036b0560fe5d16d74e46a"
dependencies:
good-listener "^1.2.2"
select "^1.1.2"
tiny-emitter "^2.0.0"

clipboardy@^1.2.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-1.2.3.tgz#0526361bf78724c1f20be248d428e365433c07ef"
Expand Down Expand Up @@ -3185,6 +3193,10 @@ delayed-stream@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"

delegate@^3.1.2:
version "3.2.0"
resolved "https://registry.yarnpkg.com/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166"

delegates@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
Expand Down Expand Up @@ -3295,9 +3307,9 @@ doctrine@^2.1.0:
dependencies:
esutils "^2.0.2"

docusaurus@^1.0.6:
version "1.1.5"
resolved "https://registry.yarnpkg.com/docusaurus/-/docusaurus-1.1.5.tgz#66f7f55185b61946e0bc5eaa73a389f0f5ae2616"
docusaurus@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/docusaurus/-/docusaurus-1.3.0.tgz#a2a8a8f581390d53bffefc4b5e699699576970c9"
dependencies:
babel-plugin-transform-class-properties "^6.24.1"
babel-plugin-transform-object-rest-spread "^6.26.0"
Expand All @@ -3308,7 +3320,7 @@ docusaurus@^1.0.6:
babel-traverse "^6.25.0"
babylon "^6.17.4"
chalk "^2.1.0"
classnames "^2.2.5"
classnames "^2.2.6"
color "^2.0.1"
commander "^2.11.0"
crowdin-cli "^0.3.0"
Expand All @@ -3327,16 +3339,17 @@ docusaurus@^1.0.6:
imagemin-svgo "^6.0.0"
markdown-toc "^1.2.0"
mkdirp "^0.5.1"
react "^16.3.2"
prismjs "^1.15.0"
react "^16.4.1"
react-dev-utils "^5.0.1"
react-dom "^16.3.2"
react-dom "^16.4.1"
remarkable "^1.7.1"
request "^2.87.0"
shelljs "^0.7.8"
sitemap "^1.13.0"
tcp-port-used "^0.1.2"
tiny-lr "^1.1.1"
tree-node-cli "^1.2.1"
tree-node-cli "^1.2.2"

dom-serialize@^2.2.0:
version "2.2.1"
Expand Down Expand Up @@ -4828,6 +4841,12 @@ glogg@^1.0.0:
dependencies:
sparkles "^1.0.0"

good-listener@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50"
dependencies:
delegate "^3.1.2"

got@^5.0.0:
version "5.7.1"
resolved "https://registry.yarnpkg.com/got/-/got-5.7.1.tgz#5f81635a61e4a6589f180569ea4e381680a51f35"
Expand Down Expand Up @@ -8419,6 +8438,12 @@ prettylint@^1.0.0:
meow "^3.7.0"
tslib "^1.8.0"

prismjs@^1.15.0:
version "1.15.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.15.0.tgz#8801d332e472091ba8def94976c8877ad60398d9"
optionalDependencies:
clipboard "^2.0.0"

private@^0.1.6, private@^0.1.7, private@^0.1.8:
version "0.1.8"
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
Expand Down Expand Up @@ -8711,7 +8736,7 @@ react-devtools-core@^2.5.0:
shell-quote "^1.6.1"
ws "^2.0.3"

react-dom@*, react-dom@^16.3.2:
react-dom@*:
version "16.4.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.4.0.tgz#099f067dd5827ce36a29eaf9a6cdc7cbf6216b1e"
dependencies:
Expand All @@ -8720,7 +8745,7 @@ react-dom@*, react-dom@^16.3.2:
object-assign "^4.1.1"
prop-types "^15.6.0"

[email protected]:
[email protected], react-dom@^16.4.1:
version "16.4.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.4.1.tgz#7f8b0223b3a5fbe205116c56deb85de32685dad6"
dependencies:
Expand Down Expand Up @@ -8839,7 +8864,7 @@ react-transform-hmr@^1.0.4:
global "^4.3.0"
react-proxy "^1.1.7"

react@*, react@^16.3.2:
react@*:
version "16.4.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.4.0.tgz#402c2db83335336fba1962c08b98c6272617d585"
dependencies:
Expand All @@ -8857,7 +8882,7 @@ [email protected]:
object-assign "^4.1.1"
prop-types "^15.6.0"

[email protected]:
[email protected], react@^16.4.1:
version "16.4.1"
resolved "https://registry.yarnpkg.com/react/-/react-16.4.1.tgz#de51ba5764b5dbcd1f9079037b862bd26b82fe32"
dependencies:
Expand Down Expand Up @@ -9568,6 +9593,10 @@ seek-bzip@^1.0.3:
dependencies:
commander "~2.8.1"

select@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d"

semver-regex@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-1.0.0.tgz#92a4969065f9c70c694753d55248fc68f8f652c9"
Expand Down Expand Up @@ -10511,6 +10540,10 @@ [email protected]:
version "2.3.0"
resolved "https://registry.yarnpkg.com/timespan/-/timespan-2.3.0.tgz#4902ce040bd13d845c8f59b27e9d59bad6f39929"

tiny-emitter@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.0.2.tgz#82d27468aca5ade8e5fd1e6d22b57dd43ebdfb7c"

tiny-lr@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/tiny-lr/-/tiny-lr-1.1.1.tgz#9fa547412f238fedb068ee295af8b682c98b2aab"
Expand Down Expand Up @@ -10603,7 +10636,7 @@ tr46@^1.0.1:
dependencies:
punycode "^2.1.0"

tree-node-cli@^1.2.1:
tree-node-cli@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/tree-node-cli/-/tree-node-cli-1.2.2.tgz#d8aa63f7ed4eeea02d047e0b30b662194d9ec4fc"
dependencies:
Expand Down