diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bf35e24c..19d034271 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -131,15 +131,15 @@ We removed the need to add the last breadcrumb outside of the 'Items' list, now {{ breadcrumb({ items: [ { - href: "/level-one", + href: "#", text: "Level one" }, { - href: "/level-one/level-two", + href: "#", text: "Level two" } ], - href: "/level-one/level-two/level-three", + href: "#", text: "Level three" }) }} ``` @@ -150,15 +150,15 @@ You will now only need this: {{ breadcrumb({ items: [ { - href: "/level-one", + href: "#", text: "Level one", }, { - href: "/level-one/level-two", + href: "#", text: "Level two" }, { - href: "/level-one/level-two/level-three", + href: "#", text: "Level three" } ] diff --git a/app/components/all.njk b/app/components/all.njk index bc20b5915..d1b9ef3d7 100644 --- a/app/components/all.njk +++ b/app/components/all.njk @@ -69,15 +69,15 @@ items: [ { text: "Home", - href: "https://www.nhs.uk/" + href: "#" }, { text: "Health A-Z", - href: "https://www.nhs.uk/conditions" + href: "#" }, { text: "Abscess", - href: "https://www.nhs.uk/conditions/abscess/" + href: "#" } ] }) }} @@ -89,26 +89,26 @@ {{ contentsList({ items: [ { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/", + href: "#", text: "What is AMD?", current: "true" }, { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/symptoms/", + href: "#", text: "Symptoms" }, { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/getting-diagnosed/", + href: "#", text: "Getting diagnosed" } , { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/treatment/", + href: "#", text: "Treatments" } , { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/living-with-amd/", + href: "#", text: "Living with AMD" } ] diff --git a/app/components/breadcrumb/index.njk b/app/components/breadcrumb/index.njk index 44960b759..61c461fdc 100644 --- a/app/components/breadcrumb/index.njk +++ b/app/components/breadcrumb/index.njk @@ -8,21 +8,21 @@ {{ breadcrumb({ items: [ { - href: "/level-one", + href: "#", text: "Level one", attributes: {lang: "en"} }, { - href: "/level-one/level-two", + href: "#", text: "Level two" }, { - href: "/level-one/level-two/level-three", + href: "#", text: "Level three", attributes: {lang: "en"} } ], - href: "/level-one/level-two/level-three/level-four", + href: "#", text: "Level four", classes: "example-class-one example-class-two", attributes: {lang: "en"} diff --git a/app/components/button/link.njk b/app/components/button/link.njk index 273af79ad..451582e93 100644 --- a/app/components/button/link.njk +++ b/app/components/button/link.njk @@ -12,7 +12,7 @@
{{ button({ "text": "Link button", - "href": "/nhsuk-frontend/" + "href": "/" }) }}
diff --git a/app/components/contents-list/index.njk b/app/components/contents-list/index.njk index cecaaa897..31bcb83f2 100644 --- a/app/components/contents-list/index.njk +++ b/app/components/contents-list/index.njk @@ -13,26 +13,26 @@ {{ contentsList({ items: [ { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/", + href: "#", text: "What is AMD?", current: "true" }, { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/symptoms/", + href: "#", text: "Symptoms" }, { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/getting-diagnosed/", + href: "#", text: "Getting diagnosed" } , { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/treatment/", + href: "#", text: "Treatments" } , { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/living-with-amd/", + href: "#", text: "Living with AMD" } ] diff --git a/packages/components/breadcrumb/README.md b/packages/components/breadcrumb/README.md index f49374f12..1189b2af1 100644 --- a/packages/components/breadcrumb/README.md +++ b/packages/components/breadcrumb/README.md @@ -36,16 +36,16 @@ Find out more about the breadcrumb component and when to use it in the [NHS digi {{ breadcrumb({ items: [ { - href: "/level-one", + href: "#", text: "Level one", attributes: {lang: "en"} }, { - href: "/level-one/level-two", + href: "#", text: "Level two" }, { - href: "/level-one/level-two/level-three", + href: "#", text: "Level three" } ], diff --git a/packages/components/contents-list/README.md b/packages/components/contents-list/README.md index b8bc0e86f..79b637eab 100644 --- a/packages/components/contents-list/README.md +++ b/packages/components/contents-list/README.md @@ -41,26 +41,26 @@ Find out more about the contents list component and when to use it in the [NHS d {{ contentsList({ items: [ { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/", + href: "#", text: "What is AMD?", current: "true" }, { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/symptoms/", + href: "#", text: "Symptoms" }, { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/getting-diagnosed/", + href: "#", text: "Getting diagnosed" } , { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/treatment/", + href: "#", text: "Treatments" } , { - href: "https://www.nhs.uk/conditions/age-related-macular-degeneration-amd/living-with-amd/", + href: "#", text: "Living with AMD" } ]