diff --git a/client/src/pages/sponsors.css b/client/src/pages/sponsors.css index d59864091e..6c2323b5cb 100644 --- a/client/src/pages/sponsors.css +++ b/client/src/pages/sponsors.css @@ -2,6 +2,8 @@ display: block; max-width: 100%; height: auto; + padding: 0; + margin: 0; } .sls { @@ -12,4 +14,13 @@ .sl { max-height: 80px; + background-color: white; + padding: 5px; + border-radius: 10px; + width: 150px; + height: 100px; + margin-bottom: 50px; + display: flex; + align-items: center; + justify-content: center; } diff --git a/client/src/pages/sponsors.js b/client/src/pages/sponsors.js index 69ff96b851..0ae515e99d 100644 --- a/client/src/pages/sponsors.js +++ b/client/src/pages/sponsors.js @@ -1,6 +1,7 @@ import React, { Fragment } from 'react'; import Helmet from 'react-helmet'; import { Grid, Col, Row } from '@freecodecamp/react-bootstrap'; +import Media from 'react-media'; import { Link, Spacer } from '../components/helpers'; @@ -25,17 +26,17 @@ const SponsorsPage = () => {
- + Class Central's logo - + TsugiCloud's logo @@ -43,52 +44,112 @@ const SponsorsPage = () => {

In-kind sponsors

These companies donate their services to freeCodeCamp.org


- - - Netlify's logo - - - mLab's logo - - - Auth0's logo - - - - - Discourse's logo - - - Algolia's logo - - - Cloudflare's logo - - + + + {matches => + matches ? ( + + + + Netlify's logo + + + mLab's logo + + + Auth0's logo + + + + + Discourse's logo + + + Algolia's logo + + + Cloudflare's logo + + + + ) : ( + + + + Netlify's logo + + + mLab's logo + + + + + Auth0's logo + + + Discourse's logo + + + + + Algolia's logo + + + Cloudflare's logo + + + + ) + } +