add info for phone and email

This commit is contained in:
Eduardo Quiros 2022-08-08 23:26:00 -06:00
parent 8e97490a16
commit abca2c58a1
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 42 additions and 12 deletions

View File

@ -26,21 +26,51 @@ class InfoDialog extends React.Component {
<p>{this.props.info.name}</p> <p>{this.props.info.name}</p>
</div> </div>
</div> </div>
<div className='col-4 md:col-4'> <div className='col-4 md:col-4'>
<p>Apellido(s)</p> <p>Apellido(s)</p>
<div className='p-0 col-2 md:col-2' style={{ margin: '0 auto' }}> <div
<div className='p-inputgroup align-items-center justify-content-evenly'> className='p-0 col-2 md:col-2'
<i className='pi pi-user icon-khaki' /> style={{ margin: '0 auto' }}
<p>{this.props.info.last_name}</p> >
<div className='p-inputgroup align-items-center justify-content-evenly'>
<i className='pi pi-user icon-khaki' />
<p>{this.props.info.last_name}</p>
</div>
</div>
</div>
<div className='col-4 md:col-4'>
<p>Identificación</p>
<div
className='p-0 col-2 md:col-2'
style={{ margin: '0 auto' }}
>
<div className='p-inputgroup align-items-center justify-content-evenly'>
<i className='pi pi-user icon-khaki' />
<p>{this.props.info.dni}</p>
</div>
</div> </div>
</div> </div>
</div> </div>
<div className='col-4 md:col-4'> <div className='row my-5 justify-content-center'>
<p>Identificación</p> <div className=' col-4 md:col-4'>
<div className='p-0 col-2 md:col-2' style={{ margin: '0 auto' }}> <p>Teléfono</p>
<div className='p-inputgroup align-items-center justify-content-evenly'> <div className='p-0 col-10 md:col-10'>
<i className='pi pi-user icon-khaki' /> <div className='p-inputgroup align-items-center justify-content-evenly'>
<p>{this.props.info.dni}</p> <i className='pi pi-phone icon-khaki'></i>
<p>{this.props.info.phone}</p>
</div>
</div>
</div>
<div className=' col-6 md:col-6'>
<p>Correo Electrónico</p>
<div
className='p-0 col-10 md:col-10'
style={{ margin: '0 auto' }}
>
<div className='p-inputgroup align-items-center justify-content-evenly'>
<i className='pi pi-envelope icon-khaki'></i>
<p>{this.props.info.email}</p>
</div>
</div> </div>
</div> </div>
</div> </div>