update dependencies, change license icon

This commit is contained in:
Amruth Pillai
2020-06-24 08:40:20 +05:30
parent 934ca26d20
commit 49621b86a6
7 changed files with 2675 additions and 1306 deletions

1
.env Normal file
View File

@ -0,0 +1 @@
SKIP_PREFLIGHT_CHECK=true

3930
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,30 +7,30 @@
"npm": "6.14.4" "npm": "6.14.4"
}, },
"dependencies": { "dependencies": {
"@fullhuman/postcss-purgecss": "^2.1.2", "@fullhuman/postcss-purgecss": "^2.3.0",
"@testing-library/jest-dom": "^5.5.0", "@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^10.0.3", "@testing-library/react": "^10.4.1",
"@testing-library/user-event": "^10.1.0", "@testing-library/user-event": "^12.0.7",
"@vuepress/plugin-google-analytics": "^1.4.1", "@vuepress/plugin-google-analytics": "^1.5.2",
"autoprefixer": "^9.7.6", "autoprefixer": "^9.8.3",
"axios": "^0.19.2", "axios": "^0.19.2",
"html2canvas": "^1.0.0-rc.5", "html2canvas": "^1.0.0-rc.5",
"i18next": "^19.4.3", "i18next": "^19.5.1",
"i18next-browser-languagedetector": "^4.1.1", "i18next-browser-languagedetector": "^5.0.0",
"i18next-http-backend": "^1.0.4", "i18next-http-backend": "^1.0.15",
"jspdf": "^1.5.3", "jspdf": "^1.5.3",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"postcss-cli": "^7.1.0", "postcss-cli": "^7.1.1",
"react": "^16.13.1", "react": "^16.13.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"react-easy-panzoom": "^0.4.4", "react-easy-panzoom": "^0.4.4",
"react-i18next": "^11.3.5", "react-i18next": "^11.7.0",
"react-markdown": "^4.3.1", "react-markdown": "^4.3.1",
"react-scripts": "3.4.1", "react-scripts": "3.4.1",
"react-toastify": "^5.5.0", "react-toastify": "^6.0.6",
"tailwindcss": "^1.3.5", "tailwindcss": "^1.4.6",
"uuid": "^7.0.3", "uuid": "^8.2.0",
"vuepress": "^1.4.1" "vuepress": "^1.5.2"
}, },
"scripts": { "scripts": {
"css": "postcss src/assets/tailwind/tailwind.src.css -o src/assets/tailwind/tailwind.css", "css": "postcss src/assets/tailwind/tailwind.src.css -o src/assets/tailwind/tailwind.css",
@ -68,13 +68,13 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"eslint-config-airbnb": "^18.1.0", "eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.11.0", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.3", "eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react-hooks": "^3.0.0", "eslint-plugin-react-hooks": "^4.0.4",
"eslint-plugin-react": "^7.19.0", "eslint-plugin-react": "^7.20.0",
"eslint": "^6.8.0" "eslint": "^7.3.1"
} }
} }

View File

@ -4,8 +4,8 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: local('Material Icons'), local('MaterialIcons-Regular'), src: local('Material Icons'), local('MaterialIcons-Regular'),
url('../fonts/MaterialIcons/MaterialIcons-400.woff2') format('woff2'), url('../fonts/MaterialIcons/MaterialIcons-Regular.woff2') format('woff2'),
url('../fonts/MaterialIcons/MaterialIcons-400.woff') format('woff'); url('../fonts/MaterialIcons/MaterialIcons-Regular.woff') format('woff');
} }
.material-icons { .material-icons {

View File

@ -92,7 +92,7 @@ const AboutTab = () => {
className="flex justify-center items-center mt-4 bg-gray-600 hover:bg-gray-700 text-white text-sm font-medium py-2 px-5 rounded" className="flex justify-center items-center mt-4 bg-gray-600 hover:bg-gray-700 text-white text-sm font-medium py-2 px-5 rounded"
> >
<div className="flex justify-center items-center"> <div className="flex justify-center items-center">
<i className="material-icons mr-2 font-bold text-base">policy</i> <i className="material-icons mr-2 font-bold text-base">gavel</i>
<span className="text-sm">{t('about.license.buttons.mitLicense')}</span> <span className="text-sm">{t('about.license.buttons.mitLicense')}</span>
</div> </div>
</a> </a>