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

Commit 7ef6e38

Browse files
author
dpatanin
committed
adjust background image more & doc selection
1 parent 1179535 commit 7ef6e38

5 files changed

Lines changed: 76 additions & 41 deletions

File tree

src/pages/docs/devGuide.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ path: "/docs/developer-guide"
44
category: "develop"
55
---
66

7-
This is just a placeholer for preperation purposes.
7+
<!-- end -->
8+
9+
# Developing with the secureCodeBox
10+
11+
> **Page under construction.**

src/pages/docs/userGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ category: "use"
66

77
<!-- end -->
88

9-
# Developing with the secureCodeBox
9+
# Using the secureCodeBox
1010

1111
> **Page under construction.**

src/pages/getStarted/index.js

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,58 @@
11
import React from 'react';
2-
import { graphql } from 'gatsby';
2+
import { graphql, Link } from 'gatsby';
33
import SEO from '../../components/SEO';
44
import Layout from '../../components/Layout';
55
import Img from 'gatsby-image';
66

77
const GetStarted = (props) => {
8-
const tutorials = props.data.ServicesQuery.edges;
8+
const docs = props.data.ServicesQuery.edges;
99
return (
1010
<Layout bodyClass="page-getStarted">
1111
<SEO title="Services" />
1212
<div className="intro">
13+
<div className="background-plane">
14+
<Img
15+
fluid={props.data.ImageGetStartedQuery.childImageSharp.fluid}
16+
alt="people"
17+
objectFit="cover"
18+
className="background-image bottom"
19+
/>
20+
</div>
1321
<div className="container">
14-
<div className="row">
15-
<div className="col-12">
16-
<h1>Getting Started</h1>
17-
<h2>User and developer oriented documentation</h2>
18-
<span>
19-
How To:
20-
<ul>
21-
<li>
22-
Start
23-
<ul>
24-
<li>Operator</li>
25-
<li>Scanner</li>
26-
<li>Persistence Provider</li>
27-
</ul>
28-
</li>
29-
<li>Hooks</li>
30-
<li>Contribute</li>
31-
</ul>
32-
</span>
22+
<div className="text-box with-element-right">
23+
<div className="row">
24+
<div className="col-12">
25+
<h1>Getting Started</h1>
26+
<h2>Documentation for user and developer</h2>
27+
<span>
28+
How To:
29+
<ul>
30+
<li>
31+
Start
32+
<ul>
33+
<li>Operator</li>
34+
<li>Scanner</li>
35+
<li>Persistence Provider</li>
36+
</ul>
37+
</li>
38+
<li>Hooks</li>
39+
<li>Contribute</li>
40+
</ul>
41+
</span>
42+
</div>
3343
</div>
34-
</div>
35-
</div>
36-
</div>
37-
38-
<Img
39-
fluid={props.data.ImageGetStartedQuery.childImageSharp.fluid}
40-
alt="people"
41-
/>
42-
43-
<div className="container pb-2 pb-md-3">
44-
<div className="row justify-content-center">
45-
{tutorials.map((tutorial, index) => (
46-
<div key={index} className="feature">
47-
<h1>{tutorial.node.frontmatter.title}</h1>
44+
<div className="container pb-2 pb-md-3 doc-selection">
45+
<div className="row docs">
46+
{docs.map((doc, index) => (
47+
<Link key={index} to={doc.node.frontmatter.path}>
48+
<div className="feature hoverable">
49+
<h1>{doc.node.frontmatter.title}</h1>
50+
</div>
51+
</Link>
52+
))}
53+
</div>
4854
</div>
49-
))}
55+
</div>
5056
</div>
5157
</div>
5258
</Layout>
@@ -70,9 +76,7 @@ export const query = graphql`
7076
}
7177
}
7278
}
73-
ImageGetStartedQuery: file(
74-
relativePath: { eq: "images/GetStarted.png" }
75-
) {
79+
ImageGetStartedQuery: file(relativePath: { eq: "images/GetStarted.png" }) {
7680
childImageSharp {
7781
# Specify the image processing specifications right in the query.
7882
fluid {

src/scss/components/_intro.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
color: $secondary;
5050
}
5151
}
52+
.with-element-right {
53+
width: 100%;
54+
flex-direction: row;
55+
}
5256
.background-plane {
5357
display: flex;
5458
position: absolute;
@@ -72,6 +76,19 @@
7276
@include media-breakpoint-up(lg) {
7377
width: 1080px;
7478
}
79+
@media (min-width: 2160px) {
80+
width: 1400px;
81+
align-self: flex-start;
82+
}
83+
}
84+
.top {
85+
align-self: flex-start;
86+
margin-bottom: 0px;
87+
margin-top: 50px;
88+
}
89+
.bottom {
90+
align-self: flex-end;
91+
margin-bottom: 70px;
7592
}
7693
}
7794
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
.page-getStarted {
22
background: #fafafa;
3+
.doc-selection {
4+
text-align: center;
5+
h1 {
6+
color: $black;
7+
}
8+
.docs {
9+
justify-content: space-evenly;
10+
margin-top: 100px;
11+
}
12+
}
313
}

0 commit comments

Comments
 (0)