@include('layouts.lang') @foreach($information as $info) @php $GLOBALS['themeName'] = $info->theme; @endphp @endforeach @if(theme('enable_custom_code') == "true" and theme('enable_custom_head') == "true" and env('ALLOW_CUSTOM_CODE_IN_THEMES') == 'true')@include($GLOBALS['themeName'] . '.extra.custom-head')@endif @include('layouts.analytics') @if(config('advanced-config.littlelink_title') != '' and env('HOME_URL') === '') {{ $userinfo->name }} {{ config('advanced-config.littlelink_title') }} @elseif(env('CUSTOM_META_TAGS') == 'true' and config('advanced-config.title') != '') {{ config('advanced-config.title') }} @elseif(env('HOME_URL') != '') {{ $userinfo->name }} @else {{ $userinfo->name }} 🔗 {{ config('app.name') }} @endif @if(env('CUSTOM_META_TAGS') == 'true') @include('layouts.meta') @else @endif @php $customBackgroundFile = findBackground($userinfo->id); $customBackgroundPath = base_path('/img/background-img/'.$customBackgroundFile); $customBackgroundURL = url('/img/background-img/'.$customBackgroundFile); $customBackgroundExists = file_exists($customBackgroundPath); if($customBackgroundExists == true){ $customBackgroundBrightness = analyzeImageBrightness($customBackgroundFile); } else { $customBackgroundBrightness = false;} @endphp @if($customBackgroundExists == true) @endif @if(file_exists(base_path("img/$littlelink_name" . ".png" ))) @else @endif @if(file_exists(base_path("img/$littlelink_name" . ".png" ))) @else @endif @include('layouts.fonts') @if(file_exists(base_path("littlelink/images/").findFile('favicon'))) @else @endif @foreach($information as $info) @if($info->theme != '' and $info->theme != 'default') @if(theme('use_default_buttons') == "true") @else @endif @if(file_exists(base_path('themes/' . $info->theme . '/animations.css'))) @else @endif @else @if ($customBackgroundExists == true and $customBackgroundBrightness == 'dark') @elseif ($customBackgroundExists == true and $customBackgroundBrightness == 'light') @elseif ($color_scheme_override == 'dark') @elseif ($color_scheme_override == 'light') @elseif (config('advanced-config.theme') == 'dark') @elseif (config('advanced-config.theme') == 'light') @else @endif @endif @if(theme('enable_custom_code') == "true" and theme('enable_custom_body') == "true" and env('ALLOW_CUSTOM_CODE_IN_THEMES') == 'true')@include($GLOBALS['themeName'] . '.extra.custom-body')@endif @if($info->theme != '' and $info->theme != 'default')
@endif @include('components.favicon') @include('components.favicon-extension') @if(config('advanced-config.display_share_button') != '') @if(config('advanced-config.display_share_button') == 'false') @elseif(config('advanced-config.display_share_button') == 'user') @if($littlelink_names = Auth::user()->littlelink_name) @else @endif @else @endif @else @endif @if($ShowShrBtn == 'true') @if($user_browser === 'Chrome' or get_operating_system() == 'mobile')
@else
@endif @endif
@if(file_exists(base_path("img/" . $userinfo->id . ".png"))) avatarid . ".png") }}" width="128px" height="128px" style="object-fit: cover;"> @elseif(file_exists(base_path("littlelink/images/").findFile('avatar'))) avatar @else avatar @endif

{{ $info->name }}@if(($userinfo->role == 'vip' or $userinfo->role == 'admin') and theme('disable_verification_badge') != "true" and env('HIDE_VERIFICATION_CHECKMARK') != true)@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 @foreach($links as $link) @php $linkName = str_replace('default ','',$link->name) @endphp @if($link->name === "icon") @elseif($link->button_id === 0) @elseif($link->name === "phone") @elseif($link->name === "custom" and $link->custom_css === "" or $link->custom_css === "NULL" or (theme('allow_custom_buttons') == "false" and $link->name === "custom")) @elseif($link->name === "custom" and $link->custom_css != "") @elseif($link->name === "buy me a coffee") @elseif($link->name === "mastodon") @elseif($link->name === "custom_website"and $link->custom_css === "" or $link->custom_css === "NULL" or (theme('allow_custom_buttons') == "false" and $link->name === "custom")) @elseif($link->name === "custom_website" and $link->custom_css != "") @elseif($link->name === "space") title) and $link->title < 10) echo str_repeat("
",$link->title); elseif (is_numeric($link->title) and $link->title >= 10) echo str_repeat("
",10); else echo "


" ?> @elseif($link->name === "heading")

{{ $link->title }}

@elseif($link->name === "text")
@if(env('ALLOW_USER_HTML') === true){!! $link->title !!}@else{{ $link->title }}@endif
@else $value) { if($newLinkName == $key) { $newLinkName = $value; $isNewName = "true"; } } ?> @endif @endforeach @include('layouts.footer')
@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