2024-06-25 02:08:24 -04:00
|
|
|
import { useProjectContext } from '@/shared/context/project-context'
|
|
|
|
import { Col, Row } from 'react-bootstrap'
|
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
import Icon from '@/shared/components/icon'
|
|
|
|
|
|
|
|
export default function OwnerInfo() {
|
|
|
|
const { t } = useTranslation()
|
|
|
|
const { owner } = useProjectContext()
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Row className="project-member">
|
2024-08-26 09:03:37 -04:00
|
|
|
<Col xs={8}>
|
2024-06-25 02:08:24 -04:00
|
|
|
<div className="project-member-email-icon">
|
|
|
|
<Icon type="user" fw />
|
|
|
|
<div className="email-warning">{owner?.email}</div>
|
|
|
|
</div>
|
|
|
|
</Col>
|
2024-08-26 09:03:37 -04:00
|
|
|
<Col xs={4} className="text-right">
|
2024-06-25 02:08:24 -04:00
|
|
|
{t('owner')}
|
|
|
|
</Col>
|
|
|
|
</Row>
|
|
|
|
)
|
|
|
|
}
|