Skip to content

Commit c1b1f87

Browse files
committed
Update footer and related config and CSS
Signed-off-by: johnmhoran <[email protected]>
1 parent 4796b1f commit c1b1f87

17 files changed

+85
-51
lines changed

website/docusaurus.config.js

Lines changed: 39 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { themes as prismThemes } from 'prism-react-renderer';
1212
const 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. &nbsp; All rights reserved. &nbsp; Built with Docusaurus.`,
199187
},
200188
prism: {
201189
theme: prismThemes.github,

website/src/css/custom.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,20 @@
9292
color: #ffffff;
9393
}
9494
}
95+
96+
/* 2025-12-09 Tuesday 15:11:09. Remove opacity/transition -- makes the colors too dim. */
97+
.footerLogoLink_BH7S {
98+
/* opacity: 0.5; */
99+
opacity: 1.0;
100+
}
101+
102+
/* Remove the dots between items in the footer links list -- links: []. */
103+
/* Nothing I tried has worked yet, except my cheat -- make the dots the same color as the footer background. ;-). */
104+
.footer__link-separator {
105+
color: #323846;
106+
}
107+
108+
.footer__links {
109+
margin-bottom: 1rem;
110+
font-size: 14px;
111+
}

website/src/pages/about.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# About
2+
3+
2025-12-09 Tuesday 16:17:01.Coming soon.

website/src/pages/terms.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Terms
2+
3+
2025-12-09 Tuesday 16:17:01.Coming soon.
30.7 KB
Loading

website/static/img/AboutCode.svg

Lines changed: 1 addition & 0 deletions
Loading

website/static/img/LI-In-Bug.png

8.18 KB
Loading
9.51 KB
Loading
3.37 KB
Loading
Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)