1
- import { t } from '@lingui/macro' ;
2
- import { Title } from '@patternfly/react-core' ;
1
+ import { Trans , t } from '@lingui/macro' ;
3
2
import * as React from 'react' ;
4
3
import {
5
4
AlertList ,
@@ -11,8 +10,7 @@ import {
11
10
} from 'src/components' ;
12
11
import { AppContext } from 'src/loaders/app-context' ;
13
12
import { RouteProps , withRouter } from 'src/utilities' ;
14
-
15
-
13
+ import './landing-page.scss' ;
16
14
17
15
interface IState {
18
16
alerts : AlertType [ ] ;
@@ -59,14 +57,21 @@ export class LandingPage extends React.Component<RouteProps, IState> {
59
57
< br />
60
58
61
59
< p >
62
- { t `Use the` } { ' ' }
63
- < a href = 'https://galaxy.ansible.com/search?deprecated=false& keywords = & order_by = - relevance ' > { t `Search page` } </ a > { ' ' }
64
- { t `to find content for your project, then download them onto your Ansible host using` } { ' ' }
65
- < a
66
- href = 'https://docs.ansible.com/ansible/latest/reference_appendices/galaxy.html#the-command-line-tool'
67
- target = '_blanck'
68
- > { t `ansible-galaxy` } </ a >
69
- { t `, the command line tool that comes bundled with Ansible.` }
60
+ < Trans >
61
+ Use the{ ' ' }
62
+ < a href = 'https://galaxy.ansible.com/search?deprecated=false& keywords = & order_by = - relevance ' >
63
+ Search page
64
+ </ a > { ' ' }
65
+ to find content for your project, then download them onto
66
+ your Ansible host using{ ' ' }
67
+ < a
68
+ href = 'https://docs.ansible.com/ansible/latest/reference_appendices/galaxy.html#the-command-line-tool'
69
+ target = '_blanck'
70
+ >
71
+ ansible-galaxy
72
+ </ a >
73
+ , the command line tool that comes bundled with Ansible.
74
+ </ Trans >
70
75
</ p >
71
76
</ React . Fragment >
72
77
}
@@ -81,14 +86,25 @@ export class LandingPage extends React.Component<RouteProps, IState> {
81
86
< br />
82
87
83
88
< p >
84
- { t `Red Hat is working on exciting new Ansible content development capabilities within the context of` } { ' ' }
85
- < a
86
- href = 'https://www.redhat.com/en/engage/project-wisdom?extIdCarryOver=true& sc_cid = 701 f2000001OH6uAAG '
87
- target = '_blank'
88
- rel = 'noopener noreferrer'
89
- > { t `Project Wisdom` } </ a > { ' ' }
90
- { t `to help other automators build Ansible content. Your roles and collections may be used as training data for a machine learning model that provides Ansible automation content recommendations. If you have concerns, please contact the Ansible team at` } { ' ' }
91
- < a href = 'mailto:ansible-content-ai@redhat.com' > { t `ansible-content-ai@redhat.com` } </ a >
89
+ < Trans >
90
+ Red Hat is working on exciting new Ansible content
91
+ development capabilities within the context of{ ' ' }
92
+ < a
93
+ href = 'https://www.redhat.com/en/engage/project-wisdom?extIdCarryOver=true& sc_cid = 701 f2000001OH6uAAG '
94
+ target = '_blank'
95
+ rel = 'noopener noreferrer'
96
+ >
97
+ Project Wisdom
98
+ </ a > { ' ' }
99
+ to help other automators build Ansible content. Your roles
100
+ and collections may be used as training data for a machine
101
+ learning model that provides Ansible automation content
102
+ recommendations. If you have concerns, please contact the
103
+ Ansible team at{ ' ' }
104
+ < a href = 'mailto:ansible-content-ai@redhat.com' >
105
+ ansible-content-ai@redhat.com
106
+ </ a >
107
+ </ Trans >
92
108
</ p >
93
109
</ React . Fragment >
94
110
}
@@ -142,14 +158,37 @@ export class LandingPage extends React.Component<RouteProps, IState> {
142
158
title = { t `Terms of Use` }
143
159
body = {
144
160
< React . Fragment >
145
- < div style = { { display : 'flex' , } } >
146
- < p style = { { paddingRight : '16px' } } >
147
- < a href = 'https://www.redhat.com/en/about/privacy-policy' > { t `Privacy statement` } </ a >
148
- </ p >
149
- < p style = { { paddingRight : '16px' } } > < a href = 'https://www.redhat.com/en/about/terms-use' > { t `Terms of use` } </ a > </ p >
150
- < p style = { { paddingRight : '16px' } } > < a href = 'https://www.redhat.com/en/about/all-policies-guidelines' > { t `All policies and guidelines` } </ a > </ p >
151
- < p style = { { paddingRight : '16px' } } > < a href = 'https://www.redhat.com/en/about/digital-accessibility' > { t `Digital accessibility` } </ a > </ p >
152
- < p style = { { paddingRight : '16px' } } > < a href = "#" > { t `Cookie preferences` } </ a > </ p >
161
+ < div className = 'footer-parent-links' >
162
+ < span >
163
+ < a
164
+ className = 'footer-link'
165
+ href = 'https://www.redhat.com/en/about/privacy-policy'
166
+ > { t `Privacy statement` } </ a >
167
+ </ span >
168
+ < span >
169
+ < a
170
+ className = 'footer-link'
171
+ href = 'https://www.redhat.com/en/about/terms-use'
172
+ > { t `Terms of use` } </ a >
173
+ </ span >
174
+ < span >
175
+ < a
176
+ className = 'footer-link'
177
+ href = 'https://www.redhat.com/en/about/all-policies-guidelines'
178
+ > { t `All policies and guidelines` } </ a >
179
+ </ span >
180
+ < span >
181
+ < a
182
+ className = 'footer-link'
183
+ href = 'https://www.redhat.com/en/about/digital-accessibility'
184
+ > { t `Digital accessibility` } </ a >
185
+ </ span >
186
+ < span >
187
+ < a
188
+ className = 'footer-link'
189
+ href = '#'
190
+ > { t `Cookie preferences` } </ a >
191
+ </ span >
153
192
</ div >
154
193
</ React . Fragment >
155
194
}
0 commit comments