diff --git a/src/views/Landing/components/BrowserNotSupported/index.js b/src/views/Landing/components/BrowserNotSupported/index.js index e5f0f51e..e9cc2f62 100644 --- a/src/views/Landing/components/BrowserNotSupported/index.js +++ b/src/views/Landing/components/BrowserNotSupported/index.js @@ -1,10 +1,13 @@ import React from 'react'; -import styled, { css } from 'styled-components'; +import styled from 'styled-components'; import Link from 'components/Link'; import Button from 'components/Button'; import P from 'components/Paragraph'; import { H2 } from 'components/Heading'; +import ChromeImage from 'images/browser-chrome.png'; +import FirefoxImage from 'images/browser-firefox.png'; + const Wrapper = styled.div``; const ChooseBrowserWrapper = styled.div` @@ -12,16 +15,10 @@ const ChooseBrowserWrapper = styled.div` justify-content: space-between; `; -const BrowserLogo = styled.div` +const BrowserLogo = styled.img` margin-bottom: 10px; width: 43px; height: 43px; - ${props => props.isChrome && css` - background-image: url('../images/browser-chrome.png'); - `} - ${props => props.isFirefox && css` - background-image: url('../images/browser-firefox.png'); - `} `; const Browser = styled.div` @@ -37,7 +34,7 @@ const BrowserNotSupported = () => (
Please choose one of the supported browsers
Google Chrome
(Mozzila Firefox