Skip to content

Commit

Permalink
Remove the users page (#6163)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii authored and cpojer committed May 10, 2018
1 parent e8cfaa5 commit 16de9ac
Show file tree
Hide file tree
Showing 47 changed files with 14 additions and 290 deletions.
26 changes: 7 additions & 19 deletions website/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,13 @@ class HomeSplash extends React.Component {

class Index extends React.Component {
render() {
const showcase = siteConfig.users
.filter(user => {
return user.pinned;
})
.map((user, i) => {
return (
<a href={user.infoLink} key={i}>
<img src={user.image} title={user.caption} />
</a>
);
});
const showcase = siteConfig.users.map((user, i) => {
return (
<a href={user.infoLink} key={i}>
<img src={user.image} title={user.caption} />
</a>
);
});

return (
<div>
Expand Down Expand Up @@ -375,14 +371,6 @@ class Index extends React.Component {
</translate>
</p>
<div className="logos">{showcase}</div>
<div className="more-users">
<a
className="button"
href={siteConfig.baseUrl + this.props.language + '/users.html'}
>
<translate>More Jest Users</translate>
</a>
</div>
</div>
</div>
</div>
Expand Down
34 changes: 0 additions & 34 deletions website/pages/en/users.js

This file was deleted.

229 changes: 7 additions & 222 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,247 +52,32 @@ const users = [
caption: 'Facebook',
image: '/jest/img/logos/facebook.png',
infoLink: 'https://code.facebook.com',
pinned: true,
},
{
caption: 'Oculus',
image: '/jest/img/logos/oculus.png',
infoLink: 'https://www.oculus.com/',
pinned: true,
},
{
caption: 'Instagram',
image: '/jest/img/logos/instagram.png',
infoLink: 'https://www.instagram.com/',
pinned: true,
},

{
caption: 'Twitter',
image: '/jest/img/logos/twitter.png',
infoLink: 'https://www.twitter.com',
pinned: true,
},
{
caption: 'Pinterest',
image: '/jest/img/logos/pinterest.png',
infoLink: 'https://www.pinterest.com',
pinned: true,
},
{
caption: 'The New York Times',
image: '/jest/img/logos/nyt.png',
infoLink: 'http://www.nytimes.com/',
pinned: true,
},
{
caption: 'Airbnb',
image: '/jest/img/logos/airbnb.svg',
infoLink: 'https://www.airbnb.com/',
},
{
caption: 'IBM',
image: '/jest/img/logos/ibm.png',
infoLink: 'http://www.ibm.com/',
},
{
caption: 'ebay',
image: '/jest/img/logos/ebay.png',
infoLink: 'http://www.ebay.com/',
},
{
caption: 'PayPal',
image: '/jest/img/logos/paypal.png',
infoLink: 'https://www.paypal.com',
},
{
caption: 'Spotify',
image: '/jest/img/logos/spotify.png',
infoLink: 'https://www.spotify.com',
},
{
caption: 'Target',
image: '/jest/img/logos/target.png',
infoLink: 'http://www.target.com',
},
{
caption: 'Intuit',
image: '/jest/img/logos/intuit.png',
infoLink: 'https://www.intuit.com/',
},
{
caption: 'Cisco',
image: '/jest/img/logos/cisco.png',
infoLink: 'http://www.cisco.com/',
},
{
caption: 'Algolia',
image: '/jest/img/logos/algolia.svg',
infoLink: 'https://algolia.com',
},
{
caption: 'Artsy',
image: '/jest/img/logos/artsy.png',
infoLink: 'https://www.artsy.net/',
},
{
caption: 'Audiense',
image: '/jest/img/logos/audiense.png',
infoLink: 'https://audiense.com/',
},
{
caption: 'Automattic',
image: '/jest/img/logos/automattic.png',
infoLink: 'https://automattic.com/',
},
{
caption: 'Coinbase',
image: '/jest/img/logos/coinbase.png',
infoLink: 'https://www.coinbase.com/',
},
{
caption: 'Coursera',
image: '/jest/img/logos/coursera.png',
infoLink: 'https://coursera.org/',
},
{
caption: 'Deezer',
image: '/jest/img/logos/deezer.png',
infoLink: 'https://www.deezer.com/',
},
{
caption: 'Discord',
image: '/jest/img/logos/discord.png',
infoLink: 'https://discordapp.com/',
},
{
caption: 'Egghead',
image: '/jest/img/logos/egghead.png',
infoLink: 'https://egghead.io/',
},
{
caption: 'Elastic',
image: '/jest/img/logos/elastic.png',
infoLink: 'https://www.elastic.co/',
},
{
caption: 'Formidable',
image: '/jest/img/logos/formidablelabs.png',
infoLink: 'http://formidable.com/',
},
{
caption: 'Giant Machines',
image: '/jest/img/logos/giantmachines.png',
infoLink: 'https://www.giantmachines.com',
},
{
caption: 'Globo',
image: '/jest/img/logos/globo.png',
infoLink: 'http://www.globo.com/',
},
{
caption: 'Hearsay Systems',
image: '/jest/img/logos/hearsaysystems.png',
infoLink: 'https://hearsaysystems.com/company/careers/',
},
{
caption: 'Help.com',
image: '/jest/img/logos/Help-Clean.png',
infoLink: 'https://help.com',
},
{
caption: 'Hudl',
image: '/jest/img/logos/hudl.png',
infoLink: 'https://www.hudl.com/',
},
{
caption: 'Intercom',
image: '/jest/img/logos/intercom.png',
infoLink: 'https://www.intercom.com/',
},
{
caption: 'Jane',
image: '/jest/img/logos/jane.svg',
infoLink: 'https://jane.com',
},
{
caption: 'Kickstarter',
image: '/jest/img/logos/kickstarter.png',
infoLink: 'https://www.kickstarter.com',
},
{
caption: 'KLM Royal Dutch Airlines',
image: '/jest/img/logos/klm.png',
infoLink: 'https://www.klm.com/',
},
{
caption: 'NHL',
image: '/jest/img/logos/nhl.png',
infoLink: 'https://www.nhl.com/',
},
{
caption: 'Quiqup',
image: '/jest/img/logos/quiqup.png',
infoLink: 'https://www.quiqup.com/',
},
{
caption: 'Reddit',
image: '/jest/img/logos/reddit.png',
infoLink: 'https://www.reddit.com/',
},
{
caption: 'SeatGeek',
image: '/jest/img/logos/seatgeek.png',
infoLink: 'https://seatgeek.com/',
},
{
caption: 'Shopify',
image: '/jest/img/logos/shopify.svg',
infoLink: 'https://www.shopify.com/',
},
{
caption: 'SoundCloud',
image: '/jest/img/logos/soundcloud.png',
infoLink: 'https://soundcloud.com/',
},
{
caption: 'Sprout Social',
image: '/jest/img/logos/sproutsocial.png',
infoLink: 'https://sproutsocial.com/',
},
{
caption: 'Squarespace',
image: '/jest/img/logos/squarespace.png',
infoLink: 'https://squarespace.com/',
},
{
caption: 'Trivago',
image: '/jest/img/logos/trivago.png',
infoLink: 'http://www.trivago.com/',
},
{
caption: 'Truffls',
image: '/jest/img/logos/truffls.png',
infoLink: 'https://truffls.com/',
},
{
caption: 'WOW air',
image: '/jest/img/logos/wowair.png',
infoLink: 'https://wowair.com/',
},
{
caption: 'Xing',
image: '/jest/img/logos/xing.png',
infoLink: 'https://www.xing.com/',
},
{
caption: 'Atlassian',
image: '/jest/img/logos/atlassian.svg',
infoLink: 'https://www.atlassian.com/',
caption: 'Airbnb',
image: '/jest/img/logos/airbnb.png',
infoLink: 'https://www.airbnb.com/',
},
{
caption: 'Coupa',
image: '/jest/img/logos/coupa.svg',
infoLink: 'https://www.coupa.com/',
caption: 'Instagram',
image: '/jest/img/logos/instagram.png',
infoLink: 'https://www.instagram.com/',
},
];

Expand Down
Binary file removed website/static/img/logos/Help-Clean.png
Binary file not shown.
Binary file added website/static/img/logos/airbnb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion website/static/img/logos/airbnb.svg

This file was deleted.

9 changes: 0 additions & 9 deletions website/static/img/logos/algolia.svg

This file was deleted.

Binary file removed website/static/img/logos/artsy.png
Binary file not shown.
1 change: 0 additions & 1 deletion website/static/img/logos/atlassian.svg

This file was deleted.

Binary file removed website/static/img/logos/audiense.png
Binary file not shown.
Binary file removed website/static/img/logos/automattic.png
Binary file not shown.
Binary file removed website/static/img/logos/cisco.png
Binary file not shown.
Binary file removed website/static/img/logos/coinbase.png
Binary file not shown.
Loading

0 comments on commit 16de9ac

Please sign in to comment.