assets: serve social icons locally, remove simpleicons CDN dependency
LinkedIn, X, Facebook, WhatsApp, TikTok, Snapchat icons now served from /assets/social/ instead of cdn.simpleicons.org. LinkedIn uses the official brand PNG from Downloads; remaining icons are scraped SVGs.
This commit is contained in:
+7
-7
@@ -314,22 +314,22 @@ body::before{content:'';position:fixed;inset:0;pointer-events:none;z-index:0;bac
|
||||
<span class=\"share-label\">Share</span>
|
||||
<div class=\"share-row\">
|
||||
<a href=\"" + x_href + "\" target=\"_blank\" rel=\"noopener\" class=\"share-btn\" title=\"Post on X\" style=\"background:#000\">
|
||||
<img src=\"https://cdn.simpleicons.org/x/ffffff\" width=\"18\" height=\"18\" alt=\"X\">
|
||||
<img src=\"/assets/social/x.svg\" width=\"18\" height=\"18\" alt=\"X\">
|
||||
</a>
|
||||
<a href=\"" + li_href + "\" target=\"_blank\" rel=\"noopener\" class=\"share-btn\" title=\"Share on LinkedIn\" style=\"background:#0A66C2\">
|
||||
<img src=\"https://cdn.simpleicons.org/linkedin/ffffff\" width=\"18\" height=\"18\" alt=\"LinkedIn\">
|
||||
<a href=\"" + li_href + "\" target=\"_blank\" rel=\"noopener\" class=\"share-btn\" title=\"Share on LinkedIn\" style=\"background:transparent\">
|
||||
<img src=\"/assets/social/linkedin.png\" width=\"18\" height=\"18\" alt=\"LinkedIn\">
|
||||
</a>
|
||||
<a href=\"" + fb_href + "\" target=\"_blank\" rel=\"noopener\" class=\"share-btn\" title=\"Share on Facebook\" style=\"background:#1877F2\">
|
||||
<img src=\"https://cdn.simpleicons.org/facebook/ffffff\" width=\"18\" height=\"18\" alt=\"Facebook\">
|
||||
<img src=\"/assets/social/facebook.svg\" width=\"18\" height=\"18\" alt=\"Facebook\">
|
||||
</a>
|
||||
<a href=\"" + wa_href + "\" target=\"_blank\" rel=\"noopener\" class=\"share-btn\" title=\"Send via WhatsApp\" style=\"background:#25D366\">
|
||||
<img src=\"https://cdn.simpleicons.org/whatsapp/ffffff\" width=\"18\" height=\"18\" alt=\"WhatsApp\">
|
||||
<img src=\"/assets/social/whatsapp.svg\" width=\"18\" height=\"18\" alt=\"WhatsApp\">
|
||||
</a>
|
||||
<button class=\"share-btn\" id=\"copy-tiktok\" onclick=\"copyForPlatform('tiktok', this)\" title=\"Copy for TikTok\" style=\"background:#010101;border:none\">
|
||||
<img src=\"https://cdn.simpleicons.org/tiktok/ffffff\" width=\"18\" height=\"18\" alt=\"TikTok\">
|
||||
<img src=\"/assets/social/tiktok.svg\" width=\"18\" height=\"18\" alt=\"TikTok\">
|
||||
</button>
|
||||
<button class=\"share-btn\" id=\"copy-snapchat\" onclick=\"copyForPlatform('snapchat', this)\" title=\"Copy for Snapchat\" style=\"background:#FFFC00;border:none\">
|
||||
<img src=\"https://cdn.simpleicons.org/snapchat/000000\" width=\"18\" height=\"18\" alt=\"Snapchat\">
|
||||
<img src=\"/assets/social/snapchat.svg\" width=\"18\" height=\"18\" alt=\"Snapchat\">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user