Skip to content

Commit 89aeafc

Browse files
committed
feat: added initial stack of files
1 parent 37fed31 commit 89aeafc

32 files changed

+1001
-0
lines changed

.github/workflows/default.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Default push workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
init:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: 🛑 Cancel Previous Runs
13+
uses: styfle/[email protected]
14+
15+
- name: ⬇️ Checkout repo
16+
uses: actions/checkout@v4
17+
18+
- name: 🔄 Init Cache Default
19+
uses: ./.github/actions/npm-cache
20+
21+
- name: 📥 Download deps default-npm-cache
22+
if: steps.npm-cache.outputs.cache-hit != 'true'
23+
uses: bahmutov/npm-install@v1
24+
25+
build:
26+
runs-on: ubuntu-latest
27+
needs: [init]
28+
steps:
29+
- name: 🍼 Create pages build
30+
run: npm run build
31+
32+
deploy:
33+
runs-on: ubuntu-latest
34+
if: ${{ github.actor != 'dependabot[bot]' && (github.event.pull_request == null || github.event.pull_request.head.repo.owner.login == 'db-ux-design-system') }}
35+
needs: [build]
36+
steps:
37+
- name: 🥅 Deploy to GH-Pages
38+
uses: peaceiris/actions-gh-pages@v4
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea
2+
/node_modules

.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Global Repository owners
2+
# see https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners for details of syntax
3+

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
11
# db-ux-design-system.github.io
2+
23
Hosting our central public overview page
4+
5+
## Local development
6+
7+
`npx browser-sync start --server --files "styles/*.css,*.html"`
8+
9+
## Deutsche Bahn brand
10+
11+
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.
12+
Deutsche Bahn fully reserves all rights and ownership regarding the Deutsche Bahn brand, even though that we're providing the code of DB UI products free to use and release it under the Apache 2.0 license.
13+
Please have a look at our [brand portal](https://marketingportal.extranet.deutschebahn.com/) for any further questions and whom to contact on any brand issues.
14+
15+
As these assets and visual guidelines are retrieved from our Deutsche Bahn Marketingportal, you'll agree with the ["Allgemeine Nutzungsbedingungen für das DB-Marketingportal" (german)](https://marketingportal.extranet.deutschebahn.com/marketingportal/Nutzungsbedingungen-9702684) in case of using them.
16+
17+
For any usage outside of Deutsche Bahn websites and applications you must remove or replace any Deutsche Bahn brand and design assets as well as protected characteristics and trademarks. We're even also planning to provide a neutral theme that would make it much easier for you to use our product without the trademarks by Deutsche Bahn.
18+
19+
This especially relates to (but doesn't exclude further Deutsche Bahn brand assets) the file `db_logo.svg` that is duplicated in several different places.
20+
21+
## License
22+
23+
This project is licensed under [Apache-2.0](LICENSE), Copyright 2023 by DB Systel GmbH.

assets/LICENSE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
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):
2+
_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._
3+
4+
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.
Loading
Loading
Loading

assets/custom/accessibility.svg

Lines changed: 8 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)