diff --git a/src/nationalarchives/components/footer/fixtures.json b/src/nationalarchives/components/footer/fixtures.json index 9131443a..a273c3f8 100644 --- a/src/nationalarchives/components/footer/fixtures.json +++ b/src/nationalarchives/components/footer/fixtures.json @@ -45,86 +45,73 @@ ], "navigation": [ { - "title": "About us", - "hideTitle": true, + "title": "Quick links", "items": [ { - "text": "Our role", - "href": "#" + "text": "About us", + "href": "https://www.nationalarchives.gov.uk/about/)" }, { - "text": "Our history", - "href": "#" + "text": "Contact us", + "href": "https://www.nationalarchives.gov.uk/contact-us/)" }, { - "text": "Our collection", - "href": "#" + "text": "News", + "href": "https://www.nationalarchives.gov.uk/about/news/)" }, { - "text": "Our people", - "href": "#" + "text": "Blog", + "href": "https://blog.nationalarchives.gov.uk/)" }, { - "text": "How we are run", - "href": "#" + "text": "Podcasts and videos", + "href": "https://media.nationalarchives.gov.uk/)" }, { - "text": "Our research and academic collaboration", - "href": "#" + "text": "Image library", + "href": "https://images.nationalarchives.gov.uk/)" }, { - "text": "News", - "href": "#" + "text": "Press room", + "href": "https://www.nationalarchives.gov.uk/about/press-room/)" }, { - "text": "Contact us", - "href": "#" + "text": "Jobs and careers", + "href": "https://www.nationalarchives.gov.uk/about/jobs/)" }, { - "text": "Jobs & careers", - "href": "#" + "text": "British citizenship services", + "href": "https://www.nationalarchives.gov.uk/contact-us/british-citizenship-services/)" }, { - "text": "Get involved", - "href": "#" + "text": "Historical Manuscripts Commission", + "href": "https://www.nationalarchives.gov.uk/archives-sector/our-archives-sector-role/historical-manuscripts-commission/)" } ] }, { - "title": "Our websites help", + "title": "Our other websites", "items": [ { "text": "UK Government Web Archive", - "href": "#", - "newTab": true + "href": "https://www.nationalarchives.gov.uk/webarchive/" }, { "text": "Legislation.gov.uk", - "href": "#", - "newTab": true + "href": "https://www.legislation.gov.uk/" }, { "text": "Find case law", - "href": "#", - "newTab": true + "href": "https://caselaw.nationalarchives.gov.uk/" }, { "text": "The Gazette", - "href": "#", + "href": "https://www.thegazette.co.uk/", "newTab": true - } - ] - }, - { - "title": "Quick links", - "items": [ - { - "text": "Press room", - "href": "#" }, { - "text": "Venue hire", - "href": "#" + "text": "The National Archives Trust", + "href": "https://www.nationalarchives.gov.uk/about/the-national-archives-trust/" } ] } @@ -133,27 +120,27 @@ "legal": [ { "text": "Accessibility statement", - "href": "#" + "href": "#/accessibility" }, { "text": "Freedom of information", - "href": "#" + "href": "#/freedom-of-information" }, { "text": "Terms and conditions", - "href": "#" + "href": "#/terms-and-conditions" }, { "text": "Privacy policy", - "href": "#" + "href": "#/privacy" }, { "text": "Cookies", - "href": "#" + "href": "#/cookies" } ] }, - "html": "", + "html": "", "hidden": false } ] diff --git a/src/nationalarchives/components/footer/footer.stories.js b/src/nationalarchives/components/footer/footer.stories.js index d7976525..df66ad15 100644 --- a/src/nationalarchives/components/footer/footer.stories.js +++ b/src/nationalarchives/components/footer/footer.stories.js @@ -80,86 +80,70 @@ Standard.args = { ], navigation: [ { - title: "About us", - hideTitle: true, + title: "Quick links", items: [ { - text: "Our role", - href: "#", + text: "About us", + href: "https://www.nationalarchives.gov.uk/about/)", }, { - text: "Our history", - href: "#", + text: "Contact us", + href: "https://www.nationalarchives.gov.uk/contact-us/)", }, { - text: "Our collection", - href: "#", + text: "News", + href: "https://www.nationalarchives.gov.uk/about/news/)", }, { - text: "Our people", - href: "#", + text: "Blog", + href: "https://blog.nationalarchives.gov.uk/)", }, { - text: "How we are run", - href: "#", + text: "Podcasts and videos", + href: "https://media.nationalarchives.gov.uk/)", }, { - text: "Our research and academic collaboration", - href: "#", + text: "Image library", + href: "https://images.nationalarchives.gov.uk/)", }, { - text: "News", - href: "#", + text: "Press room", + href: "https://www.nationalarchives.gov.uk/about/press-room/)", }, { - text: "Contact us", - href: "#", + text: "Jobs and careers", + href: "https://www.nationalarchives.gov.uk/about/jobs/)", }, { - text: "Jobs & careers", - href: "#", + text: "British citizenship services", + href: "https://www.nationalarchives.gov.uk/contact-us/british-citizenship-services/)", }, { - text: "Get involved", - href: "#", + text: "Historical Manuscripts Commission", + href: "https://www.nationalarchives.gov.uk/archives-sector/our-archives-sector-role/historical-manuscripts-commission/)", }, ], }, { - title: "Our websites help", + title: "Our other websites", items: [ { text: "UK Government Web Archive", - href: "#", - newTab: true, - }, - { - text: "Legislation.gov.uk", - href: "#", - newTab: true, + href: "https://www.nationalarchives.gov.uk/webarchive/", }, + { text: "Legislation.gov.uk", href: "https://www.legislation.gov.uk/" }, { text: "Find case law", - href: "#", - newTab: true, + href: "https://caselaw.nationalarchives.gov.uk/", }, { text: "The Gazette", - href: "#", + href: "https://www.thegazette.co.uk/", newTab: true, }, - ], - }, - { - title: "Quick links", - items: [ - { - text: "Press room", - href: "#", - }, { - text: "Venue hire", - href: "#", + text: "The National Archives Trust", + href: "https://www.nationalarchives.gov.uk/about/the-national-archives-trust/", }, ], }, @@ -168,23 +152,23 @@ Standard.args = { legal: [ { text: "Accessibility statement", - href: "#", + href: "#/accessibility", }, { text: "Freedom of information", - href: "#", + href: "#/freedom-of-information", }, { text: "Terms and conditions", - href: "#", + href: "#/terms-and-conditions", }, { text: "Privacy policy", - href: "#", + href: "#/privacy", }, { text: "Cookies", - href: "#", + href: "#/cookies", }, ], classes: "tna-footer--demo", diff --git a/tasks/global-header/generate-global-header-assets.js b/tasks/global-header/generate-global-header-assets.js index 130f48fa..9ea146d6 100644 --- a/tasks/global-header/generate-global-header-assets.js +++ b/tasks/global-header/generate-global-header-assets.js @@ -102,73 +102,73 @@ const footerHTML = nunjucks ], navigation: [ { - title: "About us", + title: "Quick links", items: [ { - text: "Our role", - href: "https://www.nationalarchives.gov.uk/about/our-role/", + text: "About us", + href: "https://www.nationalarchives.gov.uk/about/)", }, { - text: "Our history", - href: "https://www.nationalarchives.gov.uk/about/our-role/what-we-do/our-history/", + text: "Contact us", + href: "https://www.nationalarchives.gov.uk/contact-us/)", }, { - text: "Our people", - href: "https://www.nationalarchives.gov.uk/about/jobs/staff-profiles/", + text: "News", + href: "https://www.nationalarchives.gov.uk/about/news/)", }, { - text: "News", - href: "https://www.nationalarchives.gov.uk/about/news/", + text: "Blog", + href: "https://blog.nationalarchives.gov.uk/)", }, { - text: "Contact us", - href: "https://www.nationalarchives.gov.uk/contact-us/", + text: "Podcasts and videos", + href: "https://media.nationalarchives.gov.uk/)", + }, + { + text: "Image library", + href: "https://images.nationalarchives.gov.uk/)", + }, + { + text: "Press room", + href: "https://www.nationalarchives.gov.uk/about/press-room/)", + }, + { + text: "Jobs and careers", + href: "https://www.nationalarchives.gov.uk/about/jobs/)", }, { - text: "Jobs & careers", - href: "https://www.nationalarchives.gov.uk/about/jobs/", + text: "British citizenship services", + href: "https://www.nationalarchives.gov.uk/contact-us/british-citizenship-services/)", }, { - text: "Get involved", - href: "https://www.nationalarchives.gov.uk/about/get-involved/", + text: "Historical Manuscripts Commission", + href: "https://www.nationalarchives.gov.uk/archives-sector/our-archives-sector-role/historical-manuscripts-commission/)", }, ], }, { - title: "Our websites help", + title: "Our other websites", items: [ { text: "UK Government Web Archive", href: "https://www.nationalarchives.gov.uk/webarchive/", - newTab: true, }, { text: "Legislation.gov.uk", href: "https://www.legislation.gov.uk/", - newTab: true, }, { text: "Find case law", href: "https://caselaw.nationalarchives.gov.uk/", - newTab: true, }, { text: "The Gazette", href: "https://www.thegazette.co.uk/", newTab: true, }, - ], - }, - { - title: "Quick links", - items: [ - { - text: "Press room", - href: "https://www.nationalarchives.gov.uk/about/press-room/", - }, { - text: "Venue hire", - href: "https://www.nationalarchives.gov.uk/about/visit-us/venue-hire/", + text: "The National Archives Trust", + href: "https://www.nationalarchives.gov.uk/about/the-national-archives-trust/", }, ], }, @@ -177,23 +177,23 @@ const footerHTML = nunjucks legal: [ { text: "Accessibility statement", - href: "#", + href: "#/accessibility", }, { text: "Freedom of information", - href: "#", + href: "#/freedom-of-information", }, { text: "Terms and conditions", - href: "#", + href: "#/terms-and-conditions", }, { text: "Privacy policy", - href: "#", + href: "#/privacy", }, { text: "Cookies", - href: "#", + href: "#/cookies", }, ], },