Skip to content

Conversation

@jakecosgrove
Copy link
Contributor

Description

This PR:

  • adds a new button-reverse.html component
  • includes the new button-reverse.html on the landing page for the main and end section CTA's
  • adds an override class for fixing the margin on buttons
  • adds an action link to "3. Plan how your messages will be sent" on the landing page
  • adds clickable links on "1. Write your messages" to each message channel

Context

These are changes that were descoped on the initial release of the website.

The aim of these calls to action and links is to give new audiences clear ways of discovering new information about NHS Notify based on what they're most interested in. This should make their navigation of the NHS Notify website, making it more likely that they will contend with the information they need, in the way they need at the time they need it.

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

jakecosgrove and others added 4 commits July 24, 2025 10:27
- adds action links to landing page
- adds primary CTA buttons to landing page
- adds button-reverse component for white buttons on dark backgrounds
- adds links to 1. Write your messages on the landing page
- Add nhsnotify-home-page class to home layout for page-specific styling
- Add CSS override to remove margin-bottom from nhsuk-button class within home page
- Ensures buttons on home page have no bottom margin while preserving styling on other pages
@jakecosgrove jakecosgrove requested a review from a team as a code owner July 24, 2025 14:51
@emmagifford
Copy link
Contributor

Awesome, Jake - thank you for figuring these things out! They've been hanging around for months.

This is a great improvement!

Checked all new buttons and links - all work correctly.

Copy link
Contributor

@emmagifford emmagifford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, Jake - thank you for figuring these things out! They've been hanging around for months.

This is a great improvement!

Checked all new buttons and links - all work correctly.

@emmagifford emmagifford merged commit 0669e5f into main Jul 24, 2025
29 of 31 checks passed
@emmagifford emmagifford deleted the action-links-landing-page branch July 24, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants