-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: adding usage text Co-authored-by: marvinLaubenstein <[email protected]>
- Loading branch information
1 parent
5c942ad
commit 09eb2f3
Showing
20 changed files
with
296 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+32.6 KB
...ic/assets/3_components/beta-brand-header/1_DE_brandheader_brandbar_standard.png
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
BIN
+30.5 KB
...ic/assets/3_components/beta-brand-header/1_EN_brandheader_brandbar_standard.png
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
BIN
+29.8 KB
...public/assets/3_components/beta-brand-header/2_DE_brandheader_brandbar_slim.png
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
BIN
+27.6 KB
...public/assets/3_components/beta-brand-header/2_EN_brandheader_brandbar_slim.png
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
BIN
+7.5 KB
.../public/assets/3_components/beta-brand-header/3_brandheader_brandbar_subtle.png
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
BIN
+21.6 KB
...ublic/assets/3_components/beta-brand-header/4_brandheader_brandbar_elements.png
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
BIN
+53 KB
...ue/public/assets/3_components/beta-brand-header/5_brandheader_nav4_megamenu.png
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
BIN
+114 KB
...k-vue/public/assets/3_components/beta-brand-header/6_brandheader_nav_mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
124 changes: 124 additions & 0 deletions
124
...rybook-vue/stories/components/beta-brand-header-navigation/beta-brand-header.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
<div style="display: inline-flex; align-items: center; justify-content: space-between; width: 100%;"> | ||
<h1>Brand Header & Navigation</h1> | ||
<img src="assets/beta.png" alt="Beta Component" /> | ||
</div> | ||
|
||
The brand header identifies our brand and the purpose of a website in seconds. It makes Telekom websites instantly recognizable and ensures a consistent experience for all our products and services. | ||
|
||
## General | ||
|
||
The brand header is the core component for carrying our customers into the world of Deutsche Telekom. The logo on a Magenta background clearly identifies our brand. When scrolling down the page on desktops, the brand bar reduces in size, leaving room for navigation and content. | ||
|
||
## Basic types | ||
|
||
<br/> | ||
|
||
### Standard | ||
|
||
The standard brand header contains all available elements and Telekom links. Scrolling hides the meta navigation and language selector. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/1_EN_brandheader_brandbar_standard.png) | ||
|
||
### Slim | ||
|
||
<div style="display: flex; width: 100%; border-radius: 3px; background-color: rgb(241, 241, 239); padding: 16px 16px 14px 20px;"> | ||
<div style="padding-top:1px"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="40px" height="24px"><path fill-rule="evenodd" d="M12 1c6.1 0 11 4.9 11 11s-4.9 11-11 11S1 18.1 1 12 5.9 1 12 1zm0 1.5c-5.25 0-9.5 4.25-9.5 9.5s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5-4.25-9.5-9.5-9.5zm1 8V17h-2v-6.5h2zm-1-4A1.25 1.25 0 1112 9a1.25 1.25 0 010-2.5z"></path></svg> | ||
</div> | ||
<div style="margin-top: 4px;"> | ||
**This component will be available soon.** | ||
</div> | ||
</div> | ||
|
||
The slim brand header contains neither the meta navigation nor the language selector. Scrolling only reduces the height of the component. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/2_EN_brandheader_brandbar_slim.png) | ||
|
||
### Subtle | ||
|
||
<div style="display: flex; width: 100%; border-radius: 3px; background-color: rgb(241, 241, 239); padding: 16px 16px 14px 20px;"> | ||
<div style="padding-top:1px"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="40px" height="24px"><path fill-rule="evenodd" d="M12 1c6.1 0 11 4.9 11 11s-4.9 11-11 11S1 18.1 1 12 5.9 1 12 1zm0 1.5c-5.25 0-9.5 4.25-9.5 9.5s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5-4.25-9.5-9.5-9.5zm1 8V17h-2v-6.5h2zm-1-4A1.25 1.25 0 1112 9a1.25 1.25 0 010-2.5z"></path></svg> | ||
</div> | ||
<div style="margin-top: 4px;"> | ||
**This component will be available soon.** | ||
</div> | ||
</div> | ||
|
||
The subtle brand header has no main navigation or features and is pinned to the top of the screen. It doesn’t use a shadow to stand out from the page content or change when scrolling. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/3_brandheader_brandbar_subtle.png) | ||
|
||
## Elements | ||
|
||
![Image Name](assets/3_components/beta-brand-header/4_brandheader_brandbar_elements.png) | ||
|
||
### Brand area with logo (1) (required) | ||
|
||
The logo and Magenta background are required for any Telekom webpage and can’t be changed. By default, the logo is linked to the Telekom homepage or the entry point into the current process. | ||
|
||
### Portal name (2) (optional) | ||
|
||
Name of the product or service. | ||
|
||
### External meta navigation (3) (optional) | ||
|
||
Place other global links to Telekom destinations outside the current website here and enable switching between private and business customers. | ||
|
||
### Internal meta navigation (4) (optional) | ||
|
||
Internal links (e.g., settings and contact). | ||
|
||
### Language selector (5) (optional) | ||
|
||
Use country abbreviations as links if there are only a few languages. If the content is available in more than three languages, use a dropdown (not yet available in this component). | ||
|
||
### Primary navigation (6) | ||
|
||
The primary navigation contains all items from the first navigation level. | ||
|
||
**Functions (7)** | ||
|
||
Global functions such as search, shopping cart, or login are listed here. The login is always on the right side. If possible, add a label to the icons. | ||
|
||
## Size | ||
|
||
Different sizes are defined for the various break points. | ||
|
||
## Navigation | ||
|
||
**Mega-Menü** | ||
|
||
The mega menu is suitable for a flat information architecture. It offers a good overview within a category, but the depth is limited to three levels. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/5_brandheader_nav4_megamenu.png) | ||
|
||
**Dropdown navigation** | ||
|
||
<div style="display: flex; width: 100%; border-radius: 3px; background-color: rgb(241, 241, 239); padding: 16px 16px 14px 20px;"> | ||
<div style="padding-top:1px"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="40px" height="24px"><path fill-rule="evenodd" d="M12 1c6.1 0 11 4.9 11 11s-4.9 11-11 11S1 18.1 1 12 5.9 1 12 1zm0 1.5c-5.25 0-9.5 4.25-9.5 9.5s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5-4.25-9.5-9.5-9.5zm1 8V17h-2v-6.5h2zm-1-4A1.25 1.25 0 1112 9a1.25 1.25 0 010-2.5z"></path></svg> | ||
</div> | ||
<div style="margin-top: 4px;"> | ||
**This component will be available soon.** | ||
</div> | ||
</div> | ||
|
||
The dropdown navigation can accommodate several levels of navigation and different depths within a navigation tree. As a general rule, the less levels the better. | ||
|
||
**Mobile navigation** | ||
|
||
Small viewports only have one type of navigation. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/6_brandheader_nav_mobile.png) | ||
|
||
## Beta components | ||
|
||
This component is still in the beta phase. When testing it, keep in mind that it may not have gone through all quality control measures, and it may not yet have WCAG accessibility certification. There may be changes to this component in the future. | ||
|
||
## Related components | ||
|
||
[Breadcrumb, ](?path=/usage/components-breadcrumb--standard) | ||
[Sidebar Navigation, ](?path=/usage/components-sidebar-navigation--standard) | ||
[Tab Navigation, ](?path=/usage/components-tab-navigation--text-icon) | ||
[Accordion](?path=/usage/components-accordion--standard) |
125 changes: 125 additions & 0 deletions
125
...ook-vue/stories/components/beta-brand-header-navigation/beta-brand-header_de.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
<div style="display: inline-flex; align-items: center; justify-content: space-between; width: 100%;"> | ||
<h1>Brand Header & Navigation</h1> | ||
<img src="assets/beta.png" alt="Beta Component" /> | ||
</div> | ||
|
||
Der Brand Header vermittelt Absender und Angebot einer Webseite auf einen Blick. Er macht Telekom Webseiten für Nutzer\*innen wiedererkennbar und bietet ein einheitliches Erlebnis für alle unsere Produkte und Services. | ||
|
||
## Allgemein | ||
|
||
Der Brand Header ist die zentrale Komponente für den Einstieg in die Markenwelt der Deutschen Telekom. Das Logo auf magentafarbenem Grund kennzeichnet unsere Marke eindeutig. Beim Scrollen der Seite auf Desktop-Geräten verkleinert sich der Header und gibt Raum für den Content der Seite. | ||
|
||
## Basistypen | ||
|
||
<br/> | ||
|
||
### Standard | ||
|
||
Der Brand Header Standard enthält alle verfügbaren Elemente und Telekom Links. | ||
Im gescrollten Zustand sind die Meta-Navigation und das Sprachwechsel-Element ausgeblendet. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/1_DE_brandheader_brandbar_standard.png) | ||
|
||
### Brand Header Slim | ||
|
||
<div style="display: flex; width: 100%; border-radius: 3px; background-color: rgb(241, 241, 239); padding: 16px 16px 14px 20px;"> | ||
<div style="padding-top:1px"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="40px" height="24px"><path fill-rule="evenodd" d="M12 1c6.1 0 11 4.9 11 11s-4.9 11-11 11S1 18.1 1 12 5.9 1 12 1zm0 1.5c-5.25 0-9.5 4.25-9.5 9.5s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5-4.25-9.5-9.5-9.5zm1 8V17h-2v-6.5h2zm-1-4A1.25 1.25 0 1112 9a1.25 1.25 0 010-2.5z"></path></svg> | ||
</div> | ||
<div style="margin-top: 4px;"> | ||
**Diese Komponente ist bald verfügbar** | ||
</div> | ||
</div> | ||
|
||
Der Brand Header Slim enthält weder Meta-Navigation noch Sprachwechsel. Beim Scrollen reduziert sich lediglich die Höhe der Komponente. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/2_DE_brandheader_brandbar_slim.png) | ||
|
||
### Brand Header Subtle | ||
|
||
<div style="display: flex; width: 100%; border-radius: 3px; background-color: rgb(241, 241, 239); padding: 16px 16px 14px 20px;"> | ||
<div style="padding-top:1px"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="40px" height="24px"><path fill-rule="evenodd" d="M12 1c6.1 0 11 4.9 11 11s-4.9 11-11 11S1 18.1 1 12 5.9 1 12 1zm0 1.5c-5.25 0-9.5 4.25-9.5 9.5s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5-4.25-9.5-9.5-9.5zm1 8V17h-2v-6.5h2zm-1-4A1.25 1.25 0 1112 9a1.25 1.25 0 010-2.5z"></path></svg> | ||
</div> | ||
<div style="margin-top: 4px;"> | ||
**Diese Komponente ist bald verfügbar** | ||
</div> | ||
</div> | ||
|
||
Der Brand Header Subtle hat keine Hauptnavigation oder Funktionen und ist am oberen Bildschirmrand fixiert. Er hebt sich nicht durch einen Schatten vom Inhalt der Seite ab oder verändert sich beim Scrollen. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/3_brandheader_brandbar_subtle.png) | ||
|
||
## Elemente | ||
|
||
![Image Name](assets/3_components/beta-brand-header/4_brandheader_brandbar_elements.png) | ||
|
||
### Brand Area mit Logo (1) (verpflichtend) | ||
|
||
Das Logo und der magentafarbene Hintergrund sind für jede Seite der Telekom verbindlich und können nicht verändert werden. Das Logo ist standardmäßig mit der Telekom Homepage verlinkt oder dem Einstiegspunkt in den aktuellen Prozess. | ||
|
||
### Portalname (2) (optional) | ||
|
||
Name des Produkts oder Services. | ||
|
||
### Meta-Navigation (3) (optional) | ||
|
||
Platziere hier globale Links zu Telekom Inhalten außerhalb der Webseite und ermögliche den Wechsel zwischen Privat- und Geschäftskund\*innen. | ||
|
||
### Meta-Navigation (4) (optional) | ||
|
||
Interne Links (zum Beispiel Einstellungen und Kontakt). | ||
|
||
### Sprachwechsel-Element (5) (optional) | ||
|
||
Verwende Länderkürzel als Links bei wenigen Sprachen. Ist der Inhalt in mehr als drei Sprachen, nutze ein Dropdown – in dieser Komponente noch nicht verfügbar. | ||
|
||
### Hauptnavigation (6) | ||
|
||
Die Hauptnavigation enthält alle Navigationspunkte der ersten Ebene. | ||
|
||
#### Funktionen (7) | ||
|
||
Hier sind globale Funktionen wie Suche, Warenkorb oder Login aufgeführt. Der Login befindet sich dabei immer rechts. Ergänze die Icons wenn möglich mit einem Label. | ||
|
||
## Größen | ||
|
||
Für die verschiedenen Breakpoints sind unterschiedliche Größen definiert. | ||
|
||
## Navigation | ||
|
||
**Mega-Menü** | ||
|
||
Das Mega-Menü nutzt du am besten für eine flache Informationsarchitektur. Es bietet eine gute Übersicht innerhalb einer Kategorie. Die Ebenentiefe ist allerdings auf drei Ebenen begrenzt. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/5_brandheader_nav4_megamenu.png) | ||
|
||
**Dropdown-Navigation** | ||
|
||
<div style="display: flex; width: 100%; border-radius: 3px; background-color: rgb(241, 241, 239); padding: 16px 16px 14px 20px;"> | ||
<div style="padding-top:1px"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="40px" height="24px"><path fill-rule="evenodd" d="M12 1c6.1 0 11 4.9 11 11s-4.9 11-11 11S1 18.1 1 12 5.9 1 12 1zm0 1.5c-5.25 0-9.5 4.25-9.5 9.5s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5-4.25-9.5-9.5-9.5zm1 8V17h-2v-6.5h2zm-1-4A1.25 1.25 0 1112 9a1.25 1.25 0 010-2.5z"></path></svg> | ||
</div> | ||
<div style="margin-top: 4px;"> | ||
**Diese Komponente ist bald verfügbar** | ||
</div> | ||
</div> | ||
|
||
Die Dropdown-Navigation eignet sich für Webseiten mit umfangreicher Seitenarchitektur. Sie kann mehrere Hierarchieebenen innerhalb des Navigationsbaums darstellen. Generell gilt: je weniger Ebenen, desto besser. | ||
|
||
**Mobile Navigation** | ||
|
||
Auf kleinen Viewports gibt es nur eine Art der Navigation. | ||
|
||
![Image Name](assets/3_components/beta-brand-header/6_brandheader_nav_mobile.png) | ||
|
||
## Beta-Komponente | ||
|
||
Diese Komponente befindet sich noch im Beta-Stadium. Wenn du sie testest, bedenke, dass sie möglicherweise noch nicht alle Qualitätskontrollmaßnahmen durchlaufen hat und noch keine WCAG-Zertifizierung zur Barrierefreiheit vorliegt. In Zukunft kann es zu Änderungen an dieser Komponente kommen. | ||
|
||
## Verwandte Komponenten | ||
|
||
[Breadcrumb, ](?path=/usage/components-breadcrumb--standard) | ||
[Sidebar-Navigation, ](?path=/usage/components-sidebar-navigation--standard) | ||
[Tab-Navigation, ](?path=/usage/components-tab-navigation--text-icon) | ||
[Accordion](?path=/usage/components-accordion--standard) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-8.98 KB
(75%)
...nd-header-visual-spec-js-brand-header-light-default-mega-menu-states-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.96 KB
(76%)
...nd-header-visual-spec-js-brand-header-light-default-mega-menu-states-2-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.