Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit ccd5960

Browse files
authored
feat: update logos (#57)
1 parent 740fdff commit ccd5960

File tree

6 files changed

+389
-27
lines changed

6 files changed

+389
-27
lines changed

website/docusaurus.config.js

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,77 +15,82 @@ const siteConfig = {
1515
path: "./docs",
1616
// Sidebars file relative to website dir.
1717
sidebarPath: require.resolve("./sidebars.json"),
18-
editUrl: "https://github.com/Open-Attestation/documentation-website/tree/master/website"
18+
editUrl: "https://github.com/Open-Attestation/documentation-website/tree/master/website",
1919
},
2020
theme: {
21-
customCss: [require.resolve("./src/css/custom.css")]
22-
}
23-
}
24-
]
21+
customCss: [require.resolve("./src/css/custom.css")],
22+
},
23+
},
24+
],
2525
],
2626

2727
themeConfig: {
2828
navbar: {
2929
title: "OpenAttestation",
3030
logo: {
3131
alt: "OpenAttestation Logo",
32-
src: "img/logo.gif",
33-
srcDark: "img/logo.gif"
32+
src: "img/logos/oa.svg",
33+
srcDark: "img/logos/oa.svg",
3434
},
35-
items: [{ to: "docs/getting-started", label: "Docs", position: "left" }]
35+
items: [{ to: "docs/getting-started", label: "Docs", position: "left" }],
3636
},
3737
footer: {
38+
logo: {
39+
alt: "GovTech Logo",
40+
src: "img/logos/govtech-blue.png",
41+
href: "https://www.tech.gov.sg",
42+
},
3843
copyright: `Copyright © ${new Date().getFullYear()} Government Technology Agency (Singapore)`,
3944
links: [
4045
{
4146
title: "Docs",
4247
items: [
4348
{
4449
label: "Getting Started",
45-
to: "docs/getting-started"
46-
}
47-
]
50+
to: "docs/getting-started",
51+
},
52+
],
4853
},
4954
{
5055
title: "Community",
5156
items: [
5257
{
5358
label: "Project Chat",
54-
href: "https://spectrum.chat/openattestation"
55-
}
56-
]
59+
href: "https://spectrum.chat/openattestation",
60+
},
61+
],
5762
},
5863
{
5964
title: "More",
6065
items: [
6166
{
6267
label: "Github",
63-
href: "https://github.com/Open-Attestation"
68+
href: "https://github.com/Open-Attestation",
6469
},
6570
{
6671
html: `
6772
<a href="https://www.netlify.com" target="_blank" rel="noreferrer noopener" aria-label="Deploys by Netlify">
6873
<img src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" alt="Deploys by Netlify" />
6974
</a>
70-
`
71-
}
72-
]
73-
}
74-
]
75+
`,
76+
},
77+
],
78+
},
79+
],
7580
},
7681

7782
algolia: {
7883
apiKey: "1c7e0f08161cfc504494cff933eb8a37",
7984
indexName: "openattestation",
80-
algoliaOptions: {} // Optional, if provided by Algolia
85+
algoliaOptions: {}, // Optional, if provided by Algolia
8186
},
8287
prism: {
83-
theme: require("prism-react-renderer/themes/nightOwl")
88+
theme: require("prism-react-renderer/themes/nightOwl"),
8489
},
8590
image: "img/undraw_tweetstorm.svg",
8691
metadatas: [{ name: "og:image", content: "img/undraw_online.svg" }],
87-
sidebarCollapsible: true
88-
}
92+
sidebarCollapsible: true,
93+
},
8994
};
9095

9196
module.exports = siteConfig;

website/src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function Home() {
8787
<Layout title={siteConfig.title} description="Description will go into a meta tag in <head />">
8888
<header className={clsx("hero hero--primary", styles.heroBanner, styles.layout)}>
8989
<div className="container">
90-
<img src={useBaseUrl("img/logo.gif")} alt="OpenAttestation logo" />
90+
<img src={useBaseUrl("img/logos/oa.svg")} alt="OpenAttestation logo" style={{ maxWidth: "240px" }} />
9191
<h1 className="hero__title">{siteConfig.title}</h1>
9292
<p className="hero__subtitle">{siteConfig.tagline}</p>
9393
<div className={styles.buttons}>

website/src/pages/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
}
5555

5656
html[data-theme="dark"] .heroBanner {
57-
background-color: #324353;
57+
background-color: #1c1e21;
5858
color: white;
5959
}
6060
html[data-theme="dark"] .layout section:nth-child(even) {
61-
background-color: #324353;
61+
background-color: #1c1e21;
6262
color: white;
6363
}
6464
html[data-theme="dark"] .layout a {

website/static/img/logo.gif

-1.27 MB
Binary file not shown.
143 KB
Loading

0 commit comments

Comments
 (0)