@@ -12,7 +12,7 @@ import { themes as prismThemes } from 'prism-react-renderer';
1212const config = {
1313 title : 'AboutCode.org' ,
1414 tagline : '[Tagline . . . ?]' ,
15- favicon : 'img/favicon-test.ico ' ,
15+ favicon : 'img/nexB_icon.png ' ,
1616
1717 markdown : {
1818 format : 'detect' , // Auto-detects: .md = plain Markdown (CommonMark), .mdx = MDX
@@ -62,8 +62,15 @@ const config = {
6262 sidebarPath : './sidebars.js' ,
6363 // Please change this to your repo.
6464 // Remove this to remove the "edit this page" links.
65- editUrl :
66- 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/' ,
65+ // editUrl:
66+ // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
67+ editUrl : ( { docPath } ) => {
68+ // TODO We can include a map here as in packageurl.org.
69+ // Otherwise, provide a default (so “Edit this page” still works)
70+ // return `https://github.com/aboutcode/www.aboutcode.org/blob/main/website/docs/${docPath}`;
71+ // fork:
72+ return `https://github.com/johnmhoran/www.aboutcode.org/blob/main/website/docs/${ docPath } ` ;
73+ } ,
6774 } ,
6875 blog : {
6976 showReadingTime : true ,
@@ -96,16 +103,11 @@ const config = {
96103 // respectPrefersColorScheme: true,
97104 // },
98105 navbar : {
99- // title: 'My Site',
100- // logo: {
101- // alt: 'My Site Logo',
102- // src: 'img/logo.svg',
103- // },
104106 logo : {
105107 alt : 'www.aboutcode.org Logo' ,
106- src : 'img/no_logo_placeholder.svg ' ,
108+ src : 'img/AboutCode-logo-stackedv3.png ' ,
107109 } ,
108- style : " dark" ,
110+ style : ' dark' ,
109111 items : [
110112 { to : '/' , label : 'Home' , position : 'left' , exact : true } ,
111113 {
@@ -138,64 +140,50 @@ const config = {
138140 position : 'left' ,
139141 label : 'About' ,
140142 } ,
141- // {
142- // type: 'docSidebar',
143- // sidebarId: 'tutorialSidebar',
144- // position: 'left',
145- // label: 'Tutorial',
146- // },
147143 { to : '/blog' , label : 'Blog' , position : 'left' } ,
148144 {
149- href : 'https://github.com/facebook/docusaurus ' ,
145+ href : 'https://github.com/aboutcode-org ' ,
150146 label : 'GitHub' ,
151147 position : 'right' ,
152148 } ,
149+ {
150+ href : 'https://join.slack.com/t/aboutcode-org/shared_invite/zt-1paqwxccw-IuafuiAvYJFkTqGaZsC1og' ,
151+ label : 'Slack' ,
152+ position : 'right' ,
153+ } ,
153154 ] ,
154155 } ,
155156 footer : {
156157 style : 'dark' ,
157158 links : [
158159 {
159- title : 'Docs' ,
160- items : [
161- {
162- label : 'Tutorial' ,
163- to : '/docs/intro' ,
164- } ,
165- ] ,
160+ html : `<img src="/www.aboutcode.org/img/AboutCode.svg" alt="My Company" width="150"/>` ,
166161 } ,
162+
167163 {
168- title : 'Community' ,
169- items : [
170- {
171- label : 'Stack Overflow' ,
172- href : 'https://stackoverflow.com/questions/tagged/docusaurus' ,
173- } ,
174- {
175- label : 'Discord' ,
176- href : 'https://discordapp.com/invite/docusaurus' ,
177- } ,
178- {
179- label : 'X' ,
180- href : 'https://x.com/docusaurus' ,
181- } ,
182- ] ,
164+ html : `<a href="https://github.com/aboutcode-org" target="_blank" rel="noopener noreferrer" aria-label="GitHub"><img src="/www.aboutcode.org/img/github-mark-white.svg" alt="" width="20" height="20"></a>` ,
183165 } ,
166+
184167 {
185- title : 'More' ,
186- items : [
187- {
188- label : 'Blog' ,
189- to : '/blog' ,
190- } ,
191- {
192- label : 'GitHub' ,
193- href : 'https://github.com/facebook/docusaurus' ,
194- } ,
195- ] ,
168+ html : `<a href="https://www.linkedin.com/company/aboutcode/?lipi=urn%3Ali%3Apage%3Ad_flagship3_search_srp_companies%3BrQlfT6M0S1qSDpQjt52CiQ%3D%3D" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn"><img src="/www.aboutcode.org/img/brand-inlogo-download-fg-dsk-v01-2x.png" alt="" width="20" height="20"></a>` ,
196169 } ,
170+
171+ {
172+ html : `<a href="https://join.slack.com/t/aboutcode-org/shared_invite/zt-1paqwxccw-IuafuiAvYJFkTqGaZsC1og" target="_blank" rel="noopener noreferrer" aria-label="Slack"><img src="/www.aboutcode.org/img/slack-logo.svg" alt="" width="20" height="20"></a>` ,
173+ } ,
174+
175+ {
176+ html : `<a href="https://app.gitter.im/#/room/#aboutcode-org_discuss:gitter.im" target="_blank" rel="noopener noreferrer" aria-label="Gitter"><img src="/www.aboutcode.org/img/gitter.svg" alt="" width="20" height="20"></a>` ,
177+ } ,
178+
179+ {
180+ html :
`<a href="mailto:[email protected] " target="_blank" rel="noopener noreferrer" aria-label="Email"><img src="/www.aboutcode.org/img/email-svgrepo-com.svg" alt="" width="25" height="20"></a>` , 181+ } ,
182+
183+ { label : 'Privacy Policy' , to : '/about' } ,
184+ { label : 'Terms of Service' , to : '/terms' } ,
197185 ] ,
198- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } My Project, Inc. Built with Docusaurus.` ,
186+ copyright : `Copyright AboutCode Foundation ASBL. All rights reserved. Built with Docusaurus.` ,
199187 } ,
200188 prism : {
201189 theme : prismThemes . github ,
0 commit comments