File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ function collectHeadings(
83
83
84
84
const websiteName = 'Devfile.io' ;
85
85
const websiteDescription = 'An open standard defining containerized development environments.' ;
86
+ const lfTrademarkUsageUrl = 'https://www.linuxfoundation.org/trademark-usage/' ;
86
87
87
88
function LandingPage ( { Component, pageProps } : AppProps ) : JSX . Element {
88
89
const { markdoc } = pageProps as MarkdocNextJsPageProps ;
@@ -114,7 +115,11 @@ function LandingPage({ Component, pageProps }: AppProps): JSX.Element {
114
115
< Component { ...pageProps } />
115
116
</ LandingPageLayout >
116
117
</ div >
117
- < Footer websiteName = { websiteName } websiteDescription = { websiteDescription } />
118
+ < Footer
119
+ websiteName = { websiteName }
120
+ websiteDescription = { websiteDescription }
121
+ lfTrademarkUsageUrl = { lfTrademarkUsageUrl }
122
+ />
118
123
</ div >
119
124
</ NavigationProvider >
120
125
</ LinksProvider >
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const analyticsConfig = {
27
27
} ;
28
28
29
29
const websiteName = 'Devfile Registry' ;
30
+ const lfTrademarkUsageUrl = 'https://www.linuxfoundation.org/trademark-usage/' ;
30
31
31
32
function CustomApp ( { Component, pageProps } : AppProps ) : JSX . Element {
32
33
return (
@@ -38,7 +39,7 @@ function CustomApp({ Component, pageProps }: AppProps): JSX.Element {
38
39
< Header websiteName = { websiteName } />
39
40
< Component { ...pageProps } />
40
41
</ div >
41
- < Footer websiteName = { websiteName } />
42
+ < Footer websiteName = { websiteName } lfTrademarkUsageUrl = { lfTrademarkUsageUrl } />
42
43
</ div >
43
44
</ LinksProvider >
44
45
</ AnalyticsProvider >
Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ import { useLinks } from '../../hooks';
21
21
export interface FooterProps {
22
22
websiteName : string ;
23
23
websiteDescription ?: string ;
24
+ lfTrademarkUsageUrl ?: string ;
24
25
}
25
26
26
27
export function Footer ( props : FooterProps ) : JSX . Element {
27
- const { websiteName, websiteDescription } = props ;
28
+ const { websiteName, websiteDescription, lfTrademarkUsageUrl } = props ;
28
29
29
30
const { footerNavigation } = useLinks ( ) ;
30
31
@@ -48,6 +49,19 @@ export function Footer(props: FooterProps): JSX.Element {
48
49
{ websiteDescription && (
49
50
< p className = "text-base text-slate-500 dark:text-slate-400" > { websiteDescription } </ p >
50
51
) }
52
+ { lfTrademarkUsageUrl && (
53
+ < p className = "text-base text-slate-500 dark:text-slate-400" >
54
+ The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a
55
+ list of TLF trademarks, see
56
+ < Link
57
+ href = { lfTrademarkUsageUrl }
58
+ className = "text-base text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300"
59
+ >
60
+ Trademark Usage
61
+ </ Link >
62
+ .
63
+ </ p >
64
+ ) }
51
65
< div className = "flex space-x-6" >
52
66
{ footerNavigation . social . map ( ( item ) => (
53
67
< Link key = { item . name } href = { item . href } passHref >
You can’t perform that action at this time.
0 commit comments