Skip to content

Commit 1640471

Browse files
rvsiaHyperkid123
authored andcommitted
Add missing logos to landing page
1 parent 1b29dc7 commit 1640471

File tree

4 files changed

+67
-14
lines changed

4 files changed

+67
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"private": true,
99
"scripts": {
1010
"bootstrap": "lerna bootstrap",
11-
"build": "lerna run build --ignore @data-driven-forms/react-render-demo",
11+
"build": "lerna run build --ignore @data-driven-forms/react-renderer-demo",
1212
"vendor": "lerna run vendor",
1313
"test": "jest --coverage",
1414
"test:ci": "jest --coverage --runInBand",
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* eslint-disable */
2+
import React from 'react';
3+
import SvgIcon from '@material-ui/core/SvgIcon';
4+
5+
const BlueprintLogo = (props) => (
6+
<SvgIcon height="65" width="76" viewBox="0 0 65 76" role="presentation" {...props}>
7+
<g fillRule="nonzero"><path d="M28.795 2.421l2.177-1.254a4 4 0 0 1 4.039.027l28.032 16.643A4 4 0 0 1 65 21.277v33.446a4 4 0 0 1-1.958 3.44l-28.03 16.644a4 4 0 0 1-4.039.027L2.004 58.154A4 4 0 0 1 0 54.687V21.313a4 4 0 0 1 2.004-3.467l26.79-15.425zm3.175.48l-.499-.867v-1h3.742L32.01 2.878a2.008 2.008 0 0 0-.04.023zM3.002 19.58A2 2 0 0 0 2 21.313v33.374a2 2 0 0 0 1.002 1.733l28.97 16.68a2 2 0 0 0 2.018-.013l28.03-16.644a2 2 0 0 0 .98-1.72V21.277a2 2 0 0 0-.979-1.72L33.99 2.914a2 2 0 0 0-1.98-.036L3.003 19.58z"></path><path d="M34.512 19.74L49 28.435v20.132l-15.984 9.59-.506-.284-14.98-8.427A3 3 0 0 1 16 46.83V28.415l15.497-8.717a3 3 0 0 1 3.015.043zM47 29.567l-13.518-8.11a1 1 0 0 0-1.005-.015L18 29.585V46.83a1 1 0 0 0 .51.871l14.474 8.143L47 47.434V29.566z"></path><path d="M.396 21.602l.97-1.749 26.238 14.545-.97 1.749z"></path><path d="M23.396 34.602l.97-1.749 26.238 14.545-.97 1.749z"></path><path d="M33 20l-16 9v19l16-9V20zm30 0l-16 9v20l16-9V20z"></path><path d="M63 39l-16 9v19l16-9z"></path><path d="M49 47l-16 9v19l16-9z"></path></g>p
8+
</SvgIcon>
9+
);
10+
11+
export default BlueprintLogo;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* eslint-disable */
2+
import React from 'react';
3+
import SvgIcon from '@material-ui/core/SvgIcon';
4+
5+
const SuirLogo = (props) => (
6+
<SvgIcon width="256" height="256" viewBox="0 0 256 256" role="presentation" {...props}>
7+
<path d="M0 0h256v256H0V0z" fill="#34BDB2"/><path d="M168.461 87.041c-13.516-7.842-25.514-14.009-41.21-13.737-8.98.156-16.69 5.037-18.311 13.97-1.509 8.311 5.879 12.921 13.565 15.751 12.747 4.694 23.844 9.65 36.369 14.869 22.769 9.489 34.444 24.856 33.064 44.573-1.756 25.087-16.854 43.08-40.849 49.012-31.354 7.752-61.801-4.056-87.526-20.54 6.493-9.891 14.026-16.643 20.48-26.474 14.862 6.326 26.538 14.874 42.086 16.207 10.963.94 23.385.417 25.848-12.46 2.22-11.612-7.886-17.837-17.743-21.314-11.735-4.139-23.448-9.202-34.956-13.902-21.273-8.689-29.929-25.684-28.472-45.705 0-11.739 9.74-35.466 33.621-42.846 36.692-11.34 56.908.272 83.515 17.371-7.067 9.346-12.5 15.991-19.481 25.225" fill="#FFF"/>
8+
</SvgIcon>
9+
);
10+
11+
export default SuirLogo;

packages/react-renderer-demo/src/components/landing-page/landing-page-cards.js

Lines changed: 44 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import FormExample from './formExample';
2222
import MaterialUILogo from '../common/material-logo';
2323
import PF3Logo from '../common/pf3-logo';
2424
import PF4Logo from '../common/pf4-logo';
25+
import BlueprintLogo from '../common/blueprint-logo';
26+
import SuirLogo from '../common/suir-logo';
2527

2628
import CodeEditor from '@docs/components/code-editor';
2729

@@ -195,6 +197,9 @@ const useStyles = makeStyles((theme) => ({
195197
},
196198
textBottom: {
197199
marginBottom: 16
200+
},
201+
mappersText: {
202+
marginTop: 16
198203
}
199204
}));
200205

@@ -245,32 +250,58 @@ const LandingPageCards = () => {
245250
Available mappers
246251
</Typography>
247252
<Grid container direction="row" justify="space-evenly">
248-
<Grid item xs={12} md={4}>
253+
<Grid item xs={12} md={4} xl={2}>
249254
<Typography variant="h6" className={classes.textBottom}>
250255
MaterialUI
251256
</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>
255262
</Grid>
256-
<Grid item xs={12} md={4}>
263+
<Grid item xs={12} md={4} xl={2}>
257264
<Typography variant="h6" className={classes.textBottom}>
258265
PatternFly 4
259266
</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>
263272
</Grid>
264-
<Grid item xs={12} md={4}>
273+
<Grid item xs={12} md={4} xl={2}>
265274
<Typography variant="h6" className={classes.textBottom}>
266275
PatternFly 3
267276
</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>
271302
</Grid>
272303
<Grid item xs={12} md={8}>
273-
<Typography variant="body2" gutterBottom>
304+
<Typography variant="body2" gutterBottom className={classes.mappersText}>
274305
This list represents a set of provided mappers. Each mapper brings all basic form components from its design system. You can
275306
immediately use form inputs such as text fields, selects, radios, checkboxes or wizards. However, this selection does not limit you as
276307
integrating custom coponents is simple as it can be - all it takes is just one hook.

0 commit comments

Comments
 (0)