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

Commit 00ed9c7

Browse files
author
dpatanin
committed
preperation
1 parent 92b6fea commit 00ed9c7

26 files changed

Lines changed: 40 additions & 36 deletions

gatsby-config.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ module.exports = {
1717
},
1818
menuLinks: [
1919
{
20-
name: 'Services',
21-
link: '/services',
20+
name: 'Get Started',
21+
// link: '/getStarted',
22+
link: 'https://github.com/secureCodeBox/secureCodeBox',
2223
},
2324
{
24-
name: 'Team',
25-
link: '/team',
26-
},
27-
{
28-
name: 'Testimonials',
29-
link: '/testimonials',
25+
name: 'Docs',
26+
// link: '/docs',
27+
link: 'https://github.com/secureCodeBox/secureCodeBox/tree/master/docs',
3028
},
29+
// {
30+
// name: 'Scanner',
31+
// link: '/scanner',
32+
// },
3133
{
3234
name: 'Contact',
3335
link: '/contact',

gatsby-node.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exports.createPages = ({ graphql, actions }) => {
88
graphql(`
99
{
1010
services: allMarkdownRemark(
11-
filter: { fileAbsolutePath: { regex: "/services/" } }
11+
filter: { fileAbsolutePath: { regex: "/get-Started/" } }
1212
sort: { fields: [frontmatter___date], order: DESC }
1313
) {
1414
edges {
@@ -24,7 +24,7 @@ exports.createPages = ({ graphql, actions }) => {
2424
}
2525
}
2626
team: allMarkdownRemark(
27-
filter: { fileAbsolutePath: { regex: "/team/" } }
27+
filter: { fileAbsolutePath: { regex: "/docs/" } }
2828
sort: { fields: [frontmatter___date], order: DESC }
2929
) {
3030
edges {
@@ -40,7 +40,7 @@ exports.createPages = ({ graphql, actions }) => {
4040
}
4141
}
4242
testimonials: allMarkdownRemark(
43-
filter: { fileAbsolutePath: { regex: "/testimonials/" } }
43+
filter: { fileAbsolutePath: { regex: "/scanner/" } }
4444
sort: { fields: [frontmatter___date], order: DESC }
4545
) {
4646
edges {
@@ -59,7 +59,7 @@ exports.createPages = ({ graphql, actions }) => {
5959
`,
6060
).then((result) => {
6161
result.data.services.edges.forEach(({ node }) => {
62-
const component = path.resolve('src/templates/service.js');
62+
const component = path.resolve('src/templates/getStarted.js');
6363
createPage({
6464
path: node.frontmatter.path,
6565
component,
@@ -69,7 +69,7 @@ exports.createPages = ({ graphql, actions }) => {
6969
});
7070
});
7171
result.data.team.edges.forEach(({ node }) => {
72-
const component = path.resolve('src/templates/team.js');
72+
const component = path.resolve('src/templates/docs.js');
7373
createPage({
7474
path: node.frontmatter.path,
7575
component,
@@ -79,7 +79,7 @@ exports.createPages = ({ graphql, actions }) => {
7979
});
8080
});
8181
result.data.testimonials.edges.forEach(({ node }) => {
82-
const component = path.resolve('src/templates/testimonial.js');
82+
const component = path.resolve('src/templates/scanner.js');
8383
createPage({
8484
path: node.frontmatter.path,
8585
component,

src/components/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Link } from 'gatsby';
33
import Menu from './Menu';
44
import Hamburger from './Hamburger';
55
import logo from '../images/Logo Color.svg';
6-
import logoMobile from '../images/logo-mobile.svg';
6+
import logoMobile from '../images/Logo Color.svg';
77
import MenuMobile from './MenuMobile';
88

99
class Header extends React.Component {

src/components/Menu.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const Menu = (props) => {
88
<ul>
99
{menuLinks.map(link => (
1010
<li key={link.name}>
11-
<Link to={link.link}>{link.name}</Link>
11+
{/* <Link to={link.link}>{link.name}</Link> */}
12+
<a href={link.link} target="_blank">{link.name}</a>
1213
</li>
1314
))}
1415
</ul>
132 KB
Loading

src/pages/contact/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from "react";
2-
import Header from "../../components/Header";
32
import Layout from '../../components/Layout';
43
import SEO from '../../components/SEO';
54

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { graphql } from 'gatsby';
33
import SEO from '../../components/SEO';
44
import Layout from '../../components/Layout';
55

6-
const Team = (props) => {
6+
const docs = (props) => {
77
const teams = props.data.allMarkdownRemark.edges;
88
return (
9-
<Layout bodyClass="page-teams">
9+
<Layout bodyClass="page-docs">
1010
<SEO title="Team" />
1111
<div className="intro">
1212
<div className="container">
@@ -72,7 +72,7 @@ const Team = (props) => {
7272
export const query = graphql`
7373
query TeamQuery {
7474
allMarkdownRemark(
75-
filter: { fileAbsolutePath: { regex: "/team/" } }
75+
filter: { fileAbsolutePath: { regex: "/docs/" } }
7676
sort: { fields: [frontmatter___date], order: DESC }
7777
) {
7878
edges {
@@ -92,4 +92,4 @@ export const query = graphql`
9292
}
9393
`;
9494

95-
export default Team;
95+
export default docs;
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)