Skip to content

Commit

Permalink
Update footer links (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood authored Mar 15, 2024
1 parent c178bb1 commit 608fd11
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 20 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
### Changed

- Updated footer links

### Deprecated
### Removed
### Fixed
Expand Down
30 changes: 17 additions & 13 deletions src/nationalarchives/components/footer/fixtures.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/nationalarchives/components/footer/footer.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ Standard.args = {
href: "https://blog.nationalarchives.gov.uk/",
},
{
text: "Podcasts and videos",
href: "https://media.nationalarchives.gov.uk/",
text: "Podcasts",
href: "https://media.nationalarchives.gov.uk/index.php/category/podcasts-2/",
},
{
text: "Image library",
Expand Down
2 changes: 1 addition & 1 deletion src/nationalarchives/components/footer/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<div class="tna-button-group">
{{ tnaButton({
text: "Subscribe",
href: "https://www.nationalarchives.gov.uk/contact-us/email-updates/",
href: "https://pages.enews.nationalarchives.gov.uk/pages/subscribe",
accent: true
}) }}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1271,8 +1271,8 @@ const Template = ({ theme, accent }) => {
href: "https://blog.nationalarchives.gov.uk/",
},
{
text: "Podcasts and videos",
href: "https://media.nationalarchives.gov.uk/",
text: "Podcasts",
href: "https://media.nationalarchives.gov.uk/index.php/category/podcasts-2/",
},
{
text: "Image library",
Expand Down
4 changes: 2 additions & 2 deletions tasks/global-header/generate-global-header-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ const footerHTML = nunjucks
href: "https://blog.nationalarchives.gov.uk/",
},
{
text: "Podcasts and videos",
href: "https://media.nationalarchives.gov.uk/",
text: "Podcasts",
href: "https://media.nationalarchives.gov.uk/index.php/category/podcasts-2/",
},
{
text: "Image library",
Expand Down

0 comments on commit 608fd11

Please sign in to comment.