Skip to content

Commit

Permalink
update node and remove hrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaanbajwa committed Mar 5, 2024
1 parent 01d90c7 commit 4249513
Show file tree
Hide file tree
Showing 10 changed files with 20,602 additions and 14,148 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs:

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
with:
node-version: 20
registry-url: https://registry.npmjs.org/

- name: Install dependencies
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org/

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion app/components/button/link.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="nhsuk-grid-column-two-thirds">
{{ button({
"text": "Link button",
"href": "/nhsuk-frontend/"
"href": "#"
}) }}
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions app/components/contents-list/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
Expand Down
12 changes: 6 additions & 6 deletions app/components/header/header-navigation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
"showSearch": "false",
"primaryLinks": [
{
"url" : "https://www.nhs.uk/conditions",
"url" : "#",
"label" : "Health A-Z"
},
{
'url' : 'https://www.nhs.uk/live-well/',
'url' : '#',
'label' : 'Live Well'
},
{
'url' : 'https://www.nhs.uk/mental-health/',
'url' : '#',
'label' : 'Mental health'
},
{
'url' : 'https://www.nhs.uk/conditions/social-care-and-support/',
'url' : '#',
'label' : 'Care and support'
},
{
'url' : 'https://www.nhs.uk/pregnancy/',
'url' : '#',
'label' : 'Pregnancy'
},
{
'url' : 'https://www.nhs.uk/nhs-services/',
'url' : '#',
'label' : 'NHS services'
}
]
Expand Down
12 changes: 6 additions & 6 deletions app/components/header/header-search.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
"showSearch": "true",
"primaryLinks": [
{
"url" : "https://www.nhs.uk/conditions",
"url" : "#",
"label" : "Health A-Z"
},
{
'url' : 'https://www.nhs.uk/live-well/',
'url' : '#',
'label' : 'Live Well'
},
{
'url' : 'https://www.nhs.uk/mental-health/',
'url' : '#',
'label' : 'Mental health'
},
{
'url' : 'https://www.nhs.uk/conditions/social-care-and-support/',
'url' : '#',
'label' : 'Care and support'
},
{
'url' : 'https://www.nhs.uk/pregnancy/',
'url' : '#',
'label' : 'Pregnancy'
},
{
'url' : 'https://www.nhs.uk/nhs-services/',
'url' : '#',
'label' : 'NHS services'
}
]
Expand Down
12 changes: 6 additions & 6 deletions app/components/header/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
"showSearch": "true",
"primaryLinks": [
{
"url" : "https://www.nhs.uk/conditions",
"url" : "#",
"label" : "Health A-Z"
},
{
'url' : 'https://www.nhs.uk/live-well/',
'url' : '#',
'label' : 'Live Well'
},
{
'url' : 'https://www.nhs.uk/mental-health/',
'url' : '#',
'label' : 'Mental health'
},
{
'url' : 'https://www.nhs.uk/conditions/social-care-and-support/',
'url' : '#',
'label' : 'Care and support'
},
{
'url' : 'https://www.nhs.uk/pregnancy/',
'url' : '#',
'label' : 'Pregnancy'
},
{
'url' : 'https://www.nhs.uk/nhs-services/',
'url' : '#',
'label' : 'NHS services'
}
]
Expand Down
4 changes: 2 additions & 2 deletions app/components/pagination/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">
{{ pagination({
"previousUrl": "/section/treatments",
"previousUrl": "#",
"previousPage": "Treatments",
"nextUrl": "/section/symptoms",
"nextUrl": "#",
"nextPage": "Symptoms"
}) }}
</div>
Expand Down
Loading

0 comments on commit 4249513

Please sign in to comment.