@npm_leadtech/legal-lib-components 7.25.1 → 7.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ import { HeaderStyled } from './Header.styled';
|
|
|
5
5
|
import { NavMenu } from '../../organisms/NavMenu';
|
|
6
6
|
const Header = forwardRef(({ mainHeaderProps, topBarProps, navMenuProps }, ref) => {
|
|
7
7
|
const { classnames, siteName } = mainHeaderProps;
|
|
8
|
-
return (_jsxs(HeaderStyled, { className: `header ${classnames}`, ref: ref, id: 'header', children: [_jsx(TopBar, { ...topBarProps }), _jsxs("span", { itemScope: true, itemType: 'https://www.schema.org/Brand', className: '
|
|
8
|
+
return (_jsxs(HeaderStyled, { className: `header ${classnames}`, ref: ref, id: 'header', children: [_jsx(TopBar, { ...topBarProps }), _jsxs("span", { itemScope: true, itemType: 'https://www.schema.org/Brand', className: 'flex header__inner', children: [_jsx("a", { "data-qa": 'Header_Logo', className: 'header__logo', href: '/', children: _jsx(Logo, { siteName: siteName, width: '188', height: '32' }) }), _jsx(NavMenu, { ...navMenuProps })] })] }));
|
|
9
9
|
});
|
|
10
10
|
Header.displayName = 'Header';
|
|
11
11
|
export default Header;
|
|
@@ -12,7 +12,7 @@ const Header = forwardRef<HTMLDivElement, HeaderProps>(
|
|
|
12
12
|
return (
|
|
13
13
|
<HeaderStyled className={`header ${classnames}`} ref={ref} id='header'>
|
|
14
14
|
<TopBar {...topBarProps} />
|
|
15
|
-
<span itemScope itemType='https://www.schema.org/Brand' className={'
|
|
15
|
+
<span itemScope itemType='https://www.schema.org/Brand' className={'flex header__inner'}>
|
|
16
16
|
<a data-qa={'Header_Logo'} className='header__logo' href='/'>
|
|
17
17
|
<Logo siteName={siteName} width='188' height='32' />
|
|
18
18
|
</a>
|