Skip to content

Commit

Permalink
feat: Add Sitemap
Browse files Browse the repository at this point in the history
Merge pull request #424 from DFE-Digital/addsitemap
  • Loading branch information
MartinBelton-gov authored Feb 16, 2024
2 parents 93b8665 + 27a6299 commit 34a325e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Childrens-Social-Care-CPD/Views/Shared/_ErrorLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@
Terms and conditions
</a>
</li>
<li class="govuk-footer__inline-list-item">
<a class="govuk-footer__link" datatestid="Site Map" href="/sitemap">
Site Map
</a>
</li>
<li class="govuk-footer__inline-list-item">
<a class="govuk-footer__link" datatestid="Feedback" href="https://dferesearch.fra1.qualtrics.com/jfe/form/SV_bmcLDedq5wipeTA">
Feedback
Expand Down
5 changes: 5 additions & 0 deletions Childrens-Social-Care-CPD/Views/Shared/_Footer.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
Terms and conditions
</a>
</li>
<li class="govuk-footer__inline-list-item">
<a class="govuk-footer__link" datatestid="Site Map" href="/sitemap">
Site Map
</a>
</li>
<li class="govuk-footer__inline-list-item">
<a class="govuk-footer__link" datatestid="Feedback" href="https://dferesearch.fra1.qualtrics.com/jfe/form/SV_bmcLDedq5wipeTA">
Feedback
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ test.describe('Page Footer', () => {
['Privacy policy', '/privacy', 'Privacy policy'],
['Accessibility', '/accessibility', 'Accessibility statement'],
['Terms and conditions', '/termsconditions', 'Terms and conditions'],
['Site Map', '/sitemap'],
]

for (const link of links) {
Expand Down
1 change: 1 addition & 0 deletions browser-tests/dev-integration-tests/tests/footer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ test.describe('Page Footer', () => {
['Privacy policy', '/privacy'],
['Accessibility', '/accessibility'],
['Terms and conditions', '/termsconditions'],
['Site Map', '/sitemap'],
['Feedback', 'https://dferesearch.fra1.qualtrics.com/jfe/form/SV_bmcLDedq5wipeTA'],
['Crown copyright', 'https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/'],
['Open Government Licence v3.0', 'https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/'],
Expand Down

0 comments on commit 34a325e

Please sign in to comment.