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

Commit fd6d709

Browse files
authored
Merge pull request #22 from secureCodeBox/rework/images
Rework/images
2 parents 9720aaa + 1f8f6cc commit fd6d709

13 files changed

Lines changed: 65 additions & 53 deletions

File tree

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,46 @@ Used Fonts:
6666

6767
### Icons & Images
6868

69-
The icons of the integrations should be monochrome. It is important to have an icon which corresponds to the integrations original icon, but does not need to be the same (we do not want to copy the original one's due to licenses). Colored icons should have on the one side, a generally coherent look on the respective page and on the other side, not stand out from the websites blueish theme. Icons should be free licensed or from [flaticon]. [flaticon] is a great source of millions of free icons and it is referenced on the website for it's use already. Images should be fitting and mainly used as background (partially). They should fit the color scheme if possible or do **not** stand out through a high contrast to the website. Recommended websites for free icons or images:
69+
The icons of the integrations should be monochrome. It is important to have an icon which corresponds to the integrations original icon, but does not need to be the same (we do not want to copy the original one's due to licenses). Colored icons should have on the one side, a generally coherent look on the respective page and on the other side, not stand out from the websites blueish theme. Icons should be free licensed or from [flaticon]. [flaticon] is a great source of millions of free icons and it is referenced on the website for it's use already. Images should be fitting and mainly used as background (partially). They should fit the color scheme if possible or do **not** stand out through a high contrast to the website. Currently we use svg images from [undraw](https://undraw.co/) as background images. In the case you are going to use a png, jpg or jpeg, and it does not load in an instant, use gatsby-image and fluid to avoid a spontaneously popping image, e.g.:
70+
71+
Query the image on the page:
72+
73+
```javascript
74+
export const query = graphql`
75+
query {
76+
ImageHomeQuery: file(relativePath: { eq: "images/<ImageName.any>" }) {
77+
childImageSharp {
78+
# Specify the image processing specifications right in the query.
79+
fluid {
80+
...GatsbyImageSharpFluid
81+
}
82+
}
83+
}
84+
}
85+
`;
86+
```
87+
88+
And use the `<Img/>` component:
89+
90+
```html
91+
<div className="background-plane">
92+
<img
93+
fluid="{props.data.ImageHomeQuery.childImageSharp.fluid}"
94+
alt="secureCodeBox preview"
95+
objectFit="cover"
96+
className="background-image"
97+
/>
98+
</div>
99+
```
100+
101+
Of course you can use this not only for background images, just ignore then everything related to to background in the example. However, currently, the intro style class provides basic styling for the background images.
102+
103+
Recommended websites for free icons or images:
70104

71105
- [flaticon](https://www.flaticon.com/)
72106
- [iconmonstr](https://iconmonstr.com/)
73107
- [pixabay](https://pixabay.com/)
108+
- [undraw](https://undraw.co/)
74109

75110
## Documentation Guide
76111

@@ -239,7 +274,7 @@ Currently under development, this will be the guide for our "Get Started" tutori
239274

240275
#### Developer docs
241276

242-
Currently under development, this will be the guide for our "Docs" developer documentation similar to the ones above.
277+
Currently under development, this will be the guide for our "Docs" developer documentation similar to the ones above.
243278

244279
## Production Deployment
245280

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/images/GetStarted.png

-164 KB
Binary file not shown.

src/images/GetStarted.svg

Lines changed: 1 addition & 0 deletions
Loading

src/images/Integrations.png

-988 KB
Binary file not shown.

src/images/Integrations.svg

Lines changed: 1 addition & 0 deletions
Loading

src/images/LandingPage.png

-132 KB
Binary file not shown.

0 commit comments

Comments
 (0)