Skip to content

Commit

Permalink
js hinzufügen
Browse files Browse the repository at this point in the history
  • Loading branch information
mcilurzo committed Aug 26, 2024
1 parent aa9d6f1 commit 72a044a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ Komponenten, die den Design- und Entwicklungsprozess beschleunigen, indem sie di
## Ja, Nein oder Jein.
Zusammen entscheiden wir ob Inhalte aufgenommen werden oder nicht. Dieses Quiz soll bei der Fragestellung helfen ob eine Komponente ins Design System gehört oder im Projekt entwickelt werden soll. Bei Zweifel/Unsicherheit: Zögere nicht uns zu kontaktieren. {.lead}

<script src="/assets/js/ux-components/ux-components.esm.js"></script>
<div class="experiment"><questionaire-form></questionaire-form></div>
2 changes: 1 addition & 1 deletion src/de/foundation/colors/base-colors/base-colors.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ order: 1
{%- endfor -%}
</div>
<sbb-title level="2">Kontraste überprüfen</sbb-title>
<script type="module" src="/assets/js/ux-components/ux-components.esm.js"></script>
<script src="/assets/js/ux-components/ux-components.esm.js"></script>
<color-contrast-checker language="de"></color-contrast-checker>
<sbb-title level="2">Farbverhältnisse</sbb-title>
<p class="lead">SBB Webseiten sind in den folgenden Farbverhältnissen zu gestalten. Die Quantitäten sind als Richtwerte zu verstehen – nicht als exakte Regel. Signifikante Abweichungen sind jedoch zu vermeiden. Wenn diese unumgänglich ist eine Prüfung durch die SBB Markenführung notwendig.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ Components that speed up the design and development process by reducing the need
## Yes, no or yes & no.
Together we decide whether content should be included or not. This quiz is intended to help you decide whether a component belongs in the design system or should be developed in the project. In case of doubt/uncertainty: do not hesitate to contact us. {.lead}

<script src="/assets/js/ux-components/ux-components.esm.js"></script>
<div class="experiment"><questionaire-form></questionaire-form></div>
4 changes: 2 additions & 2 deletions src/en/foundation/colors/base-colors/base-colors.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ order: 1
{%- endfor -%}
</div>
<sbb-title level="2">Checking contrasts</sbb-title>
<script type="module" src="/assets/js/ux-components/ux-components.esm.js"></script>
<color-contrast-checker language="en"></color-contrast-checker>
<script src="/assets/js/ux-components/ux-components.esm.js"></script>
<color-contrast-checker language="en"></color-contrast-checker>
<sbb-title level="2">Colour ratios</sbb-title>
<p class="lead">SBB websites are designed with the following colour ratios. The quantities are to be take as guidelines – not as exact regulations – but significant deviations are to be avoided. If this is unavoidable, a check by SBB Brand Management is required.</p>
<div class="color-ratio">
Expand Down
2 changes: 1 addition & 1 deletion src/fr/foundation/colors/base-colors/base-colors.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ order: 1
{%- endfor -%}
</div>
<sbb-title level="2">Présentation accessibilisée</sbb-title>
<script type="module" src="/assets/js/ux-components/ux-components.esm.js"></script>
<script src="/assets/js/ux-components/ux-components.esm.js"></script>
<color-contrast-checker language="fr"></color-contrast-checker>
<sbb-title level="2">Pondération des couleurs</sbb-title>
<p class="lead">Les sites Web des CFF doivent tenir compte des taux de pondération des couleurs indiqués ci-dessous. Les quantités sont données à titre indicatif et n’ont donc pas valeur de règle absolue. Il convient toutefois d’éviter les écarts trop importants. Toute dérogation doit être validée par l’unité Gestion de la marque CFF.</p>
Expand Down
2 changes: 1 addition & 1 deletion src/it/foundation/colors/base-colors/base-colors.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ order: 1
{%- endfor -%}
</div>
<sbb-title level="2">Controllare i contrasti</sbb-title>
<script type="module" src="/assets/js/ux-components/ux-components.esm.js"></script>
<script src="/assets/js/ux-components/ux-components.esm.js"></script>
<color-contrast-checker language="it"></color-contrast-checker>
<sbb-title level="2">Ponderazione dei colori</sbb-title>
<p class="lead">I siti web delle FFS vanno creati con la seguente ponderazione dei colori. Le quantità sono da intendersi come valori indicativi e non come una regola esatta. Vanno tuttavia evitati scostamenti significativi. Qualora questi ultimi fossero indispensabili, occorre richiedere una verifica da parte di Gestione della marca FFS.</p>
Expand Down

0 comments on commit 72a044a

Please sign in to comment.