diff --git a/browserslist b/browserslist index 70900640..dc070217 100644 --- a/browserslist +++ b/browserslist @@ -1,4 +1,4 @@ # Browsers that we support > 5% -IE > 9 # sorry -last 10 versions \ No newline at end of file +IE > 8 +last 5 versions \ No newline at end of file diff --git a/package.json b/package.json index 92ca957d..8f0cc7ab 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "redux-logger": "^3.0.6", "redux-raven-middleware": "^1.2.0", "redux-thunk": "^2.2.0", + "styled-components": "^3.4.9", "rimraf": "^2.6.2", - "styled-components": "^3.3.3", "styled-media-query": "^2.0.2", "styled-normalize": "^8.0.0", "trezor-connect": "^5.0.32", diff --git a/public/unsupported-browsers/browser-chrome.png b/public/unsupported-browsers/browser-chrome.png new file mode 100644 index 00000000..29573624 Binary files /dev/null and b/public/unsupported-browsers/browser-chrome.png differ diff --git a/public/unsupported-browsers/browser-firefox.png b/public/unsupported-browsers/browser-firefox.png new file mode 100644 index 00000000..577e6dc0 Binary files /dev/null and b/public/unsupported-browsers/browser-firefox.png differ diff --git a/public/unsupported-browsers/style.css b/public/unsupported-browsers/style.css new file mode 100644 index 00000000..57a2394d --- /dev/null +++ b/public/unsupported-browsers/style.css @@ -0,0 +1,64 @@ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + background: #ebebeb; + vertical-align: baseline; + text-align: center; + font-family: Roboto; +} + +.header { + height: 40px; + width: 100%; + background: #1A1A1A; + margin-bottom: 100px; +} + +.unsupported-browsers { + width: 100%; + font-size: 30px; +} + +.main { + width: 100%; + text-align: center; + margin: 0 auto; +} + +.box { + margin-top: 20px; +} + +p { + width: 100%; + clear: both; + font-size: 15px; +} + +img { + clear: both; +} + +a { + clear: both; + color: #01B757; + width: 100%; + text-decoration: none; + display: block; + font-size: 20px; +} \ No newline at end of file diff --git a/src/index.html b/src/index.html index c62bd67d..348f47f1 100644 --- a/src/index.html +++ b/src/index.html @@ -10,8 +10,29 @@ + +
diff --git a/webpack/dev.babel.js b/webpack/dev.babel.js index d9662ca9..1d527a7a 100644 --- a/webpack/dev.babel.js +++ b/webpack/dev.babel.js @@ -25,6 +25,7 @@ module.exports = { path: BUILD, }, devServer: { + // host: '0.0.0.0', contentBase: [ SRC, PUBLIC, diff --git a/yarn.lock b/yarn.lock index 419093ad..d482dbdc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9816,15 +9816,14 @@ style-search@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902" -styled-components@^3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-3.3.3.tgz#09e702055ab11f7a8eab8229b1c0d0b855095686" +styled-components@^3.4.9: + version "3.4.9" + resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-3.4.9.tgz#519abeb351b37be5b7de6a15ff9e4efeb9d772da" dependencies: buffer "^5.0.3" css-to-react-native "^2.0.3" fbjs "^0.8.16" hoist-non-react-statics "^2.5.0" - is-plain-object "^2.0.1" prop-types "^15.5.4" react-is "^16.3.1" stylis "^3.5.0"