Skip to content

Commit 2d38bc1

Browse files
authored
feat: added correct legal info (#843)
Added imprint and data protection principles to sidebar
1 parent c983b8e commit 2d38bc1

File tree

4 files changed

+40
-7
lines changed

4 files changed

+40
-7
lines changed

.storybook/preview.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ export const parameters = {
1919
order: [
2020
'00-Intro',
2121
['Welcome', 'Getting Started', 'Frameworks', 'Showcases'],
22-
'01-Layout',
23-
'02-Navigation',
24-
'03-Action',
25-
'04-Data-Display',
26-
'05-Data-Input',
27-
'06-Feedback',
28-
'07-Utility',
22+
'02-Layout',
23+
'03-Navigation',
24+
'04-Action',
25+
'05-Data-Display',
26+
'06-Data-Input',
27+
'07-Feedback',
28+
'08-Utility',
29+
'20-Legal',
2930
'99-Development'
3031
]
3132
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ This especially relates to (but doesn't exclude further Deutsche Bahn brand asse
7777

7878
Contributions are very welcome, please refer to the [contribution guide](CONTRIBUTING.md).
7979

80+
## Third party acknowledgments – many kudos for that !!!
81+
82+
- [open privacy by opr.vc](https://opr.vc)
83+
8084
## Code of conduct
8185

8286
We as members, contributors, and leaders pledge to make participation in our
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import '../stories/showcase/showcase.css';
2+
3+
export default {
4+
title: '20-Legal/Datenschutzerklaerung',
5+
parameters: {
6+
layout: 'fullscreen'
7+
}
8+
};
9+
10+
export const datenschutzerklaerung = () => {
11+
return `<div class="iframe-container">
12+
<iframe src="https://db-ui.github.io/datenschutzerklaerung.html" height="100%" width="100%" />
13+
</div>`;
14+
};
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import '../stories/showcase/showcase.css';
2+
3+
export default {
4+
title: '20-Legal/Imprint',
5+
parameters: {
6+
layout: 'fullscreen'
7+
}
8+
};
9+
10+
export const imprint = () => {
11+
return `<a href="https://www.dbsystel.de/dbsystel-en/legal-3715942" target="_blank" rel="noopener noreferrer">Imprint</a><script type="text/javascript">
12+
top.location.href = 'https://www.dbsystel.de/dbsystel-en/legal-3715942';
13+
</script>`;
14+
};

0 commit comments

Comments
 (0)