export const socialIconsPlatforms = [
  {
    name: 'Twitter',
    onClick: null,
    href: 'https://twitter.com/',
  },
  {
    name: 'YouTube',
    onClick: null,
    href: 'https://www.youtube.com/',
  },
  {
    name: 'Facebook',
    onClick: null,
    href: 'https://www.facebook.com/',
  },
  {
    name: 'Pinterest',
    onClick: null,
    href: 'https://www.pinterest.com/',
  },
  {
    name: 'Instagram',
    onClick: null,
    href: 'https://www.instagram.com/',
  },
]

export const socialIconsBookmark = [
  {
    name: 'Twitter',
    onClick: 'window.open(\'https://twitter.com/intent/tweet?src_ref=\'+encodeURIComponent(location.href)+\'&url=\'+encodeURIComponent(location.href));return false;',
    href: 'https://twitter.com/',
  },
  {
    name: 'Facebook',
    onClick: 'window.open(\'https://www.facebook.com/sharer.php?u=\'+encodeURIComponent(location.href)+\'&amp;t=\'+encodeURIComponent(document.title));return false;',
    href: 'https://www.facebook.com/',
  },
  {
    name: 'XING',
    onClick: 'window.open(\'https://www.xing.com/spi/shares/new?url=\'+encodeURIComponent(location.href)+\';title=\'+encodeURIComponent(document.title)+\';provider=IHK24\');return false;',
    href: 'https://www.xing.com/',
  },
  {
    name: 'WhatsApp',
    onClick: 'window.open(\'whatsapp://send?text=\'+ encodeURIComponent(document.title)+\' \'+encodeURIComponent(location.href));return false;',
    href: 'https://www.whatsapp.com/',
  },
  {
    name: 'LinkedIn',
    onClick: 'window.open(\'https://www.linkedin.com/sharing/share-offsite/?url=\'+encodeURIComponent(location.href)+\'&title=\'+encodeURIComponent(document.title));return false;',
    href: 'https://www.linkedin.com/',
  },
  {
    name: 'Threema',
    onClick: 'window.open(\'threema://compose?text=\'+encodeURIComponent(location.href)+\' \'+encodeURIComponent(document.title));return false;',
    href: 'https://threema.ch/de/',
  },
  {
    name: 'Telegram',
    onClick: 'window.open(\'https://t.me/share/url?url=\'+encodeURIComponent(location.href));return false;',
    href: 'https://telegram.org/',
  },
]