Skip to content

Commit

Permalink
Fix icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Feb 13, 2024
1 parent b9348ee commit 3b8dbdf
Show file tree
Hide file tree
Showing 16 changed files with 57 additions and 76 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed the aspect ratio of the hero image to be 5:2
- Selected state of header component changed
- Phase banner font size reduced
- Header component tweaked to more closely align to the global header
- Header component spacing and sizing tweaked to more closely align to the global header
- Header and footer SVG logos changed to use `currentColor` as the foreground colour with a transparent background
- Removed "link" icons from external links in the footer

Expand All @@ -26,8 +26,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Allowed taller images in picture elements on tiny devices
- Fixed focus styles for always-light components (e.g. text inputs) on high contrast themes
- Added link to mailing list in footer
- Added link to the National Archives mailing list in footer
- Added `<title>` to inline SVGs in header and footers
- Added `aria-hidden="true"` to all Font Awesome icons

### Security

Expand Down
2 changes: 1 addition & 1 deletion src/nationalarchives/components/card/fixtures.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
],
"body": "<p>Card body</p>"
},
"html": "<div class=\"tna-card\"><div class=\"tna-card__inner\"><h3 class=\" tna-heading-s tna-card__heading\">Card title</h3><div class=\"tna-card__body\"><ul class=\"tna-card__meta tna-chip-list\"><li class=\"tna-chip-list__item\"><div class=\"tna-chip tna-chip--plain\"><i class=\"fa-solid fa-fw fa-calendar\"></i>24th September 2023</div></li><li class=\"tna-chip-list__item\"><div class=\"tna-chip tna-chip--plain\"><i class=\"fa-solid fa-fw fa-ticket\"></i>From £16</div></li><li class=\"tna-chip-list__item\"><div class=\"tna-chip tna-chip--plain\"><i class=\"fa-solid fa-fw fa-location-dot\"></i>Online</div></li></ul><p>Card body</p></div></div></div>",
"html": "<div class=\"tna-card\"><div class=\"tna-card__inner\"><h3 class=\" tna-heading-s tna-card__heading\">Card title</h3><div class=\"tna-card__body\"><ul class=\"tna-card__meta tna-chip-list\"><li class=\"tna-chip-list__item\"><div class=\"tna-chip tna-chip--plain\"><i class=\"fa-solid fa-fw fa-calendar\" aria-hidden=\"true\"></i>24th September 2023</div></li><li class=\"tna-chip-list__item\"><div class=\"tna-chip tna-chip--plain\"><i class=\"fa-solid fa-fw fa-ticket\" aria-hidden=\"true\"></i>From £16</div></li><li class=\"tna-chip-list__item\"><div class=\"tna-chip tna-chip--plain\"><i class=\"fa-solid fa-fw fa-location-dot\" aria-hidden=\"true\"></i>Online</div></li></ul><p>Card body</p></div></div></div>",
"hidden": false
},
{
Expand Down
6 changes: 3 additions & 3 deletions src/nationalarchives/components/card/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<li class="tna-chip-list__item">
<div class="tna-chip tna-chip--plain">
{%- if item.icon %}
<i class="fa-solid fa-fw fa-{{ item.icon }}"></i>
<i class="fa-solid fa-fw fa-{{ item.icon }}" aria-hidden="true"></i>
{%- endif %}
{{ item.text }}
</div>
Expand All @@ -83,9 +83,9 @@
{%- for item in params.actions %}
<a href="{{ item.href }}" class="tna-card__action{% if params.hrefClasses %} {{ params.hrefClasses }}{% endif %}" {%- if item.title %} title="{{ item.title }}"{% endif %} {%- for attribute, value in params.hrefAttributes %} {{ attribute }}="{{ value }}"{% endfor %}>
{%- if item.brandIcon %}
<i class="fa-brands fa-{{ item.brandIcon }}"></i>
<i class="fa-brands fa-{{ item.brandIcon }}" aria-hidden="true"></i>
{%- elseif item.icon %}
<i class="fa-solid fa-{{ item.icon }}"></i>
<i class="fa-solid fa-{{ item.icon }}" aria-hidden="true"></i>
{%- endif %}
{{ item.text }}
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/nationalarchives/components/footer/fixtures.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/nationalarchives/components/footer/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
<a href="{{ item.href }}" class="tna-footer__social-item-link" {%- if item.title %} title="{{ item.title }}"{% endif %}>
{%- if item.brandIcon or item.icon %}
{%- if item.brandIcon %}
<i class="fa-brands fa-fw fa-{{ item.brandIcon }}"></i>
<i class="fa-brands fa-fw fa-{{ item.brandIcon }}" aria-hidden="true"></i>
{%- else %}
<i class="fa-solid fa-fw fa-{{ item.icon }}"></i>
<i class="fa-solid fa-fw fa-{{ item.icon }}" aria-hidden="true"></i>
{%- endif %}
<span class="tna-footer__social-item-link-text tna-!--visually-hidden">
{{ item.text }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
]
},
"html": "<header class=\"tna-global-header \" data-module=\"tna-global-header\"><div class=\"tna-container tna-global-header__main\"><div class=\"tna-column tna-column--flex-1 tna-column--order-2\"><span class=\"tna-global-header__logo-wrapper\"><a href=\"#/\" class=\"tna-global-header__logo\" title=\"The National Archives - Beta\"><svg xmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" class=\"tna-logo\" style=\"enable-background:new 0 0 160 160\" viewBox=\"0 0 160 160\" width=\"96\" height=\"96\"><title>The National Archives</title><path fill=\"transparent\" d=\"M0 0h160v160H0z\" class=\"tna-logo__background\" /><g class=\"tna-logo__foreground\" fill=\"currentColor\"><path d=\"M1.9 107.2h156.3V158H1.9v-50.8zm0-52.7h156.3v50.8H1.9V54.5zm0-52.6h77.2v50.8H1.9V1.9zm79 0h77.2v50.8H80.9V1.9zm0-1.9H0v160h160V0H80.9z\" /><path d=\"M21.3 19.5h-5.4v-3h14.3v3h-5.4v18.4h-3.5zM31.6 16.5H35v9h8.4v-9h3.4v21.4h-3.4v-9.3H35v9.3h-3.4zM50.9 16.5h12.2v3h-8.8v6.1h7.4v3h-7.4v6.3h8.8v3H50.9zM19.7 69.2h3.8l6.4 12.5c.6 1.1 1.1 2.7 1.6 4h.2c-.2-1.7-.3-3.6-.3-4.8V69.2h3.5v21.4h-3.7l-6.3-12.3c-.7-1.4-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.8 7.9v.5h-3.8c-1-.6-3.6-7.2-4.4-7.8h-2.5v7.8h-3.5v-21.5zM52.9 132.5c0 5.3 1.9 8 4.8 8s4-2 4-5.2l3.5.1c0 .2.1.4.1.6 0 4.4-2.1 7.5-7.5 7.5-5.2 0-8.5-3.9-8.5-11.1 0-7.1 3.3-11 8.5-11 6.4 0 7.5 4.6 7.5 7.2 0 .3 0 .7-.1.9l-3.5.1c0-3.3-1.2-5.2-4-5.2-2.9.2-4.8 2.9-4.8 8.1M68 121.8h3.5v9.1h8.3v-9.1h3.5v21.5h-3.5v-9.4h-8.3v9.4H68zM87.9 121.8h3.5v21.4h-3.5zM94.2 121.8h3.6l3.2 12.3c.5 1.9.8 3.6 1.1 5.6h.2c.3-2 .6-3.7 1.1-5.6l3.2-12.3h3.6l-6.1 21.4H100l-5.8-21.4zM112.7 121.8H125v3.1h-8.8v6h7.4v3h-7.4v6.3h8.8v3.1h-12.3zM130.4 136c0 .2-.1.5-.1.8 0 1.9.8 3.7 3.4 3.7 2.1 0 3.3-1.2 3.3-2.9 0-1.6-.7-2.4-2.2-3l-3.4-1.3c-2.4-.9-4.2-2.4-4.2-5.7 0-3.5 2.3-6.1 6.6-6.1 5.5 0 6.4 3.6 6.4 5.9 0 .3 0 .7-.1 1.1l-3.4.1c0-.2.1-.5.1-.7 0-1.7-.6-3.2-3-3.2-2.1 0-3 1.2-3 2.8 0 1.7.9 2.5 2.2 2.9l3.5 1.3c2.6 1 4.3 2.6 4.3 5.8 0 3.6-2.4 6.1-7 6.1-5.9 0-6.8-3.9-6.8-6.5 0-.3 0-.6.1-1l3.3-.1z\" /></g></svg></a></span></div><div class=\"tna-column tna-column--order-2 tna-global-header__navigation-button-wrapper\"><!-- BUTTON ADDED BY JAVASCRIPT --></div><nav class=\"tna-column tna-column--full-small tna-column--full-tiny tna-column--order-3 tna-global-header__navigation-wrapper\" aria-label=\"Main site navigation\"><ul class=\"tna-global-header__navigation\"><li class=\"tna-global-header__navigation-item\"><a href=\"#/alpha\" class=\"tna-global-header__navigation-item-link\" tabindex=\"0\">Alpha</a></li><li class=\"tna-global-header__navigation-item\"><a href=\"#/beta\" class=\"tna-global-header__navigation-item-link\" tabindex=\"0\">Beta</a></li><li class=\"tna-global-header__navigation-item\"><a href=\"#/gamma\" class=\"tna-global-header__navigation-item-link\" tabindex=\"0\">Gamma</a></li></ul></nav><nav class=\"tna-column tna-column--full tna-column--order-1 tna-column--order-4-small tna-column--order-4-tiny tna-global-header__top-navigation-wrapper\" aria-label=\"Secondary site navigation\"><ul class=\"tna-global-header__top-navigation\"><li class=\"tna-global-header__top-navigation-item\"><a href=\"#/top-1\" class=\"tna-global-header__top-navigation-link\" tabindex=\"0\">Top item 1</a></li><li class=\"tna-global-header__top-navigation-item\"><a href=\"#/top-2\" class=\"tna-global-header__top-navigation-link\" tabindex=\"0\"><i class=\"fa-solid fa-phone\"></i>Top item 2</a></li><li class=\"tna-global-header__top-navigation-item\"><a href=\"#/top-3\" class=\"tna-global-header__top-navigation-link\" tabindex=\"0\"><i class=\"fa-brands fa-github\"></i>Top item 3</a></li></ul></nav></div></header>",
"html": "<header class=\"tna-global-header \" data-module=\"tna-global-header\"><div class=\"tna-container tna-global-header__main\"><div class=\"tna-column tna-column--flex-1 tna-column--order-2\"><span class=\"tna-global-header__logo-wrapper\"><a href=\"#/\" class=\"tna-global-header__logo\" title=\"The National Archives - Beta\"><svg xmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" class=\"tna-logo\" style=\"enable-background:new 0 0 160 160\" viewBox=\"0 0 160 160\" width=\"96\" height=\"96\"><title>The National Archives</title><path fill=\"transparent\" d=\"M0 0h160v160H0z\" class=\"tna-logo__background\" /><g class=\"tna-logo__foreground\" fill=\"currentColor\"><path d=\"M1.9 107.2h156.3V158H1.9v-50.8zm0-52.7h156.3v50.8H1.9V54.5zm0-52.6h77.2v50.8H1.9V1.9zm79 0h77.2v50.8H80.9V1.9zm0-1.9H0v160h160V0H80.9z\" /><path d=\"M21.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0-6.8-3.9-6.8-6.5 0-.3 0-.6.1-1l3.3-.1z\" /></g></svg><span class=\"tna-global-header__logo-strapline\">Beta</span></a></span></div><div class=\"tna-column tna-column--order-2 tna-global-header__navigation-button-wrapper\"><!-- BUTTON ADDED BY JAVASCRIPT --></div><nav class=\"tna-column tna-column--full-small tna-column--full-tiny tna-column--order-3 tna-global-header__navigation-wrapper\" aria-label=\"Main site navigation\"><ul class=\"tna-global-header__navigation\"><li class=\"tna-global-header__navigation-item\"><a href=\"#/alpha\" class=\"tna-global-header__navigation-item-link\" tabindex=\"0\">Alpha</a></li><li class=\"tna-global-header__navigation-item\"><a href=\"#/beta\" class=\"tna-global-header__navigation-item-link\" tabindex=\"0\">Beta</a></li><li class=\"tna-global-header__navigation-item\"><a href=\"#/gamma\" class=\"tna-global-header__navigation-item-link\" tabindex=\"0\">Gamma</a></li></ul></nav><nav class=\"tna-column tna-column--full tna-column--order-1 tna-column--order-4-small tna-column--order-4-tiny tna-global-header__top-navigation-wrapper\" aria-label=\"Secondary site navigation\"><ul class=\"tna-global-header__top-navigation\"><li class=\"tna-global-header__top-navigation-item\"><a href=\"#/top-1\" class=\"tna-global-header__top-navigation-link\" tabindex=\"0\">Top item 1</a></li><li class=\"tna-global-header__top-navigation-item\"><a href=\"#/top-2\" class=\"tna-global-header__top-navigation-link\" tabindex=\"0\"><i class=\"fa-solid fa-phone\" aria-hidden=\"true\"></i>Top item 2</a></li><li class=\"tna-global-header__top-navigation-item\"><a href=\"#/top-3\" class=\"tna-global-header__top-navigation-link\" tabindex=\"0\"><i class=\"fa-brands fa-github\" aria-hidden=\"true\"></i>Top item 3</a></li></ul></nav></div></header>",
"hidden": false
}
]
Expand Down
56 changes: 16 additions & 40 deletions src/nationalarchives/components/global-header/global-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,24 +57,16 @@
.tna-logo {
width: 6.75rem;
height: 6.75rem;

// &__background {
// fill: transparent;
// }

// &__foreground {
// fill: currentColor;
// }
}

