With custom heading level
Override default heading level by passing through heading_level
parameter (defaults to h3
).
How it looks (preview)
Sign up for email notifications
Click right here to sign up!!How to call this example
<%= render "govuk_publishing_components/components/signup_link", {
heading: "Sign up for email notifications",
link_text: "Click right here to sign up!!",
link_href: "/this-signs-you-up",
heading_level: 1
} %>