mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
cf2dfc6bf1
[SettingsPage] Integration Branch GitOrigin-RevId: 5a3c26b2a02d716c4ae3981e3f08b811ae307725
28 lines
671 B
TypeScript
28 lines
671 B
TypeScript
import { useTranslation } from 'react-i18next'
|
|
import { Row, Col } from 'react-bootstrap'
|
|
import EmailCell from './cell'
|
|
|
|
function Header() {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<>
|
|
<Row>
|
|
<Col md={4} className="hidden-xs">
|
|
<EmailCell>
|
|
<strong>{t('email')}</strong>
|
|
</EmailCell>
|
|
</Col>
|
|
<Col md={8} className="hidden-xs">
|
|
<EmailCell>
|
|
<strong>{t('institution_and_role')}</strong>
|
|
</EmailCell>
|
|
</Col>
|
|
</Row>
|
|
<div className="hidden-xs horizontal-divider" />
|
|
<div className="hidden-xs horizontal-divider" />
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default Header
|