// &__logo-strapline {
// padding-right: 0.625rem;
&__logo-strapline {
padding-right: 0.625rem;

// @include typography.heading-font;
// @include typography.relative-font-size(20);
// text-transform: uppercase;
// line-height: math.div(6.75rem, 3);
// }
@include typography.heading-font;
@include typography.relative-font-size(20);
text-transform: uppercase;
line-height: math.div(6.75rem, 3);
}

&__navigation-button-wrapper {
display: none;
Expand Down Expand Up @@ -248,9 +240,9 @@
height: 5rem;
}

// &--collapse-on-medium &__logo-strapline {
// line-height: math.div(5rem, 3);
// }
&--collapse-on-medium &__logo-strapline {
line-height: math.div(5rem, 3);
}

&--collapse-on-medium &__navigation {
margin-bottom: 0.5rem;
Expand Down Expand Up @@ -336,9 +328,9 @@
height: 4rem;
}

// &__logo-strapline {
// line-height: 1.25rem;
// }
&__logo-strapline {
line-height: 1.25rem;
}

&__navigation {
width: calc(100% + #{gridVars.$gutter-width * 2});
Expand All @@ -357,9 +349,9 @@
height: 3.5rem;
}

// &__logo-strapline {
// line-height: 1;
// }
&__logo-strapline {
line-height: 1;
}

&__navigation {
width: calc(100% + #{gridVars.$gutter-width-tiny * 2});
Expand All @@ -371,20 +363,4 @@
padding: 0.5rem gridVars.$gutter-width-tiny;
}
}

// @include colour.on-high-contrast {
// &__logo {
// &:hover {
// .tna-logo {
// &__background {
// fill: #fff;
// }

// &__foreground {
// fill: #000;
// }
// }
// }
// }
// }
}
8 changes: 4 additions & 4 deletions src/nationalarchives/components/global-header/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<path d="M21.3 19.5h-5.4v-3h14.3v3h-5.4v18.4h-3.5zM31.6 16.5H35v9h8.4v-9h3.4v21.4h-3.4v-9.3H35v9.3h-3.4zM50.9 16.5h12.2v3h-8.8v6.1h7.4v3h-7.4v6.3h8.8v3H50.9zM19.7 69.2h3.8l6.4 12.5c.6 1.1 1.1 2.7 1.6 4h.2c-.2-1.7-.3-3.6-.3-4.8V69.2h3.5v21.4h-3.7l-6.3-12.3c-.7-1.4-1.2-2.7-1.7-4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8c-1-.6-3.6-7.2-4.4-7.8h-2.5v7.8h-3.5v-21.5zM52.9 132.5c0 5.3 1.9 8 4.8 8s4-2 4-5.2l3.5.1c0 .2.1.4.1.6 0 4.4-2.1 7.5-7.5 7.5-5.2 0-8.5-3.9-8.5-11.1 0-7.1 3.3-11 8.5-11 6.4 0 7.5 4.6 7.5 7.2 0 .3 0 .7-.1.9l-3.5.1c0-3.3-1.2-5.2-4-5.2-2.9.2-4.8 2.9-4.8 8.1M68 121.8h3.5v9.1h8.3v-9.1h3.5v21.5h-3.5v-9.4h-8.3v9.4H68zM87.9 121.8h3.5v21.4h-3.5zM94.2 121.8h3.6l3.2 12.3c.5 1.9.8 3.6 1.1 5.6h.2c.3-2 .6-3.7 1.1-5.6l3.2-12.3h3.6l-6.1 21.4H100l-5.8-21.4zM112.7 121.8H125v3.1h-8.8v6h7.4v3h-7.4v6.3h8.8v3.1h-12.3zM130.4 136c0 .2-.1.5-.1.8 0 1.9.8 3.7 3.4 3.7 2.1 0 3.3-1.2 3.3-2.9 0-1.6-.7-2.4-2.2-3l-3.4-1.3c-2.4-.9-4.2-2.4-4.2-5.7 0-3.5 2.3-6.1 6.6-6.1 5.5 0 6.4 3.6 6.4 5.9 0 .3 0 .7-.1 1.1l-3.4.1c0-.2.1-.5.1-.7 0-1.7-.6-3.2-3-3.2-2.1 0-3 1.2-3 2.8 0 1.7.9 2.5 2.2 2.9l3.5 1.3c2.6 1 4.3 2.6 4.3 5.8 0 3.6-2.4 6.1-7 6.1-5.9 0-6.8-3.9-6.8-6.5 0-.3 0-.6.1-1l3.3-.1z" />
</g>
</svg>
{#- {%- if params.logo.strapline -%}
{%- if params.logo.strapline %}
<span class="tna-global-header__logo-strapline">{{ params.logo.strapline }}</span>
{%- endif -%} #}
{%- endif %}
{%- if params.logo.href %}
</a>
{%- else %}
Expand Down Expand Up @@ -50,9 +50,9 @@
<li class="tna-global-header__top-navigation-item">
<a href="{{ item.href }}" class="tna-global-header__top-navigation-link" {%- if item.title %} title="{{ item.title }}"{% endif %} tabindex="0">
{%- if item.brandIcon %}
<i class="fa-brands fa-{{ item.brandIcon }}"></i>
<i class="fa-brands fa-{{ item.brandIcon }}" aria-hidden="true"></i>
{%- elseif item.icon %}
<i class="fa-solid fa-{{ item.icon }}"></i>
<i class="fa-solid fa-{{ item.icon }}" aria-hidden="true"></i>
{%- endif %}
{{ item.text }}
</a>
Expand Down
Loading

0 comments on commit 3b8dbdf

Please sign in to comment.