Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4298 Rev 4299
Línea 1... Línea 1...
1
/* eslint-disable react/prop-types */
1
/* eslint-disable react/prop-types */
2
import React, { useState } from 'react'
2
import React, { useState } from 'react'
3
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
3
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
4
import ExpandLessIcon from '@mui/icons-material/ExpandLess'
4
import ExpandLessIcon from '@mui/icons-material/ExpandLess'
-
 
5
import parse from 'html-react-parser'
-
 
6
import Avatar from '../../../../shared/Avatar/Avatar'
5
import StatItem from './StatItem'
7
import StatItem from './StatItem'
6
import './Sidebar.css'
-
 
7
import RecentItem from './RecentItem'
8
import RecentItem from './RecentItem'
8
import Avatar from '../../../../shared/Avatar/Avatar'
9
import './Sidebar.scss'
Línea 9... Línea 10...
9
 
10
 
10
const Sidebar = ({
11
const Sidebar = ({
11
  image,
12
  image,
12
  fullName,
13
  fullName,
Línea 19... Línea 20...
19
 
20
 
20
  return (
21
  return (
Línea 21... Línea 22...
21
    <div className='sidebar'>
22
    <div className='sidebar'>
22
 
23
 
23
      <div className='sidebar__top'>
24
      <div className='sidebar__top'>
24
        <img src='./static/profile_2.jpg' alt='Profile cover' />
25
        <img src='./static/profile_2.jpg' alt='Profile cover' className='sidebar__cover'/>
25
        <Avatar imageUrl={image} size='xl' name={fullName} />
26
        <Avatar imageUrl={image} size='xl' name={fullName} />
26
        <h2>{fullName}</h2>
27
        <h2>{parse(fullName)}</h2>
Línea 27... Línea 28...
27
        <h4>{description}</h4>
28
        <h4>{parse(description)}</h4>
28
      </div>
29
      </div>
29
 
30