backdrop-contrib / on_the_web

A single block for social media icons that link to your brand's content located elsewhere on the web.
GNU General Public License v2.0
2 stars 3 forks source link

Add link/icon for TikTok and TikTok square #33

Open jenlampton opened 3 years ago

jenlampton commented 3 years ago

I have a client that wants a TikTok icon in their social suite.

Libraries:

jenlampton commented 3 years ago

There is not a tiktok icon in FontAwesome version 4.7.0, so we'll need to investigate some other options.

jenlampton commented 3 years ago

See https://github.com/backdrop-contrib/on_the_web/issues/34 and related request for tiktok icon: https://github.com/ForkAwesome/Fork-Awesome/issues/250

See https://github.com/backdrop-contrib/on_the_web/issues/35 And related request for tiktok square icon:https://github.com/FortAwesome/Font-Awesome/issues/18207

jenlampton commented 3 years ago

Until the icons are added, I am adding tiktok via a custom module:

function custom_on_the_web_get_services_alter(&$services) {
  // Add an additional service.
  $services['tiktok'] = array(
    'name' => 'TikTok',
    'fa-icon' => 'fa-tiktok',
  );
}
yorkshire-pudding commented 2 years ago

I'll add a vote to this. I can see it becoming more and more important to sites in the short term...

albanycomputers commented 2 years ago

Vote for this as well.... Many thanks

jenlampton commented 2 years ago

Great, that's 3 votes :) now we just need the icon... Can either of you vote for the icon requests for the fonts? (links above)

jenlampton commented 1 year ago

FontAwesome 5 added one version of the tiktok icon, so I'm adding it to this module. It will be available in the next version, but I am going to leave this issue open since we are still missing the square version of the icon across all options.

jenlampton commented 5 months ago

In version 3.x of this module I've used the core Phosphor icons and it has several versions of the TikTok logo. I've added some adaptations for "square". That means it's only missing for FA4 and ForkAwesome. I'll add that note into the description.