Skip to content

Commit

Permalink
Merge branch 'main' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hjonin committed Jan 22, 2024
2 parents 3075eb6 + 364c80a commit 226fe69
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
7 changes: 4 additions & 3 deletions _includes/components/tile.njk
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
{% if tile.pictogram %}
<div class="fr-tile__header">
<div class="fr-tile__pictogram">
{% set pictogramUrl %}/artwork/pictograms/{{ tile.pictogram }}{% endset %}
<svg aria-hidden="true" class="fr-artwork" viewBox="0 0 80 80" width="80px" height="80px">
<use class="fr-artwork-decorative" href="/artwork/pictograms/{{ tile.pictogram }}#artwork-decorative"></use>
<use class="fr-artwork-minor" href="/artwork/pictograms/{{ tile.pictogram }}#artwork-minor"></use>
<use class="fr-artwork-major" href="/artwork/pictograms/{{ tile.pictogram }}#artwork-major"></use>
<use class="fr-artwork-decorative" href="{{ pictogramUrl | htmlBaseUrl }}#artwork-decorative"></use>
<use class="fr-artwork-minor" href="{{ pictogramUrl | htmlBaseUrl }}#artwork-minor"></use>
<use class="fr-artwork-major" href="{{ pictogramUrl | htmlBaseUrl }}#artwork-major"></use>
</svg>
</div>
</div>
Expand Down
18 changes: 9 additions & 9 deletions _includes/templates/display.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<svg xmlns="http://www.w3.org/2000/svg" class="fr-artwork" width="80px"
height="80px" viewBox="0 0 80 80">
<use class="fr-artwork-decorative"
xlink:href="{{ "/artwork/light.svg#artwork-decorative" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/light.svg" | htmlBaseUrl }}#artwork-decorative"></use>
<use class="fr-artwork-minor"
xlink:href="{{ "/artwork/light.svg#artwork-minor" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/light.svg" | htmlBaseUrl }}#artwork-minor"></use>
<use class="fr-artwork-major"
xlink:href="{{ "/artwork/light.svg#artwork-major" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/light.svg" | htmlBaseUrl }}#artwork-major"></use>
</svg>
</div>
</div>
Expand All @@ -39,11 +39,11 @@
<svg xmlns="http://www.w3.org/2000/svg" class="fr-artwork" width="80px"
height="80px" viewBox="0 0 80 80">
<use class="fr-artwork-decorative"
xlink:href="{{ "/artwork/dark.svg#artwork-decorative" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/dark.svg" | htmlBaseUrl }}#artwork-decorative"></use>
<use class="fr-artwork-minor"
xlink:href="{{ "/artwork/dark.svg#artwork-minor" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/dark.svg" | htmlBaseUrl }}#artwork-minor"></use>
<use class="fr-artwork-major"
xlink:href="{{ "/artwork/dark.svg#artwork-major" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/dark.svg" | htmlBaseUrl }}#artwork-major"></use>
</svg>
</div>
</div>
Expand All @@ -57,11 +57,11 @@
<svg xmlns="http://www.w3.org/2000/svg" class="fr-artwork" width="80px"
height="80px" viewBox="0 0 80 80">
<use class="fr-artwork-decorative"
xlink:href="{{ "/artwork/system.svg#artwork-decorative" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/system.svg" | htmlBaseUrl }}#artwork-decorative"></use>
<use class="fr-artwork-minor"
xlink:href="{{ "/artwork/system.svg#artwork-minor" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/system.svg" | htmlBaseUrl }}#artwork-minor"></use>
<use class="fr-artwork-major"
xlink:href="{{ "/artwork/system.svg#artwork-major" | htmlBaseUrl }}"></use>
xlink:href="{{ "/artwork/system.svg" | htmlBaseUrl }}#artwork-major"></use>
</svg>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions content/404.njk
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ eleventyExcludeFromCollections: true
<div class="fr-col-12 fr-col-md-3 fr-col-offset-md-1 fr-px-6w fr-px-md-0 fr-py-0">
<svg xmlns="http://www.w3.org/2000/svg" class="fr-responsive-img fr-artwork" aria-hidden="true" width="160"
height="200" viewBox="0 0 160 200">
<use class="fr-artwork-motif" href="/artwork/background/ovoid.svg#artwork-motif"></use>
<use class="fr-artwork-background" href="/artwork/background/ovoid.svg#artwork-background"></use>
<use class="fr-artwork-motif" href="{{ "/artwork/background/ovoid.svg" | htmlBaseUrl }}#artwork-motif"></use>
<use class="fr-artwork-background" href="{{ "/artwork/background/ovoid.svg" | htmlBaseUrl }}#artwork-background"></use>
<g transform="translate(40, 60)">
<use class="fr-artwork-decorative"
href="/artwork/pictograms/system/technical-error.svg#artwork-decorative"></use>
<use class="fr-artwork-minor" href="/artwork/pictograms/system/technical-error.svg#artwork-minor"></use>
<use class="fr-artwork-major" href="/artwork/pictograms/system/technical-error.svg#artwork-major"></use>
href="{{ "/artwork/pictograms/system/technical-error.svg" | htmlBaseUrl }}#artwork-decorative"></use>
<use class="fr-artwork-minor" href="{{ "/artwork/pictograms/system/technical-error.svg" | htmlBaseUrl }}#artwork-minor"></use>
<use class="fr-artwork-major" href="{{ "/artwork/pictograms/system/technical-error.svg" | htmlBaseUrl }}#artwork-major"></use>
</g>
</svg>
</div>
Expand Down

0 comments on commit 226fe69

Please sign in to comment.