Skip to content

Commit

Permalink
docs: corrected links (#2726)
Browse files Browse the repository at this point in the history
* docs: corrected links

* refactor: corrected those links
  • Loading branch information
mfranzke authored Aug 22, 2024
1 parent eed6059 commit 108574b
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion e2e/cypress/e2e/00-0-intro/welcome-story.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ context('welcome-page', () => {
contain(2, 0, 'showcases--angular-ng-build');
});
it('Check for Card: React Showcase', function () {
contain(2, 1, 'showcases--react-cra-build');
contain(2, 1, 'showcases--react-vite-build');
});
it('Check for Card: Reactwind Showcase', function () {
contain(2, 2, 'showcases--react-and-tailwind');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';

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

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.
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.

<Canvas>
<db-button>Button</db-button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Readme from './../readme.md?raw';

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.

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.
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.

<Canvas>
<db-checkbox label="Checkbox"></db-checkbox>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Readme from './../readme.md?raw';

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

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.
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.

<Canvas>
<db-icon icon="account"></db-icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';

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

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.
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.

<Canvas>
<db-input label="Semitransparent"></db-input>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';

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

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.
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.

<Canvas>
<db-link href="#">Link</db-link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Readme from './../readme.md?raw';

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.

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.
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.

<Canvas>
<db-radio label="Radio-01" value="radio-01"></db-radio>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';

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

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.
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.

<Canvas>
<db-select label="Semitransparent">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Readme from './../readme.md?raw';

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

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.
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.

<Canvas>
<db-textarea label="Semitransparent"></db-textarea>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import Update from '../../../../../doc/howto-update.md?raw';

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

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

<Markdown>{Update}</Markdown>

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

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

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

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

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

</db-cards>

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

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

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

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

</db-cards>

Expand Down

0 comments on commit 108574b

Please sign in to comment.