Skip to content

Commit 3506842

Browse files
authored
Use settings footer text in screenshot (#492)
Closes #491 Signed-off-by: Cintia Sanchez Garcia <[email protected]>
1 parent c551636 commit 3506842

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

web/src/layout/navigation/MiniFooter.tsx

+14-13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import isUndefined from 'lodash/isUndefined';
2+
import { Show } from 'solid-js';
3+
14
import ExternalLink from '../common/ExternalLink';
25
import styles from './Footer.module.css';
36

@@ -8,19 +11,17 @@ const MiniFooter = () => {
811
<div class="d-flex flex-column flex-sm-row justify-content-between">
912
<div class="d-flex flex-column">
1013
<div>
11-
<div class={`pt-2 ${styles.copyright}`}>
12-
Copyright © 2023 The Linux Foundation®. All rights reserved. The Linux Foundation has registered
13-
trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our{' '}
14-
<ExternalLink class="p-0 fw-semibold text-white" href="https://www.linuxfoundation.org/trademark-usage">
15-
Trademark Usage
16-
</ExternalLink>{' '}
17-
page. Linux is a registered trademark of Linus Torvalds.{' '}
18-
<ExternalLink class="p-0 fw-semibold text-white" href="https://www.linuxfoundation.org/privacy">
19-
Privacy Policy
20-
</ExternalLink>{' '}
21-
and{' '}
22-
<ExternalLink class="p-0 fw-semibold text-white" href="https://www.linuxfoundation.org/terms">
23-
Terms of Use
14+
<Show when={!isUndefined(window.baseDS.footer) && !isUndefined(window.baseDS.footer!.text)}>
15+
{/* eslint-disable-next-line solid/no-innerhtml */}
16+
<div class={`pb-2 ${styles.legend}`} innerHTML={window.baseDS.footer!.text} />
17+
</Show>
18+
<div class={styles.legend}>
19+
Powered by{' '}
20+
<ExternalLink
21+
class="p-0 fw-semibold text-white text-underline"
22+
href="https://github.com/cncf/landscape2"
23+
>
24+
CNCF interactive landscapes generator
2425
</ExternalLink>
2526
.
2627
</div>

0 commit comments

Comments
 (0)