Cross service header example
With data attributes
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/cross_service_header", {
show_account_layout: true,
show_cross_service_header: true,
service_name: "GOV.UK email subscriptions",
one_login_navigation_items: {
one_login_home: {
href: "#",
data: {
module: "explicit-cross-domain-links"
}
},
one_login_sign_out: {
text: "Sign out",
data: {
module: "explicit-cross-domain-links"
}
}
}
} %>