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

Commit 91843ce

Browse files
author
dpatanin
committed
add 4 info boxes and adjust style a bid
1 parent 7fd6553 commit 91843ce

11 files changed

Lines changed: 31 additions & 317 deletions

File tree

gatsby-config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ module.exports = {
4949
`gatsby-plugin-emotion`,
5050
`gatsby-plugin-sass`,
5151
`gatsby-transformer-json`,
52-
`gatsby-transformer-remark`,
52+
{
53+
"resolve": `gatsby-transformer-remark`,
54+
"options": {
55+
"excerpt_separator": `<!-- end -->`
56+
}
57+
},
5358
{
5459
resolve: `gatsby-plugin-typography`,
5560
options: {

gatsby-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ exports.createPages = ({ graphql, actions }) => {
7474
}
7575
}
7676
`,
77-
).then((result) => {
77+
).then(result => {
7878
result.data.provisions.edges.forEach(({ node }) => {
7979
const component = path.resolve('src/templates/provision.js');
8080
createPage({

src/data/features.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
[
22
{
3-
"title": "Free Consultation",
4-
"description": "New clients recieve an obligation free consultation.",
3+
"title": "Cloud Ready",
4+
"description": "Ready to be deployed on a Cloud Server",
55
"image": "/features/noun_branding_1885335.svg"
66
},
77
{
8-
"title": "Certified Accountants",
9-
"description": "All members of our team are certified accountants.",
8+
"title": "Open Source",
9+
"description": "We are an Open Scource project and happy about your contribution",
1010
"image": "/features/noun_The Process_1885341.svg"
1111
},
1212
{
13-
"title": "Tax Compliance",
14-
"description": "We stay up to date on the latest changes to the tax code.",
13+
"title": "Scanner out of the box",
14+
"description": "We integrate Open Source Scanner ready to use",
15+
"image": "/features/noun_3d modeling_1885342.svg"
16+
},
17+
{
18+
"title": "Scans behind the firewall",
19+
"description": "Our Scans can dig deeply in your Network",
1520
"image": "/features/noun_3d modeling_1885342.svg"
1621
}
1722
]

src/pages/index.js

Lines changed: 8 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import SEO from '../components/SEO';
55
import Layout from "../components/Layout";
66

77
const Home = (props) => {
8-
const markdown = props.data.allMarkdownRemark.edges;
98
const json = props.data.allFeaturesJson.edges;
109
return(
1110
<Layout bodyClass="page-home">
@@ -25,35 +24,14 @@ const Home = (props) => {
2524
</p>
2625
</div>
2726
</div>
28-
29-
<div className="container pt-8 pt-md-10">
30-
<div className="row justify-content-start">
31-
<div className="col-12">
32-
<Link to="/provisions/"><h2 className="title-3 text-dark mb-3">What the secureCodeBox provides</h2></Link>
33-
34-
</div>
35-
{markdown.map(edge => (
36-
<div key={edge.node.frontmatter.path} className="col-12 col-md-4 mb-1">
37-
<div className="card service service-teaser">
38-
<div className="card-content">
39-
<h2>
40-
<Link to={edge.node.frontmatter.path}>{edge.node.frontmatter.title}</Link>
41-
</h2>
42-
<p>{edge.node.excerpt}</p>
43-
</div>
44-
</div>
45-
</div>
46-
))}
47-
</div>
48-
</div>
4927

5028
<div className="container pt-5 pb-5 pt-md-7 pb-md-7">
5129
<div className="row justify-content-center">
5230
<div className="col-12">
53-
<h2 className="title-3 text-dark mb-4">Our Features</h2>
31+
<h2 className="title-3 text-dark mb-4">What the secureCodeBox provides</h2>
5432
</div>
5533
{json.map(edge => (
56-
<div key={edge.node.id} className="col-12 col-md-6 col-lg-4 mb-2">
34+
<div key={edge.node.id} className="col-12 col-md-3 col-lg-3 mb-2">
5735
<div className="feature">
5836
{edge.node.image && (
5937
<div className="feature-image">
@@ -67,27 +45,18 @@ const Home = (props) => {
6745
))}
6846
</div>
6947
</div>
48+
49+
<div className="container pb-5 pb-md-7">
50+
<div className="col-12">
51+
<h2 className="title-3 text-dark mb-4">When is the secureCodeBox right for your team?</h2>
52+
</div>
53+
</div>
7054
</Layout>
7155
)
7256
}
7357

7458
export const query = graphql`
7559
query {
76-
allMarkdownRemark(
77-
filter: { fileAbsolutePath: { regex: "/provisions/" } }
78-
sort: { fields: [frontmatter___date], order: DESC }
79-
) {
80-
edges {
81-
node {
82-
id
83-
frontmatter {
84-
title
85-
date(formatString: "DD MMMM YYYY")
86-
}
87-
excerpt
88-
}
89-
}
90-
}
9160
allFeaturesJson {
9261
edges {
9362
node {

src/pages/provisions/cloudReady.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/pages/provisions/index.js

Lines changed: 0 additions & 60 deletions
This file was deleted.

src/pages/provisions/openSource.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/pages/provisions/scanner.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)