2022-04-08 07:00:46 -04:00
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
import EmailCell from './cell'
|
2024-05-15 10:31:00 -04:00
|
|
|
import OLCol from '@/features/ui/components/ol/ol-col'
|
|
|
|
import OLRow from '@/features/ui/components/ol/ol-row'
|
2024-04-03 07:01:56 -04:00
|
|
|
import classnames from 'classnames'
|
2024-04-16 11:06:42 -04:00
|
|
|
import { bsVersion } from '@/features/utils/bootstrap-5'
|
2022-04-08 07:00:46 -04:00
|
|
|
|
|
|
|
function Header() {
|
|
|
|
const { t } = useTranslation()
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
2024-05-15 10:31:00 -04:00
|
|
|
<OLRow>
|
|
|
|
<OLCol
|
2024-05-28 04:48:42 -04:00
|
|
|
lg={4}
|
2024-04-16 11:06:42 -04:00
|
|
|
className={bsVersion({
|
2024-04-03 07:01:56 -04:00
|
|
|
bs5: 'd-none d-sm-block',
|
|
|
|
bs3: 'hidden-xs',
|
|
|
|
})}
|
|
|
|
>
|
2022-04-08 07:00:46 -04:00
|
|
|
<EmailCell>
|
|
|
|
<strong>{t('email')}</strong>
|
|
|
|
</EmailCell>
|
2024-05-15 10:31:00 -04:00
|
|
|
</OLCol>
|
|
|
|
<OLCol
|
2024-05-28 04:48:42 -04:00
|
|
|
lg={8}
|
2024-04-16 11:06:42 -04:00
|
|
|
className={bsVersion({
|
2024-04-03 07:01:56 -04:00
|
|
|
bs5: 'd-none d-sm-block',
|
|
|
|
bs3: 'hidden-xs',
|
|
|
|
})}
|
|
|
|
>
|
2022-04-08 07:00:46 -04:00
|
|
|
<EmailCell>
|
|
|
|
<strong>{t('institution_and_role')}</strong>
|
|
|
|
</EmailCell>
|
2024-05-15 10:31:00 -04:00
|
|
|
</OLCol>
|
|
|
|
</OLRow>
|
2024-04-03 07:01:56 -04:00
|
|
|
<div
|
|
|
|
className={classnames(
|
2024-04-16 11:06:42 -04:00
|
|
|
bsVersion({ bs5: 'd-none d-sm-block', bs3: 'hidden-xs' }),
|
2024-04-03 07:01:56 -04:00
|
|
|
'horizontal-divider'
|
|
|
|
)}
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
className={classnames(
|
2024-04-16 11:06:42 -04:00
|
|
|
bsVersion({ bs5: 'd-none d-sm-block', bs3: 'hidden-xs' }),
|
2024-04-03 07:01:56 -04:00
|
|
|
'horizontal-divider'
|
|
|
|
)}
|
|
|
|
/>
|
2022-04-08 07:00:46 -04:00
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Header
|