Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3086 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3086 stevensc 1
import React from 'react'
3088 stevensc 2
import { Typography } from '@mui/material'
3086 stevensc 3
 
4
import Widget from '@components/UI/Widget'
5
 
6
export default function CompanyInfo({
7
  company: {
8
    company_name: companyName,
9
    company_foundation_year: companyFoundationYear,
10
    company_website: companyWebsite,
11
    company_industry: companyIndustry,
12
    company_size: companySize,
13
    company_address: companyAddress
14
  }
15
}) {
16
  return (
17
    <Widget>
18
      <Widget.Header title='Sobre el cliente' />
19
 
20
      <Widget.Body>
3088 stevensc 21
        <Typography variant='h4'>{companyIndustry}</Typography>
22
        <Typography>{companySize}</Typography>
23
 
24
        {companyAddress && <Typography>{companyAddress}</Typography>}
25
 
3086 stevensc 26
        {companyWebsite && (
3088 stevensc 27
          <>
28
            <Typography variant='h4'>
29
              URL del sitio web de la empresa
30
            </Typography>
3086 stevensc 31
            <a
32
              href={`http://${companyWebsite}`}
33
              target='_blank'
34
              rel='noreferrer'
35
            >
36
              {companyWebsite}
37
            </a>
3088 stevensc 38
          </>
3086 stevensc 39
        )}
3088 stevensc 40
 
3086 stevensc 41
        {companyFoundationYear && (
3088 stevensc 42
          <>
43
            <Typography variant='h4'>Fundada</Typography>
44
            <Typography>{companyFoundationYear}</Typography>
45
          </>
3086 stevensc 46
        )}
47
      </Widget.Body>
48
    </Widget>
49
  )
50
}