Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2776 Rev 2851
Línea 12... Línea 12...
12
  TwitterIcon,
12
  TwitterIcon,
13
  TwitterShareButton,
13
  TwitterShareButton,
14
  WhatsappIcon,
14
  WhatsappIcon,
15
  WhatsappShareButton
15
  WhatsappShareButton
16
} from 'react-share'
16
} from 'react-share'
17
import styled from 'styled-components'
-
 
18
 
-
 
19
import { addNotification } from 'store/notification/notification.actions'
-
 
20
import { axios } from '../../../utils'
17
import { styled } from '@mui/material'
21
import SharePopup from './mobile-share/MobileSharePopUp'
-
 
Línea -... Línea 18...
-
 
18
 
22
 
19
import { axios } from '@app/utils'
-
 
20
import { useMobile } from '@hooks'
-
 
21
import { addNotification } from '@app/redux/notification/notification.actions'
-
 
22
import colors from '@styles/colors'
-
 
23
 
Línea 23... Línea 24...
23
import { useMobile } from '@hooks'
24
import SharePopup from './mobile-share/MobileSharePopUp'
24
 
25
 
25
const StyledShareContainer = styled.div`
26
const StyledShareContainer = styled('div')(({ theme }) => ({
26
  display: flex;
27
  display: 'flex',
27
  position: absolute;
28
  position: 'absolute',
28
  align-items: center;
29
  alignItems: 'center',
29
  padding: 5px 1rem;
30
  padding: theme.spacing(0.5),
30
  bottom: calc(100% + 0.5rem);
31
  bottom: `calc(100% + ${theme.spacing(0.5)})`,
31
  gap: 0.5rem;
-
 
32
  right: 0;
32
  gap: theme.spacing(0.5),
33
  width: 16.5rem;
33
  right: 0,
34
  border-radius: 10px;
-
 
35
  background-color: #fff;
-
 
36
  box-shadow: 0px 4px 4px -2px rgb(0 0 0 / 12%),
34
  borderRadius: theme.shape.borderRadius,
Línea 37... Línea 35...
37
    0px -4px 4px -2px rgb(0 0 0 / 12%);
35
  backgroundColor: colors.main
38
`
36
}))
39
 
37
 
40
export default function withExternalShare(Component, url) {
38
export default function withExternalShare(Component, url) {