Skip to content

Commit a118fe1

Browse files
committed
feat: add new logo
1 parent 46b7aea commit a118fe1

File tree

8 files changed

+24
-34
lines changed

8 files changed

+24
-34
lines changed

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config = {
1313
baseUrl: '/',
1414
onBrokenLinks: 'warn',
1515
onBrokenMarkdownLinks: 'warn',
16-
favicon: 'img/favicon.ico',
16+
favicon: 'img/favicon.png',
1717
staticDirectories: ['static'],
1818

1919
// GitHub pages deployment config.
@@ -64,8 +64,8 @@ const config = {
6464
navbar: {
6565
logo: {
6666
alt: 'Subsquids',
67-
src: 'img/logo-light.svg',
68-
srcDark: 'img/logo-dark.svg',
67+
src: 'img/logo-dark.svg',
68+
srcDark: 'img/logo-light.svg',
6969
},
7070
items: [
7171
{

src/css/custom.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,14 @@ html {
493493
display: none !important;
494494
}
495495

496+
.navbar__logo {
497+
display: flex;
498+
align-items: center;
499+
}
500+
496501
.navbar__logo img {
497-
display: block !important;
502+
display: block;
503+
height: auto;
498504
}
499505

500506
ul, ol {

static/img/favicon-96x96.png

-8.78 KB
Binary file not shown.

static/img/favicon.ico

-4.19 KB
Binary file not shown.

static/img/favicon.png

1.58 KB
Loading

static/img/logo-dark.svg

Lines changed: 7 additions & 10 deletions
Loading

static/img/logo-light.svg

Lines changed: 7 additions & 10 deletions
Loading

static/img/logo.svg

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)