Skip to content

Commit

Permalink
v0.1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Mar 19, 2024
1 parent 8e0b652 commit cf62659
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 11 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/nationalarchives/tna-frontend-jinja/compare/v0.1.18...HEAD)
## [Unreleased](https://github.com/nationalarchives/tna-frontend-jinja/compare/v0.1.19...HEAD)

### Added
### Changed
Expand All @@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security

## [0.1.19](https://github.com/nationalarchives/tna-frontend-jinja/compare/v0.1.18...v0.1.19) - 2024-03-19

### Changed

- Upgraded TNA Frontend to `v0.1.47`

## [0.1.18](https://github.com/nationalarchives/tna-frontend-jinja/compare/v0.1.17...v0.1.18) - 2024-03-14

### Changed
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ We test each component against its published [component fixtures](https://github

| TNA Frontend Jinja | Compatible TNA Frontend versions |
| --------------------- | ------------------------------------------ |
| `0.1.19` | `v0.1.45`, `v0.1.46`, `v0.1.47` |
| `0.1.18` | `v0.1.44` |
| `0.1.17` | `v0.1.43` |
| `0.1.16` | `v0.1.42` |
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"prettier": "prettier --write '*.{mjs,json}'"
},
"dependencies": {
"@nationalarchives/frontend": "0.1.44",
"@nationalarchives/frontend": "0.1.47",
"diff": "^5.1.0",
"glob": "^10.2.7",
"js-beautify": "^1.14.8",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="tna-frontend-jinja",
version="0.1.18",
version="0.1.19",
author="Andrew Hosgood",
author_email="[email protected]",
description="TNA Frontend Jinja templates",
Expand Down
4 changes: 2 additions & 2 deletions tna_frontend_jinja/templates/components/footer/macro.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<footer class="tna-footer {{ ' '.join(containerClasses) }}" {%- if params.attributes %}{% for attribute, value in params.attributes.items() %} {{ attribute }}="{{ value }}"{% endfor %}{% endif %}>
<div class="tna-container">
<div class="tna-column tna-column--flex-1 tna-column--width-1-2-medium tna-column--full-small tna-column--full-tiny tna-column--order-1">
<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">
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" class="tna-logo" 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">
Expand Down Expand Up @@ -85,7 +85,7 @@ <h3 class="tna-footer__navigation-block-heading tna-heading-m">
Hear about our latest news, stories from the collection and priority booking for events.
</p>
<div class="tna-button-group">
<a href="https://www.nationalarchives.gov.uk/contact-us/email-updates/" class="tna-button tna-button--accent">
<a href="https://pages.enews.nationalarchives.gov.uk/pages/subscribe" class="tna-button tna-button--accent">
Subscribe
</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{%- else %}
<span class="tna-global-header__logo">
{%- endif %}
<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">
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" class="tna-logo" 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">
Expand Down
2 changes: 1 addition & 1 deletion tna_frontend_jinja/templates/components/header/macro.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="tna-container tna-header__contents">
<div class="tna-column tna-header__logo">
<{%- if params.logo and params.logo.href -%}a href="{{ params.logo.href }}" class="tna-header__logo-link tna-header__logo-link--href" title="{%- if params.logo and params.logo.title -%}{{ params.logo.title }}{%- else -%}The National Archives{%- if params.logo and params.logo.strapline %} - {{ params.logo.strapline }}{%- endif -%}{%- endif -%}"{%- else -%}span class="tna-header__logo-link"{%- endif -%}>
<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">
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" class="tna-logo" 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">
Expand Down

0 comments on commit cf62659

Please sign in to comment.