@@ -22,6 +22,8 @@ import FormExample from './formExample';
22
22
import MaterialUILogo from '../common/material-logo' ;
23
23
import PF3Logo from '../common/pf3-logo' ;
24
24
import PF4Logo from '../common/pf4-logo' ;
25
+ import BlueprintLogo from '../common/blueprint-logo' ;
26
+ import SuirLogo from '../common/suir-logo' ;
25
27
26
28
import CodeEditor from '@docs/components/code-editor' ;
27
29
@@ -195,6 +197,9 @@ const useStyles = makeStyles((theme) => ({
195
197
} ,
196
198
textBottom : {
197
199
marginBottom : 16
200
+ } ,
201
+ mappersText : {
202
+ marginTop : 16
198
203
}
199
204
} ) ) ;
200
205
@@ -245,32 +250,58 @@ const LandingPageCards = () => {
245
250
Available mappers
246
251
</ Typography >
247
252
< Grid container direction = "row" justify = "space-evenly" >
248
- < Grid item xs = { 12 } md = { 4 } >
253
+ < Grid item xs = { 12 } md = { 4 } xl = { 2 } >
249
254
< Typography variant = "h6" className = { classes . textBottom } >
250
255
MaterialUI
251
256
</ Typography >
252
- < a href = "https://www.npmjs.com/package/@data-driven-forms/mui-component-mapper" rel = "noopener noreferrer" target = "_blank" >
253
- < MaterialUILogo style = { { fontSize : 100 } } />
254
- </ a >
257
+ < RouterLink href = "/mappers/mui-component-mapper" >
258
+ < a href = "/mappers/mui-component-mapper" >
259
+ < MaterialUILogo style = { { fontSize : 100 } } />
260
+ </ a >
261
+ </ RouterLink >
255
262
</ Grid >
256
- < Grid item xs = { 12 } md = { 4 } >
263
+ < Grid item xs = { 12 } md = { 4 } xl = { 2 } >
257
264
< Typography variant = "h6" className = { classes . textBottom } >
258
265
PatternFly 4
259
266
</ Typography >
260
- < a href = "https://www.npmjs.com/package/@data-driven-forms/pf4-component-mapper" rel = "noopener noreferrer" target = "_blank" >
261
- < PF4Logo style = { { fontSize : 200 , height : '50%' } } />
262
- </ a >
267
+ < RouterLink href = "/mappers/pf4-component-mapper" >
268
+ < a href = "/mappers/pf4-component-mapper" >
269
+ < PF4Logo style = { { fontSize : 200 , height : '50%' } } />
270
+ </ a >
271
+ </ RouterLink >
263
272
</ Grid >
264
- < Grid item xs = { 12 } md = { 4 } >
273
+ < Grid item xs = { 12 } md = { 4 } xl = { 2 } >
265
274
< Typography variant = "h6" className = { classes . textBottom } >
266
275
PatternFly 3
267
276
</ Typography >
268
- < a href = "https://www.npmjs.com/package/@data-driven-forms/pf3-component-mapper" rel = "noopener noreferrer" target = "_blank" >
269
- < PF3Logo style = { { fontSize : 100 } } />
270
- </ a >
277
+ < RouterLink href = "/mappers/pf3-component-mapper" >
278
+ < a href = "/mappers/pf3-component-mapper" >
279
+ < PF3Logo style = { { fontSize : 100 } } />
280
+ </ a >
281
+ </ RouterLink >
282
+ </ Grid >
283
+ < Grid item xs = { 12 } md = { 6 } xl = { 2 } >
284
+ < Typography variant = "h6" className = { classes . textBottom } >
285
+ BlueprintJS
286
+ </ Typography >
287
+ < RouterLink href = "/mappers/blueprint-component-mapper" >
288
+ < a href = "/mappers/blueprint-component-mapper" >
289
+ < BlueprintLogo style = { { fontSize : 100 , fill : '#394b59' } } />
290
+ </ a >
291
+ </ RouterLink >
292
+ </ Grid >
293
+ < Grid item xs = { 12 } md = { 6 } xl = { 2 } >
294
+ < Typography variant = "h6" className = { classes . textBottom } >
295
+ Semantic UI
296
+ </ Typography >
297
+ < RouterLink href = "/mappers/suir-component-mapper" >
298
+ < a href = "/mappers/suir-component-mapper" >
299
+ < SuirLogo style = { { fontSize : 100 } } />
300
+ </ a >
301
+ </ RouterLink >
271
302
</ Grid >
272
303
< Grid item xs = { 12 } md = { 8 } >
273
- < Typography variant = "body2" gutterBottom >
304
+ < Typography variant = "body2" gutterBottom className = { classes . mappersText } >
274
305
This list represents a set of provided mappers. Each mapper brings all basic form components from its design system. You can
275
306
immediately use form inputs such as text fields, selects, radios, checkboxes or wizards. However, this selection does not limit you as
276
307
integrating custom coponents is simple as it can be - all it takes is just one hook.
0 commit comments