Regenerate lock, update Travis, setup GA, cleanup home page on mobile

This commit is contained in:
Angelos Chalaris
2019-08-24 11:56:00 +03:00
parent e8b613d8c3
commit 2e2971603d
6 changed files with 5 additions and 75 deletions

View File

@ -5,6 +5,7 @@ cache:
node_js:
- lts/*
script:
- npm run linter
- npm run extractor
- npm run builder
after_success:

View File

@ -59,7 +59,7 @@ module.exports = {
{
resolve: `gatsby-plugin-google-analytics`,
options: {
//trackingId: `ADD YOUR TRACKING ID HERE`,
trackingId: `UA-117141635-1`,
anonymize: true, // Always set this to true, try to comply with GDPR out of the box
respectDNT: true, // Always set to true, be respectful of people who ask not to be tracked
cookieExpires: 0, // Always set to 0, minimum tracking for your users

29
package-lock.json generated
View File

@ -4051,11 +4051,6 @@
}
}
},
"classnames": {
"version": "2.2.6",
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz",
"integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q=="
},
"cli-boxes": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz",
@ -4570,11 +4565,6 @@
"through2": "^2.0.1"
}
},
"core-js": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.2.1.tgz",
"integrity": "sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw=="
},
"core-js-compat": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.2.1.tgz",
@ -6950,15 +6940,6 @@
"pend": "~1.2.0"
}
},
"feather-icons": {
"version": "4.24.1",
"resolved": "https://registry.npmjs.org/feather-icons/-/feather-icons-4.24.1.tgz",
"integrity": "sha512-CGBzG9L9M2sNWEpLY2HJgacW4q1KzypMqLiCPQRr6t4uDDXqYprWRWKcHEwD/vDDiDnkSS7N4L5BLYwjGGH8pw==",
"requires": {
"classnames": "^2.2.5",
"core-js": "^3.1.3"
}
},
"figgy-pudding": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz",
@ -7170,11 +7151,6 @@
"readable-stream": "^2.3.6"
}
},
"focus-visible": {
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/focus-visible/-/focus-visible-4.1.5.tgz",
"integrity": "sha512-yo/njtk/BB4Z2euzaZe3CZrg4u5s5uEi7ZwbHBJS2quHx51N0mmcx9nTIiImUGlgy+vf26d0CcQluahBBBL/Fw=="
},
"follow-redirects": {
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz",
@ -11383,11 +11359,6 @@
"object.assign": "^4.1.0"
}
},
"jump.js": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/jump.js/-/jump.js-1.0.2.tgz",
"integrity": "sha1-4GQbR/QKOPITnCX9oFAL8o5DAVo="
},
"kebab-hash": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/kebab-hash/-/kebab-hash-0.1.2.tgz",

View File

@ -60,10 +60,5 @@
"react-helmet": "^5.2.1",
"react-redux": "^7.1.0",
"redux": "^4.0.4"
},
"dependencies": {
"feather-icons": "^4.7.0",
"focus-visible": "^4.1.0",
"jump.js": "^1.0.2"
}
}

View File

@ -8,8 +8,6 @@ import Meta from '../components/Meta';
import Search from '../components/Search';
import SnippetCard from '../components/SnippetCard';
import { getRawCodeBlocks as getCodeBlocks } from '../util';
// ===================================================
// Home page (splash and search)
// ===================================================

View File

@ -163,44 +163,9 @@ img.website-logo {
font-size: 1.5rem;
}
}
// .index-logo {
// transition: 0.3s ease all;
// display: block;
// margin: 1.5rem 1.25rem 0.5rem;
// vertical-align: middle;
// @media screen and (min-width: 144px) {
// max-width: 128px;
// margin: 1.5rem auto 0.5rem;
// }
// @media screen and (min-width: $layout-medium-breakpoint) {
// display: inline-block;
// margin: 1.5rem 2rem 0.5rem 1.25rem;
// }
// }
// // Homepage title
// .index-title {
// transition: 0.3s ease all;
// font-size: 2rem;
// color: var(--fore-color-dark);
// @media screen and (min-width: $layout-medium-breakpoint) {
// display: inline-block;
// }
// margin: 0.75rem 1.25rem;
// text-align: center;
// }
// // Homepage subtitle
// .index-sub-title {
// transition: 0.3s ease all;
// font-size: 0.875rem;
// line-height: 1.5;
// margin: 1rem 1.25rem 1.25rem;
// color: var(--fore-color);
// text-align: center;
// @media screen and (min-width: $layout-medium-breakpoint) {
// font-size: 1rem;
// }
// }
.splash + input + p {
padding-bottom: 3rem;
}
// Page title
.page-title {