diff --git a/config/button-names.php b/config/button-names.php new file mode 100644 index 0000000..4c26fe2 --- /dev/null +++ b/config/button-names.php @@ -0,0 +1,13 @@ + 'GitHub', + 'gitlab' => 'GitLab', + 'linkedin' => 'linkedIn', + 'paypal' => 'PayPal', + 'soundcloud' => 'SoundCloud', + 'tiktok' => 'TikTok', + 'whatsapp' => 'WhatsApp', + 'wordpress' => 'WordPress', + 'youtube' => 'YouTube', + ); diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index 22e7fb2..c6d845a 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -284,7 +284,8 @@ function get_operating_system() { @elseif($link->name === "heading")

{{ $link->title }}

@else -
button-icon{{ ucfirst($linkName) }}
+ $value) { if($newLinkName == $key) { $newLinkName = $value; } } ?> +
button-icon{{ ucfirst($newLinkName) }}
@endif @endforeach @@ -297,4 +298,4 @@ function get_operating_system() { @if(theme('enable_custom_code') == "true" and theme('enable_custom_body_end') == "true" and env('ALLOW_CUSTOM_CODE_IN_THEMES') == 'true')@include($GLOBALS['themeName'] . '.extra.custom-body-end')@endif - + \ No newline at end of file