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

Commit 5a7cfeb

Browse files
author
dpatanin
committed
preperation
1 parent 04fd061 commit 5a7cfeb

3 files changed

Lines changed: 33 additions & 7 deletions

File tree

src/pages/getStarted/index.js

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Layout from '../../components/Layout';
55
import Img from 'gatsby-image';
66

77
const GetStarted = (props) => {
8-
const docs = props.data.ServicesQuery.edges.filter(function(doc) {
8+
const docs = props.data.ServicesQuery.edges.filter(function (doc) {
99
return doc.node.frontmatter.path !== null;
1010
});
1111
return (
@@ -26,7 +26,10 @@ const GetStarted = (props) => {
2626
<div className="col-12">
2727
<h1>Getting Started</h1>
2828
<h2>Documentation for user and developer</h2>
29-
<span>
29+
{/* TODO: Build quick link navigation */}
30+
<div className="quick-link-menu">
31+
✍ Page under construction.
32+
<br />
3033
How To:
3134
<ul>
3235
<li>
@@ -40,13 +43,18 @@ const GetStarted = (props) => {
4043
<li>Hooks</li>
4144
<li>Contribute</li>
4245
</ul>
43-
</span>
46+
</div>
4447
</div>
4548
</div>
4649
<div className="container pb-2 pb-md-3 doc-selection">
50+
<h1>Choose you Guide</h1>
4751
<div className="row docs">
4852
{docs.map((doc, index) => (
49-
<Link key={index} to={doc.node.frontmatter.path}>
53+
<Link
54+
key={index}
55+
className="col-12 col-md-2 col-lg-4 mb-2"
56+
to={doc.node.frontmatter.path}
57+
>
5058
<div className="feature hoverable">
5159
<div className="feature-image">
5260
<img
@@ -56,9 +64,9 @@ const GetStarted = (props) => {
5664
alt={doc.node.frontmatter.title}
5765
/>
5866
</div>
59-
<h2 className="feature-title">
67+
<div className="feature-title">
6068
{doc.node.frontmatter.title}
61-
</h2>
69+
</div>
6270
</div>
6371
</Link>
6472
))}
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
.page-getStarted {
22
background: #fafafa;
3+
4+
.quick-link-menu {
5+
filter: blur(3px);
6+
}
7+
8+
.quick-link-menu:hover {
9+
filter: none;
10+
}
11+
312
.doc-selection {
413
text-align: center;
14+
margin-top: 40px;
15+
516
h1 {
617
color: $black;
18+
font-size: 2.2rem;
719
}
20+
821
.docs {
922
justify-content: space-evenly;
10-
margin-top: 100px;
23+
margin-top: 40px;
1124
}
1225
}
1326
}

src/templates/doc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ const docs = ({ data, location }) => {
88
return (
99
<Layout bodyClass="integration">
1010
<div className="sidebar-wrapper">
11+
{/* TODO: add sidebar for navigation through the page.
12+
<Sidebar
13+
categories={[{ categoryName: 'Scanners', entries: [] }]}
14+
currentPathname={location.pathname}
15+
/> */}
1116
<div id="content">
1217
<div className="container-fluid" id="integration-doc">
1318
<div

0 commit comments

Comments
 (0)