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

Commit adca459

Browse files
committed
Refactored the integrations page layout: introduced bootstrap grid-system, integrated all hooks.
1 parent a1591bd commit adca459

15 files changed

Lines changed: 395 additions & 48 deletions

gatsby-config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ module.exports = {
100100
name: `secureCodeBox-v2-alpha`,
101101
remote: `https://github.com/secureCodeBox/secureCodeBox-v2-alpha`,
102102
branch: `master`,
103-
patterns: `scanners`,
103+
patterns: [`scanners`, `hooks`, `docs`],
104104
},
105105
},
106106
{
@@ -109,6 +109,13 @@ module.exports = {
109109
name: `scanners`,
110110
path: `${__dirname}/.cache/gatsby-source-git/secureCodeBox-v2-alpha/scanners`,
111111
}
112+
},
113+
{
114+
resolve: `gatsby-source-filesystem`,
115+
options: {
116+
name: `hooks`,
117+
path: `${__dirname}/.cache/gatsby-source-git/secureCodeBox-v2-alpha/hooks`,
118+
}
112119
}
113120
],
114121
};

src/pages/integrations/index.js

Lines changed: 300 additions & 46 deletions
Large diffs are not rendered by default.
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
.integration-card {
2+
border: 2px solid #eaeaea;
3+
margin-bottom: 1rem;
4+
margin-right: 1rem;
5+
padding: 1rem;
6+
background-color: #ffffff;
7+
text-align: center;
8+
min-height: 125px;
9+
.integration-card-image {
10+
width: 80px;
11+
height: 80px;
12+
text-align: center;
13+
}
14+
img {
15+
width: 100%;
16+
height: auto;
17+
}
18+
.integration-card-title {
19+
color: $secondary;
20+
font-size: 1.4rem;
21+
font-weight: 300;
22+
line-height: 1.2;
23+
strong {
24+
font-size: 1.2rem;
25+
font-weight: 600;
26+
}
27+
}
28+
.integration-card-content {
29+
margin-bottom: 0;
30+
p {
31+
margin: 0;
32+
color: $secondary;
33+
font-size: 1rem;
34+
strong {
35+
text-transform: uppercase;
36+
font-size: 0.7rem;
37+
font-weight: 700;
38+
}
39+
em {
40+
color: $primary;
41+
font-style: normal;
42+
}
43+
}
44+
}
45+
.integration-card-scanner-icon {
46+
47+
justify-content: center;
48+
align-items: center;
49+
50+
img.scanner-icon {
51+
width: 80px;
52+
height: 40px;
53+
padding-left: 20px;
54+
padding-right: 20px;
55+
}
56+
img.release {
57+
width: 70px;
58+
height: 15px;
59+
}
60+
}
61+
}
62+
63+
.integration-card.hoverable {
64+
cursor: pointer;
65+
&:hover {
66+
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
67+
text-decoration: none;
68+
}
69+
}
70+
71+
.no-highlight {
72+
> a {
73+
text-decoration: none;
74+
}
75+
}

src/scss/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
@import 'components/strip';
6060
@import 'components/whitebox';
6161
@import 'components/feature';
62+
@import 'components/integration-card';
6263
@import 'components/call';
6364
@import 'components/card';
6465
@import 'components/card-two';

src/templates/integration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Integration = props => {
2525
</li>
2626
))}
2727
</ul>
28-
<h1 className="sidebar-header">Persistence provider</h1>
28+
<h1 className="sidebar-header">Hooks</h1>
2929
<ul className="list-unstyled components">
3030
{persistenceProvider.map(persistenceProvider => (
3131
<li key={persistenceProvider.node.frontmatter.title}>

static/images/undraw_mind_map_cwng.svg

Lines changed: 1 addition & 0 deletions
Loading

static/images/undraw_product_iteration_kjok.svg

Lines changed: 1 addition & 0 deletions
Loading

static/images/undraw_version_control_9bpv.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)