Skip to content

Commit 108574b

Browse files
authored
docs: corrected links (#2726)
* docs: corrected links * refactor: corrected those links
1 parent eed6059 commit 108574b

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

e2e/cypress/e2e/00-0-intro/welcome-story.cy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ context('welcome-page', () => {
3131
contain(2, 0, 'showcases--angular-ng-build');
3232
});
3333
it('Check for Card: React Showcase', function () {
34-
contain(2, 1, 'showcases--react-cra-build');
34+
contain(2, 1, 'showcases--react-vite-build');
3535
});
3636
it('Check for Card: Reactwind Showcase', function () {
3737
contain(2, 2, 'showcases--react-and-tailwind');

packages/db-ui-elements-stencil/src/components/db-button/stories/button.intro.stories.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';
66

77
<db-headline variant="1">&lt;db-button&gt;</db-headline>
88

9-
The `<db-button></db-button>` element represents a clickable button, used to submit forms or anywhere in a document for accessible, standard button functionality. Most of attributes are used in the same way as with a native button. You can try out on <a href="/story/db-button--live-demo">Button Live Demo</a> Page.
9+
The `<db-button></db-button>` element represents a clickable button, used to submit forms or anywhere in a document for accessible, standard button functionality. Most of attributes are used in the same way as with a native button. You can try out on [Button Live Demo](?path=/story/db-button--live-demo) Page.
1010

1111
<Canvas>
1212
<db-button>Button</db-button>

packages/db-ui-elements-stencil/src/components/db-checkbox/stories/db-checkbox.intro.stories.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Readme from './../readme.md?raw';
88

99
The `<db-checkbox></db-checkbox>` represents a two-state control that represents the element's checkedness state. If the element's checkedness state is true, the control represents a positive selection, and if it is false, a negative selection.
1010

11-
Most attributes are used in the same way as with a native checkbox. You can try out on <a href="/story/db-checkbox--live-demo">Checkbox Live Demo</a> Page.
11+
Most attributes are used in the same way as with a native checkbox. You can try out on [Checkbox Live Demo](?path=/story/db-checkbox--live-demo) Page.
1212

1313
<Canvas>
1414
<db-checkbox label="Checkbox"></db-checkbox>

packages/db-ui-elements-stencil/src/components/db-icon/stories/db-icon.intro.stories.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Readme from './../readme.md?raw';
77

88
<db-headline variant="1">&lt;db-icon&gt;</db-headline>
99

10-
The `<db-icon></db-icon>` is based on the design language of Deutsche Bahn. You can try out on <a href="/story/db-icon--live-demo">Icon Live Demo</a> Page.
10+
The `<db-icon></db-icon>` is based on the design language of Deutsche Bahn. You can try out on [Icon Live Demo](?path=/story/db-icon--live-demo) Page.
1111

1212
<Canvas>
1313
<db-icon icon="account"></db-icon>

packages/db-ui-elements-stencil/src/components/db-input/stories/db-input.intro.stories.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';
66

77
<db-headline variant="1">&lt;db-input&gt;</db-headline>
88

9-
The input element represents a one line plain text edit control for the element's value. Most of attributes are used in the same way as with a native input. You can try out on <a href="/story/db-input--live-demo">Input Live Demo</a> Page.
9+
The input element represents a one line plain text edit control for the element's value. Most of attributes are used in the same way as with a native input. You can try out on [Input Live Demo](?path=/story/db-input--live-demo) Page.
1010

1111
<Canvas>
1212
<db-input label="Semitransparent"></db-input>

packages/db-ui-elements-stencil/src/components/db-link/stories/db-link.intro.stories.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';
66

77
<db-headline variant="1">&lt;db-link&gt;</db-headline>
88

9-
The `<db-link></db-link>` element represents a control. With its href attribute, it creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address. Most of attributes are used in the same way as with a native link. You can try out on <a href="/story/db-link--live-demo">Link Live Demo</a> Page.
9+
The `<db-link></db-link>` element represents a control. With its href attribute, it creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address. Most of attributes are used in the same way as with a native link. You can try out on [Link Live Demo](?path=/story/db-link--live-demo) Page.
1010

1111
<Canvas>
1212
<db-link href="#">Link</db-link>

packages/db-ui-elements-stencil/src/components/db-radio/stories/db-radio.intro.stories.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Readme from './../readme.md?raw';
88

99
The `<db-radio></db-radio>` represents a control that, when used in conjunction with other input elements, forms a radio button group in which only one control can have its checkedness state set to true. If the element's checkedness state is true, the control represents the selected control in the group, and if it is false, it indicates a control in the group that is not selected.
1010

11-
Most attributes are used in the same way as with a native radio. You can try out on <a href="/story/db-radio--live-demo">Radio Live Demo</a> Page.
11+
Most attributes are used in the same way as with a native radio. You can try out on [Radio Live Demo](?path=/story/db-radio--live-demo) Page.
1212

1313
<Canvas>
1414
<db-radio label="Radio-01" value="radio-01"></db-radio>

packages/db-ui-elements-stencil/src/components/db-select/stories/db-select.intro.stories.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';
66

77
<db-headline variant="1">&lt;db-select&gt;</db-headline>
88

9-
The `<db-select></db-select>` element represents a control for selecting amongst a set of options. Most of attributes are used in the same way as with a native select. You can try out on <a href="/story/db-select--live-demo">Select Playground</a> Page.
9+
The `<db-select></db-select>` element represents a control for selecting amongst a set of options. Most of attributes are used in the same way as with a native select. You can try out on [Select Playground](?path=/story/db-select--live-demo) Page.
1010

1111
<Canvas>
1212
<db-select label="Semitransparent">

packages/db-ui-elements-stencil/src/components/db-textarea/stories/db-textarea.intro.stories.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';
66

77
<db-headline variant="1">&lt;db-textarea&gt;</db-headline>
88

9-
The textarea element represents a multiline plain text edit control. Most of attributes are used in the same way as with a native textarea. You can try out on <a href="/story/db-textarea--live-demo">Textarea Live Demo</a> Page.
9+
The textarea element represents a multiline plain text edit control. Most of attributes are used in the same way as with a native textarea. You can try out on [Textarea Live Demo](?path=/story/db-textarea--live-demo) Page.
1010

1111
<Canvas>
1212
<db-textarea label="Semitransparent"></db-textarea>

packages/db-ui-elements-stencil/src/stories/intro/getting-started.stories.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import Update from '../../../../../doc/howto-update.md?raw';
1111

1212
There are some different ways to import required files for each framework:
1313

14-
[<db-button variant="secondary-outline">Angular</db-button>](/story/00-intro-frameworks-angular--docs)
15-
[<db-button variant="secondary-outline">JavaScript</db-button>](/story/00-intro-frameworks-javascript--docs)
16-
[<db-button variant="secondary-outline">React</db-button>](/story/00-intro-frameworks-react--docs)
17-
[<db-button variant="secondary-outline">Vue</db-button>](/story/00-intro-frameworks-vue--docs)
14+
[<db-button variant="secondary-outline">Angular</db-button>](?path=/story/00-intro-frameworks-angular--docs)
15+
[<db-button variant="secondary-outline">JavaScript</db-button>](?path=/story/00-intro-frameworks-javascript--docs)
16+
[<db-button variant="secondary-outline">React</db-button>](?path=/story/00-intro-frameworks-react--docs)
17+
[<db-button variant="secondary-outline">Vue</db-button>](?path=/story/00-intro-frameworks-vue--docs)
1818

1919
<Markdown>{Update}</Markdown>
2020

packages/db-ui-elements-stencil/src/stories/intro/welcome.stories.mdx

+9-9
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DB UI Elements is a library, that provides style conform UI components for Deuts
1414
header="Getting Started"
1515
content="How to install and setup your environment and update db-ui-elements"
1616
illustration="home">
17-
</db-card>](/story/00-intro-getting-started--docs)
17+
</db-card>](?path=/story/00-intro-getting-started--docs)
1818

1919
[<db-card
2020
header="GitHub Repository"
@@ -32,25 +32,25 @@ DB UI Elements is a library, that provides style conform UI components for Deuts
3232
header="Angular"
3333
content="How to install db-ui-elements inside your Angular application"
3434
image="./assets/angular.svg">
35-
</db-card>](/story/00-intro-frameworks-angular--docs)
35+
</db-card>](?path=/story/00-intro-frameworks-angular--docs)
3636

