Skip to content

Commit

Permalink
feat(web): Add default header for natturuhamfaratryggingar islands (#…
Browse files Browse the repository at this point in the history
…16022)

* Add default header for natturuhamfaratryggingar islands

* Remove image position prop

* Namespace for image in default header

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
mannipje and kodiakhq[bot] authored Sep 16, 2024
1 parent 01b8904 commit ddcffb9
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,15 @@ export const OrganizationHeader: React.FC<
/>
)
case 'nti':
return (
return n('usingDefaultHeader', false) ? (
<DefaultHeader
{...defaultProps}
image={n(
'icelandicNaturalDisasterInsuranceHeaderImage',
'https://images.ctfassets.net/8k0h54kbe6bj/eXqcbclteE88H5iQ6J3lo/bbc1d0c9d3abee93d34ec0aa718c833b/Group__1_.svg',
)}
/>
) : (
<IcelandicNaturalDisasterInsuranceHeader
organizationPage={organizationPage}
logoAltText={logoAltText}
Expand Down

0 comments on commit ddcffb9

Please sign in to comment.