From 5fced283d80806e7f2b18cc4cfb976594131fabd Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Thu, 12 Jan 2023 08:55:52 +0100 Subject: [PATCH 1/3] feat: added correct legal info Added imprint and data protection principles to sidebar --- .storybook/preview.js | 15 ++++++++------- .../src/legal/datenschutzerklaerung.stories.tsx | 14 ++++++++++++++ .../src/legal/imprint.stories.tsx | 14 ++++++++++++++ 3 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 packages/db-ui-elements-stencil/src/legal/datenschutzerklaerung.stories.tsx create mode 100644 packages/db-ui-elements-stencil/src/legal/imprint.stories.tsx diff --git a/.storybook/preview.js b/.storybook/preview.js index 79969998e..ecfbe0f50 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -19,13 +19,14 @@ export const parameters = { order: [ '00-Intro', ['Welcome', 'Getting Started', 'Frameworks', 'Showcases'], - '01-Layout', - '02-Navigation', - '03-Action', - '04-Data-Display', - '05-Data-Input', - '06-Feedback', - '07-Utility', + '02-Layout', + '03-Navigation', + '04-Action', + '05-Data-Display', + '06-Data-Input', + '07-Feedback', + '08-Utility', + '20-Legal', '99-Development' ] } diff --git a/packages/db-ui-elements-stencil/src/legal/datenschutzerklaerung.stories.tsx b/packages/db-ui-elements-stencil/src/legal/datenschutzerklaerung.stories.tsx new file mode 100644 index 000000000..ff5c34b3d --- /dev/null +++ b/packages/db-ui-elements-stencil/src/legal/datenschutzerklaerung.stories.tsx @@ -0,0 +1,14 @@ +import '../stories/showcase/showcase.css'; + +export default { + title: '20-Legal/Datenschutzerklaerung', + parameters: { + layout: 'fullscreen' + } +}; + +export const datenschutzerklaerung = () => { + return `
+