Skip to content

Commit f42be5f

Browse files
committed
added logo to docs
1 parent dbd4feb commit f42be5f

File tree

7 files changed

+42
-16
lines changed

7 files changed

+42
-16
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# [pict-node](https://gmaxlev.github.io/pict-node/)
22

3+
![CLI watch mode example](./docs/logo.svg)
4+
35
The documentation is published on [gmaxlev.github.io/pict-node/](https://gmaxlev.github.io/pict-node/)
46

57
This library is a wrapper around Microsoft's [PICT](https://github.com/microsoft/pict) (Pairwise Independent Combinatorial Testing) tool, designed to work with Node.js for generating combinations of inputs for software testing. PICT is a powerful tool that helps reduce the number of tests needed while still ensuring comprehensive coverage by generating optimized combinations of inputs.

docs/logo.svg

Lines changed: 8 additions & 0 deletions
Loading

web/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ const config: Config = {
5050
// Replace with your project's social card
5151
// image: "img/docusaurus-social-card.jpg",
5252
navbar: {
53-
title: "pict-node",
5453
logo: {
5554
alt: "pict-node logo",
5655
src: "img/logo.svg",
56+
className: "header-logo",
5757
},
5858
items: [
5959
{

web/src/components/Intro/Intro.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.intro {
22
align-items: center;
33
justify-content: center;
4+
padding-top: 50px;
5+
padding-bottom: 50px;
46
}
57

68
.intro h1 {
@@ -10,3 +12,7 @@
1012
.intro p {
1113
max-width: 400px;
1214
}
15+
16+
.logo {
17+
max-width: 80%;
18+
}

web/src/components/Intro/Intro.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ export default function Intro() {
1212
>
1313
<main className={"text--center"}>
1414
<div className={"container"}>
15+
<img
16+
src={"./img/logo.svg"}
17+
alt={"pict-node logo"}
18+
className={styles.logo}
19+
/>
1520
<h1>PICT for Node.js</h1>
1621
<h2>Combinatorial Test Case Generation</h2>
1722
<p>

web/src/css/custom.css

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,30 @@
66

77
/* You can override the default Infima variables here. */
88
:root {
9-
--ifm-color-primary: #2e8555;
10-
--ifm-color-primary-dark: #29784c;
11-
--ifm-color-primary-darker: #277148;
12-
--ifm-color-primary-darkest: #205d3b;
13-
--ifm-color-primary-light: #33925d;
14-
--ifm-color-primary-lighter: #359962;
15-
--ifm-color-primary-lightest: #3cad6e;
9+
--ifm-color-primary: #83cd29;
10+
--ifm-color-primary-dark: #56871b;
11+
--ifm-color-primary-darker: #4c7719;
12+
--ifm-color-primary-darkest: #3c5e13;
13+
--ifm-color-primary-light: #8ddd2c;
14+
--ifm-color-primary-lighter: #90e32b;
15+
--ifm-color-primary-lightest: #95ea2e;
1616
--ifm-code-font-size: 95%;
1717
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1818
}
1919

2020
/* For readability concerns, you should choose a lighter palette in dark mode. */
2121
[data-theme="dark"] {
22-
--ifm-color-primary: #25c2a0;
23-
--ifm-color-primary-dark: #21af90;
24-
--ifm-color-primary-darker: #1fa588;
25-
--ifm-color-primary-darkest: #1a8870;
26-
--ifm-color-primary-light: #29d5b0;
27-
--ifm-color-primary-lighter: #32d8b4;
28-
--ifm-color-primary-lightest: #4fddbf;
22+
--ifm-color-primary: #83cd29;
23+
--ifm-color-primary-dark: #56871b;
24+
--ifm-color-primary-darker: #4c7719;
25+
--ifm-color-primary-darkest: #3c5e13;
26+
--ifm-color-primary-light: #8ddd2c;
27+
--ifm-color-primary-lighter: #90e32b;
28+
--ifm-color-primary-lightest: #95ea2e;
29+
--ifm-code-font-size: 95%;
2930
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3031
}
32+
33+
.header-logo {
34+
transform: translateY(5px);
35+
}

web/static/img/logo.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)