Skip to content

Commit 7ddbcd7

Browse files
committed
Fix links
1 parent 778b178 commit 7ddbcd7

32 files changed

+54
-72
lines changed

packages/react-renderer-demo/src/components/common/example-link.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const ExampleLink = ({ to, text = 'To example' }) => {
1515
return (
1616
<React.Fragment>
1717
<div style={{ float: 'right' }}>
18-
<RouterLink href={`/component-example/${to}`}>
19-
<a className={classes.toExampleLink} href={`/component-example/${to}`}>
18+
<RouterLink href={`/mappers/${to}`}>
19+
<a className={classes.toExampleLink} href={`/mappers/${to}`}>
2020
<Button color="primary">{text}</Button>
2121
</a>
2222
</RouterLink>

packages/react-renderer-demo/src/components/docsearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const DocSearch = () => {
5656
const resultUrl = new URL(suggestion.url);
5757

5858
let query = '';
59-
if (resultUrl.pathname.startsWith('/component-example/')) {
59+
if (resultUrl.pathname.startsWith('/mappper/')) {
6060
['mui', 'pf4', 'pf3'].find((mapper) => {
6161
if (resultUrl.hash.includes(mapper)) {
6262
query = `?mapper=${mapper}`;

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,22 @@ const buildFeatures = [
8989
{
9090
text: 'Multiple provided libraries - MaterialUI included!',
9191
Icon: LocalLibraryIcon,
92-
link: '/renderer/component-api'
92+
link: '/mappers/component-api'
9393
},
9494
{
9595
text: 'Validation - basic types are provided, supports async validators!',
9696
Icon: VerifiedUserIcon,
97-
link: '/renderer/validators'
97+
link: '/schema/introduction#validate'
9898
},
9999
{
100100
text: 'Conditions - hide and modify fields according to values of other fields!',
101101
Icon: PlaylistAddCheckIcon,
102-
link: '/renderer/condition'
102+
link: '/schema/introduction#condition'
103103
},
104104
{
105105
text: 'Fully customizable - you can use any components you are using right now!',
106106
Icon: EditAttributesIcon,
107-
link: '/renderer/component-mapping'
107+
link: '/mappers/custom-mapper'
108108
},
109109
{
110110
text: 'Online editor - you can build your form using comfy DnD!',

packages/react-renderer-demo/src/components/navigation/examples-definitions.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ export const baseExamples = [
1414
{
1515
component: componentTypes.CHECKBOX,
1616
link: componentTypes.CHECKBOX,
17-
prev: {
18-
link: '/renderer/form-template',
19-
label: 'Form Controls'
20-
},
2117
linkText: 'Checkbox'
2218
},
2319
{
@@ -83,14 +79,6 @@ export const baseExamples = [
8379
{
8480
component: componentTypes.WIZARD,
8581
link: componentTypes.WIZARD,
86-
linkText: 'Wizard',
87-
next: {
88-
link: '/releases',
89-
label: 'Releases'
90-
},
91-
prev: {
92-
link: '/component-example/time-picker',
93-
label: 'Time Picker'
94-
}
82+
linkText: 'Wizard'
9583
}
9684
];

packages/react-renderer-demo/src/doc-components/examples-texts/blueprint/blueprint-date-picker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Please check the [original component](https://blueprintjs.com/docs/#datetime/dat
22

33
**Props**
44

5-
DatePicker is wrapped in a form group, so it accepts all [form group props](/renderer/component-api#formgroupwrappedcomponents).
5+
DatePicker is wrapped in a form group, so it accepts all [form group props](/mappers/component-api#formgroupwrappedcomponents).
66

77
|Props|Type|Description|
88
|-----|----|-----------|

packages/react-renderer-demo/src/doc-components/examples-texts/blueprint/blueprint-dual-list-select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ This a custom component with a custom design.
22

33
**Props**
44

5-
Dual list select is wrapped in a form group, so it accepts all [form group props](/renderer/component-api#formgroupwrappedcomponents).
5+
Dual list select is wrapped in a form group, so it accepts all [form group props](/mappers/component-api#formgroupwrappedcomponents).
66

77
|Props|Type|Default|Description|
88
|-----|----|-------|-----------|

packages/react-renderer-demo/src/doc-components/examples-texts/blueprint/blueprint-field-array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ const fields = [
4848

4949
**Custom component**
5050

51-
To implement a custom component, please take a look [here](/renderer/dynamic-fields).
51+
To implement a custom component, please take a look [here](/components/field-array).

packages/react-renderer-demo/src/doc-components/examples-texts/mui/common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
In order to fully leverage material UI styling, this component accepts a number of different props. These props are distributed to respective components.
44

5-
To avoid manually setting common styles and props to each field in schema, please use the [global components props](/renderer/global-component-props) in component mapper.
5+
To avoid manually setting common styles and props to each field in schema, please use the [global components props](/mappers/global-component-props) in component mapper.

packages/react-renderer-demo/src/doc-components/examples-texts/mui/mui-dual-list-select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ This a custom component with a custom design.
22

33
**Props**
44

5-
Dual list select is wrapped in a form group, so it accepts all [form group props](/renderer/component-api#formgroupwrappedcomponents).
5+
Dual list select is wrapped in a form group, so it accepts all [form group props](/mappers/component-api#formgroupwrappedcomponents).
66

77
|Props|Type|Default|Description|
88
|-----|----|-------|-----------|

packages/react-renderer-demo/src/doc-components/examples-texts/mui/mui-field-array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ const fields = [
4646

4747
**Custom component**
4848

49-
To implement a custom component, please take a look [here](/renderer/dynamic-fields).
49+
To implement a custom component, please take a look [here](/components/field-array).

0 commit comments

Comments
 (0)