3737
[<db-card
3838
header="Pure JavaScript"
3939
content="How to install db-ui-elements inside your JavaScript application"
4040
image="./assets/javascript.svg">
41-
</db-card>](/story/00-intro-frameworks-javascript--docs)
41+
</db-card>](?path=/story/00-intro-frameworks-javascript--docs)
4242

4343
[<db-card
4444
header="React"
4545
content="How to install db-ui-elements inside your React application"
4646
image="./assets/react.svg">
47-
</db-card>](/story/00-intro-frameworks-react--docs)
47+
</db-card>](?path=/story/00-intro-frameworks-react--docs)
4848

4949
[<db-card
5050
header="Vue"
5151
content="How to install db-ui-elements inside your Vue application"
5252
image="./assets/vue.svg">
53-
</db-card>](/story/00-intro-frameworks-vue--docs)
53+
</db-card>](?path=/story/00-intro-frameworks-vue--docs)
5454

5555
</db-cards>
5656

@@ -62,25 +62,25 @@ DB UI Elements is a library, that provides style conform UI components for Deuts
6262
header="Angular NG Build"
6363
content="Angular app including db-ui-elements build with 'ng build'"
6464
image="./assets/angular-showcase.svg">
65-
</db-card>](/story/00-intro-showcases--angular-ng-build)
65+
</db-card>](?path=/story/00-intro-showcases--angular-ng-build)
6666

6767
[<db-card
6868
header="React CRA Build"
6969
content="React app including db-ui-elements build with 'react-scripts build'"
7070
image="./assets/react-showcase.svg">
71-
</db-card>](/story/00-intro-showcases--react-cra-build)
71+
</db-card>](?path=/story/00-intro-showcases--react-vite-build)
7272

7373
[<db-card
7474
header="React + Tailwind"
7575
content="React app including db-ui-elements and tailwind build with 'react-scripts build'"
7676
image="./assets/react-wind-showcase.svg">
77-
</db-card>](/story/00-intro-showcases--react-and-tailwind)
77+
</db-card>](?path=/story/00-intro-showcases--react-and-tailwind)
7878

7979
[<db-card
8080
header="Vue Vite Build"
8181
content="Vue app including db-ui-elements build with 'vite build'"
8282
image="./assets/vue-showcase.svg">
83-
</db-card>](/story/00-intro-showcases--vue-vite-build)
83+
</db-card>](?path=/story/00-intro-showcases--vue-vite-build)
8484

8585
</db-cards>
8686

0 commit comments

Comments
 (0)