Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 57906ba

Browse files
author
dpatanin
committed
renamed "scanner" front page to "integrations"
1 parent 1f9bb8e commit 57906ba

10 files changed

Lines changed: 2182 additions & 1599 deletions

File tree

gatsby-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ module.exports = {
6464
link: "https://github.com/secureCodeBox/secureCodeBox/tree/master/docs"
6565
},
6666
{
67-
name: "Scanner",
67+
name: "Integrations",
6868
external: false,
69-
link: "/scanner"
69+
link: "/integrations"
7070
}
7171
]
7272
},

gatsby-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ exports.createPages = ({ graphql, actions }) => {
7575
});
7676
});
7777
result.data.scanner.edges.forEach(({ node }) => {
78-
const component = path.resolve("src/templates/scanner.js");
78+
const component = path.resolve("src/templates/integration.js");
7979
createPage({
8080
path: node.frontmatter.path,
8181
component,

package-lock.json

Lines changed: 2146 additions & 1566 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,28 @@
1313
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
1414
},
1515
"dependencies": {
16-
"@emotion/core": "^10.0.14",
17-
"gatsby": "^2.13.39",
18-
"gatsby-plugin-emotion": "^4.1.2",
16+
"@emotion/core": "^10.0.17",
17+
"core-js": "^3.2.1",
18+
"gatsby": "^2.15.24",
19+
"gatsby-plugin-emotion": "^4.1.7",
1920
"gatsby-plugin-mailchimp": "^5.1.2",
20-
"gatsby-plugin-manifest": "^2.2.4",
21-
"gatsby-plugin-offline": "^2.2.4",
22-
"gatsby-plugin-react-helmet": "^3.1.2",
23-
"gatsby-plugin-sass": "^2.1.8",
24-
"gatsby-source-filesystem": "^2.1.7",
21+
"gatsby-plugin-manifest": "^2.2.18",
22+
"gatsby-plugin-offline": "^2.2.10",
23+
"gatsby-plugin-react-helmet": "^3.1.8",
24+
"gatsby-plugin-sass": "^2.1.15",
25+
"gatsby-source-filesystem": "^2.1.26",
2526
"gatsby-source-git": "github:stevetweeddale/gatsby-source-git",
26-
"gatsby-transformer-remark": "^2.6.10",
27-
"react": "^16.8.6",
27+
"gatsby-transformer-remark": "^2.6.24",
28+
"react": "^16.9.0",
2829
"react-burger-menu": "^2.6.11",
29-
"react-dom": "^16.8.6",
30+
"react-dom": "^16.9.0",
3031
"react-helmet": "^5.2.1"
3132
},
3233
"devDependencies": {
3334
"node-sass": "^4.12.0",
3435
"prettier": "^1.18.2",
35-
"sass-loader": "^7.2.0",
36-
"webpack": "^4.39.1"
36+
"sass-loader": "^7.3.1",
37+
"webpack": "^4.41.0"
3738
},
3839
"repository": {
3940
"type": "git",

src/pages/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ const Home = () => {
5050
</div>
5151
)}
5252
<h2 className="feature-title">{feature.title}</h2>
53-
{/* TODO add link to corresponding pages */}
5453
</div>
5554
</div>
5655
))}
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ import { graphql, withPrefix, Link } from "gatsby";
33
import SEO from "../../components/SEO";
44
import Layout from "../../components/Layout";
55

6-
const Scanner = props => {
6+
const Integrations = props => {
77
const scanner = props.data.allMarkdownRemark.edges;
88

99
return (
10-
<Layout bodyClass="page-scanner">
10+
<Layout bodyClass="page-integrations">
1111
<SEO title="Scanner" />
1212
<div className="intro">
1313
<div className="container">
1414
<div className="row">
1515
<div className="col-12">
16-
<h1>Scanner</h1>
16+
<h1>Integrations</h1>
1717
<h2>Out of the Box</h2>
1818
<p>
1919
Each Scanner is an individual tool. We took no part in building
@@ -27,6 +27,11 @@ const Scanner = props => {
2727
</div>
2828
<div className="container pb-2 pb-md-3">
2929
<div className="row justify-content-center">
30+
<div className="col-12">
31+
<h2 className="title-3 text-dark mb-2">
32+
Scanner
33+
</h2>
34+
</div>
3035
{scanner.map(edge => (
3136
<div
3237
key={edge.node.id}
@@ -38,9 +43,7 @@ const Scanner = props => {
3843
<img
3944
className="scanner-icon"
4045
src={withPrefix(
41-
"/scannerIcons/" +
42-
edge.node.frontmatter.title +
43-
".svg"
46+
"/scannerIcons/" + edge.node.frontmatter.title + ".svg"
4447
)}
4548
alt="scanner icon"
4649
></img>
@@ -89,4 +92,4 @@ export const query = graphql`
8992
}
9093
`;
9194

92-
export default Scanner;
95+
export default Integrations;

src/scss/pages/scanners/_scanner.scss renamed to src/scss/pages/integrations/_integration.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.scanner {
1+
.integration {
22
background: #fafafa;
33
display: flex;
44
#content {
55
width: 90vw;
6-
#scanner-doc {
6+
#integration-doc {
77
width: 55vw;
88
@include media-breakpoint-down(sm) {
99
width: 90vw;

src/scss/pages/scanners/_page-scanner.scss renamed to src/scss/pages/integrations/_page-integrations.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.page-scanner {
1+
.page-integrations {
22
background: #fafafa;
33
background-image: url("../images/Network.png");
44
background-repeat: no-repeat;

src/scss/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
@import 'pages/home';
6868
@import 'pages/contact/page-contact';
6969
@import 'pages/team/page-teams';
70-
@import 'pages/scanners/page-scanner';
71-
@import 'pages/scanners/scanner';
70+
@import 'pages/integrations/page-integrations';
71+
@import 'pages/integrations/integration';
7272
@import 'pages/provisions/page-provisions';
7373
@import 'pages/provisions/page-provision';
7474

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import React from "react";
22
import { graphql, Link } from "gatsby";
33
import Layout from "../components/Layout";
44

5-
const Scanner = ({ data }) => {
5+
const Integration = ({ data }) => {
66
const { title } = data.markdownRemark.frontmatter;
77
const { html } = data.markdownRemark;
88
const scanner = data.allMarkdownRemark.edges;
99

1010
return (
11-
<Layout bodyClass="scanner">
11+
<Layout bodyClass="integration">
1212
<div className="sidebar-wrapper">
1313
<nav className="sidebar">
1414
<ul class="list-unstyled components">
@@ -26,7 +26,7 @@ const Scanner = ({ data }) => {
2626
</nav>
2727

2828
<div id="content">
29-
<div class="container-fluid" id="scanner-doc">
29+
<div class="container-fluid" id="integration-doc">
3030
<h1 className="title">{title}</h1>
3131
<div
3232
className="content"
@@ -67,4 +67,4 @@ export const query = graphql`
6767
}
6868
`;
6969

70-
export default Scanner;
70+
export default Integration;

0 commit comments

Comments
 (0)