@if(file_exists(base_path("img/" . $userinfo->id . ".png")))
id . ".png") }}" width="128px" height="128px" style="object-fit: cover;">
@elseif(file_exists(base_path("littlelink/images/").findFile('avatar')))
@else
@endif
{{ $info->name }}@if(($userinfo->role == 'vip' or $userinfo->role == 'admin') and theme('disable_verification_badge') != "true" and env('HIDE_VERIFICATION_CHECKMARK') != true and UserData::getData($userinfo->id, 'checkmark') != false)@include('components.verify-svg')@endif
@if(env('ALLOW_USER_HTML') === true){!! $info->littlelink_description !!}@else{{ $info->littlelink_description }}@endif
@php $icons = DB::table('links')->where('user_id', $userinfo->id)->where('button_id', 94)->get(); @endphp
@endforeach
@php $initial = 1; @endphp
@foreach($links as $link)
@php $linkName = str_replace('default ','',strtolower($link->title)) @endphp
@switch($link->name)
@case('icon')
@break
@case('phone')
@break
@case('default email')
@case('default email_alt')
@break
@case('buy me a coffee')
@break
@case('mastodon')
@break
@case('space')
@php
$title = $link->title;
if (is_numeric($title)) {
echo str_repeat("
", $title < 10 ? $title : 10);
} else {
echo "
";
}
@endphp
@break
@case('heading')
{{ $link->title }}
@break
@case('text')
@if(env('ALLOW_USER_HTML') === true){!! $link->title !!}@else{{ $link->title }}@endif
@break
@case('custom')
@if($link->custom_css != "")
@break
@elseif($link->custom_css === "" || $link->custom_css === "NULL" || (theme('allow_custom_buttons') == "false" && $link->name === "custom"))
@break
@endif
@case('custom_website')
@if($link->custom_css != "")
@break
@elseif($link->custom_css === "" || $link->custom_css === "NULL" || (theme('allow_custom_buttons') == "false" && $link->name === "custom"))
@break
@endif
@default
$value) { if($newLinkName == $key) { $newLinkName = $value; $isNewName = "true"; }} ?>
@endswitch
@endforeach
@include('layouts.footer')