diff --git a/webroot/img/socialhandles/bandcamp.svg b/webroot/img/platformlogos/bandcamp.svg similarity index 100% rename from webroot/img/socialhandles/bandcamp.svg rename to webroot/img/platformlogos/bandcamp.svg diff --git a/webroot/img/socialhandles/default.svg b/webroot/img/platformlogos/default.svg similarity index 100% rename from webroot/img/socialhandles/default.svg rename to webroot/img/platformlogos/default.svg diff --git a/webroot/img/socialhandles/discord.svg b/webroot/img/platformlogos/discord.svg similarity index 100% rename from webroot/img/socialhandles/discord.svg rename to webroot/img/platformlogos/discord.svg diff --git a/webroot/img/socialhandles/facebook.svg b/webroot/img/platformlogos/facebook.svg similarity index 100% rename from webroot/img/socialhandles/facebook.svg rename to webroot/img/platformlogos/facebook.svg diff --git a/webroot/img/socialhandles/github.svg b/webroot/img/platformlogos/github.svg similarity index 100% rename from webroot/img/socialhandles/github.svg rename to webroot/img/platformlogos/github.svg diff --git a/webroot/img/socialhandles/gitlab.svg b/webroot/img/platformlogos/gitlab.svg similarity index 100% rename from webroot/img/socialhandles/gitlab.svg rename to webroot/img/platformlogos/gitlab.svg diff --git a/webroot/img/socialhandles/google.svg b/webroot/img/platformlogos/google.svg similarity index 100% rename from webroot/img/socialhandles/google.svg rename to webroot/img/platformlogos/google.svg diff --git a/webroot/img/socialhandles/instagram.svg b/webroot/img/platformlogos/instagram.svg similarity index 100% rename from webroot/img/socialhandles/instagram.svg rename to webroot/img/platformlogos/instagram.svg diff --git a/webroot/img/socialhandles/keyoxide.png b/webroot/img/platformlogos/keyoxide.png similarity index 100% rename from webroot/img/socialhandles/keyoxide.png rename to webroot/img/platformlogos/keyoxide.png diff --git a/webroot/img/socialhandles/ko-fi.svg b/webroot/img/platformlogos/ko-fi.svg similarity index 100% rename from webroot/img/socialhandles/ko-fi.svg rename to webroot/img/platformlogos/ko-fi.svg diff --git a/webroot/img/socialhandles/linkedin.svg b/webroot/img/platformlogos/linkedin.svg similarity index 100% rename from webroot/img/socialhandles/linkedin.svg rename to webroot/img/platformlogos/linkedin.svg diff --git a/webroot/img/socialhandles/mastodon.svg b/webroot/img/platformlogos/mastodon.svg similarity index 100% rename from webroot/img/socialhandles/mastodon.svg rename to webroot/img/platformlogos/mastodon.svg diff --git a/webroot/img/socialhandles/patreon.svg b/webroot/img/platformlogos/patreon.svg similarity index 100% rename from webroot/img/socialhandles/patreon.svg rename to webroot/img/platformlogos/patreon.svg diff --git a/webroot/img/socialhandles/paypal.svg b/webroot/img/platformlogos/paypal.svg similarity index 100% rename from webroot/img/socialhandles/paypal.svg rename to webroot/img/platformlogos/paypal.svg diff --git a/webroot/img/socialhandles/snapchat.svg b/webroot/img/platformlogos/snapchat.svg similarity index 100% rename from webroot/img/socialhandles/snapchat.svg rename to webroot/img/platformlogos/snapchat.svg diff --git a/webroot/img/socialhandles/soundcloud.svg b/webroot/img/platformlogos/soundcloud.svg similarity index 100% rename from webroot/img/socialhandles/soundcloud.svg rename to webroot/img/platformlogos/soundcloud.svg diff --git a/webroot/img/socialhandles/spotify.svg b/webroot/img/platformlogos/spotify.svg similarity index 100% rename from webroot/img/socialhandles/spotify.svg rename to webroot/img/platformlogos/spotify.svg diff --git a/webroot/img/socialhandles/tiktok.svg b/webroot/img/platformlogos/tiktok.svg similarity index 100% rename from webroot/img/socialhandles/tiktok.svg rename to webroot/img/platformlogos/tiktok.svg diff --git a/webroot/img/socialhandles/twitch.svg b/webroot/img/platformlogos/twitch.svg similarity index 100% rename from webroot/img/socialhandles/twitch.svg rename to webroot/img/platformlogos/twitch.svg diff --git a/webroot/img/socialhandles/twitter.svg b/webroot/img/platformlogos/twitter.svg similarity index 100% rename from webroot/img/socialhandles/twitter.svg rename to webroot/img/platformlogos/twitter.svg diff --git a/webroot/img/socialhandles/youtube.svg b/webroot/img/platformlogos/youtube.svg similarity index 100% rename from webroot/img/socialhandles/youtube.svg rename to webroot/img/platformlogos/youtube.svg diff --git a/webroot/js/components/platform-logos-list.js b/webroot/js/components/platform-logos-list.js index 3c31838fd..a42449eb2 100644 --- a/webroot/js/components/platform-logos-list.js +++ b/webroot/js/components/platform-logos-list.js @@ -12,7 +12,7 @@ function SocialIcon(props) { const iconSupplied = !!icon const name = inList ? platformInfo.name : platform; - const finalIcon = iconSupplied ? icon : (inList ? platformInfo.icon : '/img/socialhandles/default.svg') + const finalIcon = iconSupplied ? icon : (inList ? platformInfo.icon : '/img/platformlogos/default.svg') const style = `background-image: url(${finalIcon});` diff --git a/webroot/js/utils/platforms.js b/webroot/js/utils/platforms.js index 77d7d1e33..681b0d8c2 100644 --- a/webroot/js/utils/platforms.js +++ b/webroot/js/utils/platforms.js @@ -1,83 +1,83 @@ export const SOCIAL_PLATFORMS = { default: { name: "default", - icon: '/img/socialhandles/default.svg', + icon: '/img/platformlogos/default.svg', }, facebook: { name: "Facebook", - icon: '/img/socialhandles/facebook.svg', + icon: '/img/platformlogos/facebook.svg', }, twitter: { name: "Twitter", - icon: '/img/socialhandles/twitter.svg', + icon: '/img/platformlogos/twitter.svg', }, instagram: { name: "Instagram", - icon: '/img/socialhandles/instagram.svg', + icon: '/img/platformlogos/instagram.svg', }, snapchat: { name: "Snapchat", - icon: '/img/socialhandles/snapchat.svg', + icon: '/img/platformlogos/snapchat.svg', }, tiktok: { name: "TikTok", - icon: '/img/socialhandles/tiktok.svg', + icon: '/img/platformlogos/tiktok.svg', }, soundcloud: { name: "Soundcloud", - icon: '/img/socialhandles/soundcloud.svg', + icon: '/img/platformlogos/soundcloud.svg', }, bandcamp: { name: "Bandcamp", - icon: '/img/socialhandles/bandcamp.svg', + icon: '/img/platformlogos/bandcamp.svg', }, patreon: { name: "Patreon", - icon: '/img/socialhandles/patreon.svg', + icon: '/img/platformlogos/patreon.svg', }, youtube: { name: "YouTube", - icon: '/img/socialhandles/youtube.svg', + icon: '/img/platformlogos/youtube.svg', }, spotify: { name: "Spotify", - icon: '/img/socialhandles/spotify.svg', + icon: '/img/platformlogos/spotify.svg', }, twitch: { name: "Twitch", - icon: '/img/socialhandles/twitch.svg', + icon: '/img/platformlogos/twitch.svg', }, paypal: { name: "Paypal", - icon: '/img/socialhandles/paypal.svg', + icon: '/img/platformlogos/paypal.svg', }, github: { name: "Github", - icon: '/img/socialhandles/github.svg', + icon: '/img/platformlogos/github.svg', }, linkedin: { name: "LinkedIn", - icon: '/img/socialhandles/linkedin.svg', + icon: '/img/platformlogos/linkedin.svg', }, discord: { name: "Discord", - icon: '/img/socialhandles/discord.svg', + icon: '/img/platformlogos/discord.svg', }, mastodon: { name: "Mastodon", - icon: '/img/socialhandles/mastodon.svg', + icon: '/img/platformlogos/mastodon.svg', }, gitlab: { name: "Gitlab", - icon: '/img/socialhandles/gitlab.svg', + icon: '/img/platformlogos/gitlab.svg', }, kofi: { name: "Ko-Fi", - icon: '/img/socialhandles/ko-fi.svg', + icon: '/img/platformlogos/ko-fi.svg', }, keyoxide: { name: "Key Oxide", - icon: '/img/socialhandles/keyoxide.png', + icon: '/img/platformlogos/keyoxide.png', }, };