diff --git a/CHANGELOG.md b/CHANGELOG.md index dce7cae..ed8a0b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.1.0] - 01.04.2018 + +Facelift + +### Added +- Samsung Internet, Yandex and Electron browsers support + +### Changed +- Browser images served from [@browser-logos](https://github.com/alrra/browser-logos) now [#9](https://github.com/godban/browsers-support-badges/issues/9) + ## [1.0.0] - 26.03.2018 Re-Init diff --git a/README.md b/README.md index 8488f44..8924b28 100755 --- a/README.md +++ b/README.md @@ -9,9 +9,11 @@ Try [Browsers Support Generator](http://godban.github.io/browsers-support-badges ## Example -| [IE / Edge](http://godban.github.io/browsers-support-badges/)
IE / Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | [Opera](http://godban.github.io/browsers-support-badges/)
Opera |[Vivaldi](http://godban.github.io/browsers-support-badges/)
Vivaldi | -| --------- | --------- | --------- | --------- | --------- | --------- | -| IE9, IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions +## Browsers support + +| [IE / Edge](http://godban.github.io/browsers-support-badges/)
IE / Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | [iOS Safari](http://godban.github.io/browsers-support-badges/)
iOS Safari | [Samsung](http://godban.github.io/browsers-support-badges/)
Samsung | [Opera](http://godban.github.io/browsers-support-badges/)
Opera | +| --------- | --------- | --------- | --------- | --------- | --------- | --------- | +| IE11, Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions ## Contributing diff --git a/package-lock.json b/package-lock.json index 5f77307..73e33b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "browsers-support-badges", - "version": "1.0.0", + "version": "1.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -784,6 +784,11 @@ "to-fast-properties": "2.0.0" } }, + "@browser-logos/chrome": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@browser-logos/chrome/-/chrome-1.0.4.tgz", + "integrity": "sha512-OeQwNTSoRlSASXjSn5Gf14RbCYmw5I2U6q1k2edSHYuY8yYjIupgF/qMJJ+QydBb1RcVoUCkgy3SGY8pumSh8w==" + }, "@types/node": { "version": "9.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.0.tgz", diff --git a/package.json b/package.json index f787f9a..de5c525 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "browsers-support-badges", - "version": "1.0.0", + "version": "1.1.0", "description": "GitHub browsers support badges generator", "author": { "name": "Bogdan Plieshka", @@ -12,7 +12,12 @@ "type": "git", "url": "https://github.com/godban/browsers-support-badges.git" }, + "scripts": { + "start": "react-scripts start", + "build": "react-scripts build" + }, "dependencies": { + "@browser-logos/chrome": "1.0.4", "clipboard": "2.0.0", "marked": "0.3.19", "no-sheet-reset": "2.0.0", @@ -22,10 +27,6 @@ "react-scripts": "next", "svgr.macro": "1.0.4" }, - "scripts": { - "start": "react-scripts start", - "build": "react-scripts build" - }, "browserslist": { "development": [ "last 2 chrome versions", diff --git a/public/index.html b/public/index.html index 17bdb13..c22f75b 100644 --- a/public/index.html +++ b/public/index.html @@ -3,32 +3,36 @@ - + - - + + - + Browsers support badges - -
+
+
+ + diff --git a/public/screen.png b/public/screen.png new file mode 100644 index 0000000..ab942b1 Binary files /dev/null and b/public/screen.png differ diff --git a/src/components/footer.jsx b/src/components/footer.jsx index c28b660..ab0ea76 100644 --- a/src/components/footer.jsx +++ b/src/components/footer.jsx @@ -2,62 +2,53 @@ import React from 'react'; -setTimeout((function(d, s, id) { - let js, fjs = d.getElementsByTagName(s)[0]; - if (d.getElementById(id)) return; - js = d.createElement(s); js.id = id; - js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.4&appId=263072313724602"; - fjs.parentNode.insertBefore(js, fjs); -}(document, 'script', 'facebook-jssdk')),1e3); +import Icon from './icons'; -setTimeout(function(){!function (d, s, id) { - var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; - if (!d.getElementById(id)) { - js = d.createElement(s); - js.id = id; - js.src = p + '://platform.twitter.com/widgets.js'; - fjs.parentNode.insertBefore(js, fjs); - } -}(document, 'script', 'twitter-wjs');},1e3); +(function(d,s,id){let js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src='https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12&appId=1547693265447721&autoLogAppEvents=1';fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk')); const Footer = () => { return (