Skip to content

Commit b76a968

Browse files
authored
Merge pull request #339 from accordproject/RK-docusaurus-v2
Docusaurus v2: Styling - PR1
2 parents c04b01b + 469ff3d commit b76a968

File tree

2 files changed

+644
-3653
lines changed

2 files changed

+644
-3653
lines changed

website/docusaurus.config.js

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ module.exports={
6767
"remarkPlugins": [require('@docusaurus/remark-plugin-npm2yarn')],
6868
},
6969
"theme": {
70-
"customCss": [require.resolve("./src/css/customTheme.css")]
70+
"customCss": [require.resolve("./static/css/main.css")]
7171
}
7272
}
7373
]
@@ -95,32 +95,16 @@ module.exports={
9595
},
9696
"navbar": {
9797
"title": "Accord Project",
98-
"hideOnScroll": true,
9998
"logo": {
10099
"alt": 'Accord Project Logo',
101100
"src": 'img/accord_icon.png',
102-
"srcDark": 'img/accord_icon_white.png',
101+
"srcDark": 'img/A-MARK-ACCORDPROJECT-ONELINE-white.svg',
103102
},
104103
"items": [
105-
{
106-
"to": "docs/",
107-
"label": "Documentation",
108-
"position": "left"
109-
},
110-
{
111-
"href": "https://studio.accordproject.org",
112-
"label": "Try Online!",
113-
"position": "left"
114-
},
115-
{
116-
"href": "https://github.com/accordproject",
117-
"label": "GitHub",
118-
"position": "left"
119-
},
120104
{
121105
"label": "Version",
122106
"to": "docs",
123-
"position": "right",
107+
"position": "left",
124108
"items": [
125109
{
126110
"label": "0.21",
@@ -140,7 +124,22 @@ module.exports={
140124
"to": "docs/0.12/"
141125
},
142126
]
143-
}
127+
},
128+
{
129+
"to": "docs/",
130+
"label": "Documentation",
131+
"position": "right"
132+
},
133+
{
134+
"href": "https://studio.accordproject.org",
135+
"label": "Try Online!",
136+
"position": "right"
137+
},
138+
{
139+
"href": "https://github.com/accordproject",
140+
"label": "GitHub",
141+
"position": "right"
142+
},
144143
]
145144
},
146145
"image": "img/docusaurus.png",

0 commit comments

Comments
 (0)