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

Commit f07f0df

Browse files
dpataninJ12934
authored andcommitted
initial commit with adopted starter template
1 parent 30e5a98 commit f07f0df

196 files changed

Lines changed: 26199 additions & 71 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,4 @@
1-
#################
2-
## Eclipse
3-
#################
4-
5-
.project
6-
.classpath
7-
.loadpath
8-
.settings
9-
.gradle
10-
.groovy
11-
.idea
12-
.metadata
13-
*.tmp
14-
*.bak
15-
*.class
16-
*.log
17-
18-
# exclude the following folder in the top project and all submodules
19-
.settings/
20-
bin/
21-
tmp/
22-
build/
23-
results/
24-
25-
# External tool builders (in top folder and all submodules)
26-
target/
27-
28-
################
29-
## Intermediate
30-
################
31-
MANIFEST.MF
32-
33-
############
34-
## Windows
35-
############
36-
37-
# Windows image file caches
38-
Thumbs.db
39-
40-
# Folder config file
41-
Desktop.ini
42-
43-
############
44-
## Mac
45-
############
46-
47-
# Folder config file
48-
.DS_Store
49-
50-
51-
###########
52-
# Elastic searchguard ssl certs
53-
###########
54-
55-
secureBox-dockerfiles/logging/elasticsearch/secured/certs/*
56-
secureBox-dockerfiles/logging/elasticsearch5/secured/certs/*
57-
secureBox-dockerfiles/logging/kibana4/secured/root-ca.pem
58-
secureBox-dockerfiles/logging/kibana5/secured/certs/root-ca.pem
59-
60-
!secureBox-dockerfiles/logging/elasticsearch/secured/certs/*.sh
61-
!secureBox-dockerfiles/logging/elasticsearch/secured/certs/etc
62-
secureBox-dockerfiles/infrastructure/nginx/ssl/*
63-
.env
64-
/secureBox-dockerfiles/ui/config/local.json
65-
!/secureBox-dockerfiles/logging/elasticsearch5/secured/certs/Dockerfile
66-
!/secureBox-dockerfiles/logging/elasticsearch5/secured/certs/entrypoint.sh
67-
!/secureBox-dockerfiles/logging/elasticsearch5/secured/certs/docker-compose.yml
68-
/secureBox-dockerfiles/ui/config/securebox.ui.db
69-
70-
71-
/secureBox-dockerfiles/docker-compose.energy.*
1+
public/
2+
!public/.gitkeep
3+
.cache/
4+
node_modules/

gatsby-browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import "./src/styles/global.css"

gatsby-config.js

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/**
2+
* Configure your Gatsby site with this file.
3+
*
4+
* See: https://www.gatsbyjs.org/docs/gatsby-config/
5+
*/
6+
7+
module.exports = {
8+
9+
siteMetadata: {
10+
title: `secureCodeBox`,
11+
company: 'iteratec',
12+
description: '',
13+
// siteUrl: '',
14+
contact: {
15+
phone: 'XXX XXX XXX',
16+
email: 'security@iteratec.de',
17+
},
18+
menuLinks: [
19+
// {
20+
// name: 'Services',
21+
// link: '/services',
22+
// },
23+
// {
24+
// name: 'Team',
25+
// link: '/team',
26+
// },
27+
// {
28+
// name: 'Testimonials',
29+
// link: '/testimonials',
30+
// },
31+
{
32+
name: 'Contact',
33+
link: '/contact',
34+
},
35+
],
36+
},
37+
38+
plugins: [
39+
{
40+
resolve: `gatsby-plugin-typography`,
41+
options: {
42+
pathToConfigModule: `src/utils/typography`,
43+
},
44+
},
45+
`gatsby-plugin-emotion`,
46+
`gatsby-plugin-sass`,
47+
`gatsby-transformer-json`,
48+
`gatsby-transformer-remark`,
49+
{
50+
resolve: `gatsby-plugin-typography`,
51+
options: {
52+
pathToConfigModule: `src/utils/typography`,
53+
},
54+
},
55+
{
56+
resolve: `gatsby-plugin-manifest`,
57+
options: {
58+
name: `GatsbyJS`,
59+
short_name: `GatsbyJS`,
60+
start_url: `/`,
61+
background_color: `#6b37bf`,
62+
theme_color: `#6b37bf`,
63+
// Enables "Add to Homescreen" prompt and disables browser UI (including back button)
64+
// see https://developers.google.com/web/fundamentals/web-app-manifest/#display
65+
display: `standalone`,
66+
icon: `src/images/icon.png`, // This path is relative to the root of the site.
67+
},
68+
},
69+
`gatsby-plugin-offline`, //should be listed *after* gatsby-plugin-manifest
70+
`gatsby-plugin-react-helmet`,
71+
{
72+
resolve: `gatsby-source-filesystem`,
73+
options: {
74+
name: 'src',
75+
path: `${__dirname}/src/`,
76+
},
77+
},
78+
],
79+
}

gatsby-node.js

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
const path = require(`path`);
2+
3+
const { createFilePath } = require(`gatsby-source-filesystem`)
4+
5+
exports.onCreateNode = ({ node, getNode, actions }) => {
6+
const { createNodeField } = actions
7+
if (node.internal.type === `MarkdownRemark`) {
8+
const slug = createFilePath({ node, getNode, basePath: `pages` })
9+
createNodeField({
10+
node,
11+
name: `slug`,
12+
value: slug,
13+
})
14+
}
15+
}
16+
17+
exports.createPages = ({ graphql, actions }) => {
18+
const { createPage } = actions
19+
return graphql(`
20+
{
21+
allMarkdownRemark {
22+
edges {
23+
node {
24+
fields {
25+
slug
26+
}
27+
}
28+
}
29+
}
30+
}
31+
`).then(result => {
32+
result.data.allMarkdownRemark.edges.forEach(({ node }) => {
33+
createPage({
34+
path: node.fields.slug,
35+
component: path.resolve(`./src/templates/blog-post.js`),
36+
context: {
37+
// Data passed to context is available
38+
// in page queries as GraphQL variables.
39+
slug: node.fields.slug,
40+
},
41+
})
42+
})
43+
})
44+
}

0 commit comments

Comments
 (0)