Skip to content

feat: added version 3 microsite #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# db-ui.github.io

Hosting our central public overview page

## Local development

`npx browser-sync start --server --files "styles/*.css,*.html"`

## Deutsche Bahn brand

As we'd like to perfectly support our users and customers on their digital journey, the usage of Deutsche Bahn brand and trademarks are bound to clear guidelines and restrictions even when being used with the code that we're providing with this product.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/custom/accessibility.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/custom/adaptive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/custom/box.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/custom/efficiency.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions assets/custom/peace-in-a-box.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions assets/fonts/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Quick summary and translation from the license agreement provided at Deutsche Bahn Marketingportal (https://marketingportal.extranet.deutschebahn.com/marketingportal/Lizenzvereinbarung-ueber-die-Nutzung-der-DB-Type-Schriftenfamilie-9693166):
_You're only allowed to use the font in the context of your work at Deutsche Bahn or to fulfill orders and/or services, that are bound to contracts with Deutsche Bahn. Any other usage especially for private purposes or unintended third parties is strictly prohibited._

Please keep in mind that the "Lizenzvereinbarung über die Nutzung der DB Type Schriftenfamilie" (https://marketingportal.extranet.deutschebahn.com/marketingportal/Lizenzvereinbarung-ueber-die-Nutzung-der-DB-Type-Schriftenfamilie-9693166, german, you need a registration/login) are actually legally binding and this simple and translated excerpt is only giving you a quick hint regarding the whole license agreement; please consult that document for any further license questions and regulations.
Binary file added assets/fonts/dbscreenhead-black.woff2
Binary file not shown.
Binary file added assets/fonts/dbscreenhead-light.woff2
Binary file not shown.
Binary file added assets/fonts/dbscreenhead-regular.woff2
Binary file not shown.
Binary file added assets/fonts/dbscreensans-bold.woff2
Binary file not shown.
Binary file not shown.
Binary file added assets/fonts/dbscreensans-medium.woff2
Binary file not shown.
Binary file added assets/fonts/dbscreensans-regular.woff2
Binary file not shown.
Binary file added assets/fonts/dbscreensans-semibold.woff2
Binary file not shown.
Binary file added assets/fonts/dbscreensanscond-bold.woff2
Binary file not shown.
Binary file added assets/fonts/dbscreensanscond-regular.woff2
Binary file not shown.
Binary file added assets/fonts/secondary/dbscreennews-bold.woff2
Binary file not shown.
Binary file not shown.
23 changes: 23 additions & 0 deletions assets/icons/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Icons

This icon package contains all functional and illustrative icons that are provided in the DB UX Design System. The icons can also be found individually in the icon libraries of the marketing portal:
- [Functional Icons](https://marketingportal.extranet.deutschebahn.com/marketingportal/Marke-und-Design/Basiselemente/Icons/Icon-Bibliotheken/Bibliothek-Funktionale-Icons)
- [Illustrative Icons](https://marketingportal.extranet.deutschebahn.com/marketingportal/Marke-und-Design/Basiselemente/Icons/Icon-Bibliotheken/Bibliothek-Illustrative-Icons)

## Dev related: How to provide these icons
### Modifications for SVGs

We process the following changes:

- Minifications with [`ImageOptim`](https://imageoptim.com/mac)
- Adding some contents within the SVGs (these assets might get exported correctly in the future)
- CSS variables, add `style`-attribute next to the existing `fill`-attribute:
- `fill="#282D37" style="var(--db-icon-color, currentColor)"`
- `fill="#55b9e6" style="var(--db-icon-color, #55b9e6)"`
- `fill="#EC0016" style="var(--db-icon-pulse-color, #EC0016)"`
- `fill="#78be14" style="var(--db-icon-pulse-color, #78be14)"`
- `id`-Attribute (generic `icon` id within all SVG files)

### Icon font generation

We've documented those necessary steps within our [docs folder](../../packages/foundations/docs/Icons.md).
Binary file added assets/icons/functional/fonts/all/db-ux.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/icons/functional/fonts/solid/db-ux.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/functional/images/action/db_ic_add_16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/functional/images/action/db_ic_add_20.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/functional/images/action/db_ic_add_24.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/functional/images/action/db_ic_add_32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading