Skip to content

Commit 535b40b

Browse files
committed
Improve Legal Disclosure link
1 parent fa75f7c commit 535b40b

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

docusaurus.config.ts

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {themes as prismThemes} from 'prism-react-renderer';
2-
import type {Config} from '@docusaurus/types';
1+
import { themes as prismThemes } from 'prism-react-renderer';
2+
import type { Config } from '@docusaurus/types';
33
import type * as Preset from '@docusaurus/preset-classic';
44

55
const config: Config = {
@@ -33,7 +33,6 @@ const config: Config = {
3333
mermaid: true,
3434
},
3535

36-
3736
themes: ['@docusaurus/theme-mermaid'],
3837

3938
presets: [
@@ -44,15 +43,13 @@ const config: Config = {
4443
sidebarPath: './sidebars.ts',
4544
// Please change this to your repo.
4645
// Remove this to remove the "edit this page" links.
47-
editUrl:
48-
'https://github.com/openmfp/openmfp.org/blob/main/',
46+
editUrl: 'https://github.com/openmfp/openmfp.org/blob/main/',
4947
},
5048
blog: {
5149
showReadingTime: true,
5250
// Please change this to your repo.
5351
// Remove this to remove the "edit this page" links.
54-
editUrl:
55-
'https://github.com/openmfp/openmfp.org/blob/main/',
52+
editUrl: 'https://github.com/openmfp/openmfp.org/blob/main/',
5653
},
5754
theme: {
5855
customCss: './src/css/custom.css',
@@ -77,7 +74,7 @@ const config: Config = {
7774
position: 'left',
7875
label: 'Docs',
7976
},
80-
{to: '/blog', label: 'Blog', position: 'left'},
77+
{ to: '/blog', label: 'Blog', position: 'left' },
8178
{
8279
href: 'https://github.com/openmfp',
8380
label: 'GitHub',
@@ -128,7 +125,17 @@ const config: Config = {
128125
],
129126
},
130127
],
131-
copyright: `Copyright © ${new Date().getFullYear()} SAP SE or an SAP affiliate company. All rights reserved.<br><small><a href="https://www.sap.com/corporate/en/legal/impressum.html">Legal Disclosure</a></small>`,
128+
copyright: `
129+
Copyright © ${new Date().getFullYear()} SAP SE or an SAP affiliate company. All rights reserved.<br>
130+
<small>
131+
<a class="footer__link-item" href="https://www.sap.com/corporate/en/legal/impressum.html">
132+
Legal Disclosure
133+
<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU">
134+
<path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path>
135+
</svg>
136+
</a>
137+
</small>
138+
`,
132139
},
133140
prism: {
134141
theme: prismThemes.github,

0 commit comments

Comments
 (0)