Skip to content

Commit

Permalink
Add default header for HVE organization
Browse files Browse the repository at this point in the history
  • Loading branch information
mannipje committed Sep 23, 2024
1 parent d29ae49 commit 4adc857
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,16 @@ export const rikissaksoknariHeaderGridContainerWidth = style([

export const rikissaksoknariHeaderGridContainerSubpage =
rikissaksoknariHeaderGridContainerBase

export const hveHeaderGridContainer = style({
display: 'grid',
maxWidth: '1342px',
margin: '0 auto',
borderBottom: '8px solid #F01E28',
...themeUtils.responsiveStyle({
lg: {
gridTemplateRows: '315px',
gridTemplateColumns: '65fr 35fr',
},
}),
})
11 changes: 10 additions & 1 deletion apps/web/components/Organization/Wrapper/OrganizationWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,16 @@ export const OrganizationHeader: React.FC<
/>
)
case 'hve':
return (
return n('usingDefaultHeader', false) ? (
<DefaultHeader
{...defaultProps}
className={styles.hveHeaderGridContainer}
image={n(
'hveHeaderImage',
'https://images.ctfassets.net/8k0h54kbe6bj/7ie5X2T4g8a7g5PLvu5226/4ec8b2cb69b5cb7193a61c562f9b36e0/minstur1.png',
)}
/>
) : (
<HveHeader
organizationPage={organizationPage}
logoAltText={logoAltText}
Expand Down

0 comments on commit 4adc857

Please sign in to comment.