Skip to content

Commit 0ba3e85

Browse files
authored
chore(docs): Update branding (#6759)
1 parent f45b354 commit 0ba3e85

File tree

14 files changed

+95
-72
lines changed

14 files changed

+95
-72
lines changed

docs/docs/index.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,17 @@ sidebar_position: 0
2121

2222
import Tabs from '@theme/Tabs';
2323
import TabItem from '@theme/TabItem';
24-
25-
<img src={require("@site/static/img/logo.png").default} style={{display: "block", width: "50%", margin: "2rem auto"}} alt="Noir Logo" />
24+
import ThemedImage from '@theme/ThemedImage';
25+
import useBaseUrl from '@docusaurus/useBaseUrl';
26+
27+
<ThemedImage
28+
sources={{
29+
light: useBaseUrl("/img/logoDark.png"),
30+
dark: useBaseUrl("/img/logo.png"),
31+
}}
32+
style={{display: "block", width: "50%", margin: "2rem auto"}}
33+
alt="Noir Logo"
34+
/>
2635

2736
Noir is an open-source Domain-Specific Language for safe and seamless construction of privacy-preserving Zero-Knowledge programs, requiring no previous knowledge on the underlying mathematics or cryptography.
2837

docs/docusaurus.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ export default {
5757
navbar: {
5858
logo: {
5959
alt: 'Noir Logo',
60-
src: 'img/logo.svg',
61-
srcDark: 'img/logoDark.svg',
60+
src: 'img/logoDark.svg',
61+
srcDark: 'img/logo.svg',
6262
href: '/',
6363
},
6464
items: [

docs/static/img/favicon.ico

13.7 KB
Binary file not shown.
1.2 MB
Loading

docs/static/img/logo.png

-152 KB
Loading

docs/static/img/logo.svg

+14-29
Loading

docs/static/img/logoDark.png

24.2 KB
Loading

docs/static/img/logoDark.svg

+13-29
Loading

docs/versioned_docs/version-v0.36.0/index.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,17 @@ sidebar_position: 0
2121

2222
import Tabs from '@theme/Tabs';
2323
import TabItem from '@theme/TabItem';
24-
25-
<img src={require("@site/static/img/logo.png").default} style={{display: "block", width: "50%", margin: "2rem auto"}} alt="Noir Logo" />
24+
import ThemedImage from '@theme/ThemedImage';
25+
import useBaseUrl from '@docusaurus/useBaseUrl';
26+
27+
<ThemedImage
28+
sources={{
29+
light: useBaseUrl("/img/logoDark.png"),
30+
dark: useBaseUrl("/img/logo.png"),
31+
}}
32+
style={{display: "block", width: "50%", margin: "2rem auto"}}
33+
alt="Noir Logo"
34+
/>
2635

2736
Noir is an open-source Domain-Specific Language for safe and seamless construction of privacy-preserving Zero-Knowledge programs, requiring no previous knowledge on the underlying mathematics or cryptography.
2837

docs/versioned_docs/version-v0.37.0/index.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,17 @@ sidebar_position: 0
2121

2222
import Tabs from '@theme/Tabs';
2323
import TabItem from '@theme/TabItem';
24-
25-
<img src={require("@site/static/img/logo.png").default} style={{display: "block", width: "50%", margin: "2rem auto"}} alt="Noir Logo" />
24+
import ThemedImage from '@theme/ThemedImage';
25+
import useBaseUrl from '@docusaurus/useBaseUrl';
26+
27+
<ThemedImage
28+
sources={{
29+
light: useBaseUrl("/img/logoDark.png"),
30+
dark: useBaseUrl("/img/logo.png"),
31+
}}
32+
style={{display: "block", width: "50%", margin: "2rem auto"}}
33+
alt="Noir Logo"
34+
/>
2635

2736
Noir is an open-source Domain-Specific Language for safe and seamless construction of privacy-preserving Zero-Knowledge programs, requiring no previous knowledge on the underlying mathematics or cryptography.
2837

docs/versioned_docs/version-v0.38.0/index.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,17 @@ sidebar_position: 0
2121

2222
import Tabs from '@theme/Tabs';
2323
import TabItem from '@theme/TabItem';
24-
25-
<img src={require("@site/static/img/logo.png").default} style={{display: "block", width: "50%", margin: "2rem auto"}} alt="Noir Logo" />
24+
import ThemedImage from '@theme/ThemedImage';
25+
import useBaseUrl from '@docusaurus/useBaseUrl';
26+
27+
<ThemedImage
28+
sources={{
29+
light: useBaseUrl("/img/logoDark.png"),
30+
dark: useBaseUrl("/img/logo.png"),
31+
}}
32+
style={{display: "block", width: "50%", margin: "2rem auto"}}
33+
alt="Noir Logo"
34+
/>
2635

2736
Noir is an open-source Domain-Specific Language for safe and seamless construction of privacy-preserving Zero-Knowledge programs, requiring no previous knowledge on the underlying mathematics or cryptography.
2837

docs/versioned_docs/version-v0.39.0/index.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,17 @@ sidebar_position: 0
2121

2222
import Tabs from '@theme/Tabs';
2323
import TabItem from '@theme/TabItem';
24-
25-
<img src={require("@site/static/img/logo.png").default} style={{display: "block", width: "50%", margin: "2rem auto"}} alt="Noir Logo" />
24+
import ThemedImage from '@theme/ThemedImage';
25+
import useBaseUrl from '@docusaurus/useBaseUrl';
26+
27+
<ThemedImage
28+
sources={{
29+
light: useBaseUrl("/img/logoDark.png"),
30+
dark: useBaseUrl("/img/logo.png"),
31+
}}
32+
style={{display: "block", width: "50%", margin: "2rem auto"}}
33+
alt="Noir Logo"
34+
/>
2635

2736
Noir is an open-source Domain-Specific Language for safe and seamless construction of privacy-preserving Zero-Knowledge programs, requiring no previous knowledge on the underlying mathematics or cryptography.
2837

docs/versioned_docs/version-v1.0.0-beta.0/index.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,17 @@ sidebar_position: 0
2121

2222
import Tabs from '@theme/Tabs';
2323
import TabItem from '@theme/TabItem';
24-
25-
<img src={require("@site/static/img/logo.png").default} style={{display: "block", width: "50%", margin: "2rem auto"}} alt="Noir Logo" />
24+
import ThemedImage from '@theme/ThemedImage';
25+
import useBaseUrl from '@docusaurus/useBaseUrl';
26+
27+
<ThemedImage
28+
sources={{
29+
light: useBaseUrl("/img/logoDark.png"),
30+
dark: useBaseUrl("/img/logo.png"),
31+
}}
32+
style={{display: "block", width: "50%", margin: "2rem auto"}}
33+
alt="Noir Logo"
34+
/>
2635

2736
Noir is an open-source Domain-Specific Language for safe and seamless construction of privacy-preserving Zero-Knowledge programs, requiring no previous knowledge on the underlying mathematics or cryptography.
2837

noir-logo.png

-201 KB
Loading

0 commit comments

Comments
 (0)