mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-08-03 02:00:04 +02:00

* Remove the Bootstrap 5 version utilities * Remove Account settings LESS stylesheet and unused styles * Prefer using the OLFormText wrapper component instead of FormText * Remove the Bootstrap 3 version stories * Replace Font Awesome icons to Material icons * Fix the heading hierarchy * Cleanup unused translation * Restore ellipsis to the text of two loading spinners * Add loading button tests back and add some button loading labels --------- Co-authored-by: Tim Down <158919+timdown@users.noreply.github.com> GitOrigin-RevId: 283a9167c8c78bf0fe5062840ded6917dcd6263b
30 lines
852 B
TypeScript
30 lines
852 B
TypeScript
import { useTranslation } from 'react-i18next'
|
|
import EmailCell from './cell'
|
|
import OLCol from '@/features/ui/components/ol/ol-col'
|
|
import OLRow from '@/features/ui/components/ol/ol-row'
|
|
import classnames from 'classnames'
|
|
|
|
function Header() {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<>
|
|
<OLRow>
|
|
<OLCol lg={4} className="d-none d-sm-block">
|
|
<EmailCell>
|
|
<strong>{t('email')}</strong>
|
|
</EmailCell>
|
|
</OLCol>
|
|
<OLCol lg={8} className="d-none d-sm-block">
|
|
<EmailCell>
|
|
<strong>{t('institution_and_role')}</strong>
|
|
</EmailCell>
|
|
</OLCol>
|
|
</OLRow>
|
|
<div className={classnames('d-none d-sm-block', 'horizontal-divider')} />
|
|
<div className={classnames('d-none d-sm-block', 'horizontal-divider')} />
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default Header
|