profileDisplay2 {r2social}R Documentation

Display Social Links on Profile Card

Description

Social profile card for a any profile

Usage

profileDisplay2(item)

Arguments

item

list of profiles along with their image and other items

Value

HTML of social links displayed on a card

Examples


profileDisplay2(
  list(
    a = list(
      name = "Obi Obianom",
      image = "https://r2social.obi.obianom.com/misc/team3.jpg",
      social = list(
        list(
          name = "x",
          link = "https://x.com/R2Rpkg"
        ),
        list(
          name = "linkedin",
          link = "https://linkedin.com/oobianom"
        ),
        list(
          name = "website",
          link = "https://obianom.com"
        ),
        list(
          name = "youtube",
          link = "https://youtube.com/R2Rpkg"
        )
      )
    ),
    b = list(
      name = "William Hane",
      title = "Core Developer",
      image = "https://r2social.obi.obianom.com/misc/team1.jpg",
      social = list(list(
        name = "youtube",
        link = "https://youtube.com/R2Rpkg"
      ))
    ),
    c = list(
      name = "Maximillian Qian",
      title = "Code Cleaner",
      image = "https://r2social.obi.obianom.com/misc/team2.jpg",
      social = list(list(
        name = "facebook",
        link = "https://facebook.com/R2Rpkg"
      ))
    )
  )
)


[Package r2social version 1.2.1 Index]