Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4498 | Rev 4606 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4498 Rev 4533
Línea 10... Línea 10...
10
    name = '',
10
    name = '',
11
    overview = '',
11
    overview = '',
12
    groupId = '',
12
    groupId = '',
13
    totalMembers = '',
13
    totalMembers = '',
14
    groupType = '',
14
    groupType = '',
15
    accessibility = ''
15
    accessibility = '',
-
 
16
    type = ''
16
}) => {
17
}) => {
17
    return (
18
    return (
18
        <>
19
        <>
19
            <div className={`sidebar__top ${!cover && 'pt-3'}`}>
20
            <div className={`sidebar__top ${!cover && 'pt-3'}`}>
20
                {cover && <img src={`/storage/type/group-cover/code/${groupId}/${cover ? `filename/${cover}` : ""}`} alt='Profile cover' className='sidebar__cover' />}
21
                {cover && <img src={`/storage/type/${type}-cover/code/${groupId}/${cover ? `filename/${cover}` : ""}`} alt='Profile cover' className='sidebar__cover' />}
21
                <Avatar imageUrl={`/storage/type/group/code/${groupId}/${image ? `filename/${image}` : ""}`} size='xl' name={name} />
22
                <Avatar imageUrl={`/storage/type/${type}/code/${groupId}/${image ? `filename/${image}` : ""}`} size='xl' name={name} />
22
                <h2>{parse(name)}</h2>
23
                <h2>{parse(name)}</h2>
23
                <span>{`${groupType} - ${accessibility}`}</span>
24
                <span>{`${groupType} - ${accessibility}`}</span>
24
                {parse(overview)}
25
                {parse(overview)}
25
            </div>
26
            </div>
26
            <div className='sidebar__stats'>
27
            <div className='sidebar__stats'>