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

Commit 4206ded

Browse files
author
dpatanin
committed
change fonts and icons
1 parent ae80006 commit 4206ded

10 files changed

Lines changed: 26 additions & 178 deletions

File tree

README.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,18 @@
22

33
This repository sources the [secureCodeBox landing page][prod-website].
44

5-
The actual content of the static site is in `src/www/`. In `contrib/` is an example template.
5+
The actual content of the static site is in `src/www/`.
66

77
## Build and Run
88

9+
For development:
910
```bash
10-
docker image build -t landing-page .
11-
docker container run -p 8080:80 --rm -d landing-page
11+
gatsby develop
1212
```
13-
14-
And then visit [this](http://localhost:8080/) in your browser.
15-
16-
## Simple Local Server
17-
18-
If you have Python installed you can simply use it's simple HTP server:
19-
13+
For production locally:
2014
```bash
21-
cd src/www
22-
python -m SimpleHTTPServer 8080
15+
gatsby build
16+
gatsby serve
2317
```
18+
And then visit [this](http://localhost:8000/) in your browser.
2419

25-
## CI/CD Build Infrastructure
26-
27-
- [Prod Server (Rancher 1.6)](https://security.iteratec.de:8443/env/1a5/apps/stacks/1st186/services/1s789/containers)
28-
- [Build Server (Bamboo)](https://bamboo.iteratec.io/browse/SB-SCBIO)
29-
- [Artifact Server (Artifactory)](https://artifactory.iteratec.io/artifactory/webapp/#/artifacts/browse/tree/DockerV2Info/securecodebox.docker/securecodebox/website/latest):
30-
Each commit to the master repo results in a new container, which resist here.
31-
If you want to update the [production Website][prod-website] you need to manually press the <kbd>upgrade</kbd> button [in Rancher](https://security.iteratec.de:8443/env/1a5/apps/stacks/1st186/services/1s789/containers).
32-
- This step is not automated because there is no review process in place yet (master/develop branch with pull requests).
33-
34-
[prod-website]: http://www.secureCodeBox.io

src/components/Header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React from 'react';
22
import { Link } from 'gatsby';
33
import Menu from './Menu';
44
import Hamburger from './Hamburger';
5-
import logo from '../images/Logo Color.svg';
6-
import logoMobile from '../../static/Favicon@1x.svg';
5+
import logo from '../images/Logo White.svg';
6+
import logoMobile from '../images/Logo White.svg';
77
import MenuMobile from './MenuMobile';
88

99
class Header extends React.Component {

src/pages/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const Home = (props) => {
4040
</div>
4141
)}
4242
<h2 className="feature-title">{edge.node.title}</h2>
43-
<div className="feature-content">{edge.node.description}</div>
43+
{/* TODO add link to corresponding pages */}
4444
</div>
4545
</div>
4646
))}
@@ -71,7 +71,6 @@ export const query = graphql`
7171
node {
7272
id
7373
title
74-
description
7574
image
7675
tag
7776
}

src/scss/_bootstrap-variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ $link-hover-color: lighten($primary, 20%);
3131
$link-hover-decoration: underline;
3232

3333
// Fonts
34-
$font-family-base: 'Open Sans', 'Helvetica Neue', Arial, sans-serif,
34+
$font-family-base: 'Ubuntu','Livvic', 'Helvetica Neue', Arial, sans-serif,
3535
-apple-system;
36-
$font-family-heading: 'Lora', 'Helvetica Neue', Arial, sans-serif, -apple-system;
36+
$font-family-heading: 'Livvic', 'Helvetica Neue', Arial, sans-serif, -apple-system;
3737
$font-size-base: 1rem; // Assumes the browser default, typically `16px`
3838
$font-weight-thin: 200;
3939
$font-weight-light: 300;

src/scss/components/_intro.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
width: 80%;
3939
font-size: 1.1rem;
4040
font-weight: lighter;
41+
font-family: $font-family-base;
4142
line-height: 1.4;
4243
color: $secondary;
4344
text-align: justify;

src/scss/components/_logo.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
@include media-breakpoint-up(sm) {
44
display: block;
55
width: 150px;
6+
height: auto;
67
}
78
img {
9+
position: relative;
10+
top: 9.72px;
811
width: 100%;
9-
height: auto;
10-
background-color: $white;
12+
height: 100%;
1113
}
1214
a {
1315
display: block;
@@ -23,9 +25,10 @@
2325
display: none;
2426
}
2527
img {
28+
position: relative;
29+
top: 9.72px;
2630
width: 100%;
2731
height: auto;
28-
background-color: $white;
2932
}
3033
a {
3134
display: block;

src/scss/style.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// Font
22
@import url('https://fonts.googleapis.com/css?family=Lora:400|Open+Sans:400,700');
3+
@import url('https://fonts.googleapis.com/css?family=Livvic&display=swap');
4+
@import url('https://fonts.googleapis.com/css?family=Ubuntu&display=swap');
35

46
// Bootstrap
57
@import 'bootstrap/functions';

static/features/Open Source.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)