package updates

* remove @zeit/next-css (built into Next.js now)
* closes #12
This commit is contained in:
Matthias Kretschmann 2020-01-28 11:04:48 +01:00
parent dbb9bdff79
commit 673d0ad25a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 640 additions and 372 deletions

View File

@ -1,5 +1,3 @@
const withCSS = require('@zeit/next-css')
// eslint-disable-next-line no-unused-vars
const withSvgr = (nextConfig = {}, nextComposePlugins = {}) => {
return Object.assign({}, nextConfig, {
@ -29,13 +27,4 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true'
})
module.exports = withBundleAnalyzer(
withSvgr(
withCSS({
cssModules: true,
cssLoaderOptions: {
localIdentName: '[local]___[hash:base64:5]'
}
})
)
)
module.exports = withBundleAnalyzer(withSvgr())

968
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,36 +17,35 @@
"@ethereum-navigator/atlas": "^0.5.1",
"@oceanprotocol/art": "^2.2.0",
"@oceanprotocol/typographies": "^0.1.0",
"@zeit/next-css": "^1.0.1",
"axios": "^0.19.0",
"axios": "^0.19.2",
"ethereumjs-units": "^0.2.0",
"next": "^9.1.7",
"next-seo": "^3.2.0",
"next": "^9.2.1",
"next-seo": "^3.4.0",
"next-svgr": "^0.0.2",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@next/bundle-analyzer": "^9.1.7",
"@next/bundle-analyzer": "^9.2.1",
"@testing-library/jest-dom": "^5.0.1",
"@testing-library/react": "^9.4.0",
"@types/bn.js": "^4.11.6",
"@types/jest": "^25.1.0",
"@types/next-seo": "^1.10.0",
"@types/node": "^12.12.24",
"@types/react": "^16.9.17",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"@types/node": "^12.12.25",
"@types/react": "^16.9.19",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint-config-oceanprotocol": "^1.5.0",
"eslint-config-prettier": "^6.9.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^24.9.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.19.1",
"ts-jest": "^24.3.0",
"typescript": "^3.7.4",
"typescript": "^3.7.5",
"webpack": "^4.41.5"
},
"repository": {

View File

@ -1,8 +1,3 @@
h1,
h2 {
color: var(--brand-white);
}
.header {
text-align: center;
margin-top: var(--spacer);
@ -10,6 +5,7 @@ h2 {
.header h1 {
margin-bottom: calc(var(--spacer) / 2);
color: var(--brand-white);
}
.header p {
@ -31,3 +27,7 @@ h2 {
margin: calc(var(--spacer) * 2) auto;
max-width: 80rem;
}
.networks h2 {
color: var(--brand-white);
}