@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.linkstack_title') != '' and env('HOME_URL') === '') {{ $userinfo->name }} {{ config('advanced-config.linkstack_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 @if(theme('allow_custom_background') != "false") @php $customBackgroundFile = findBackground($userinfo->id); $customBackgroundPath = base_path('assets/img/background-img/'.$customBackgroundFile); $customBackgroundURL = url('assets/img/background-img/'.$customBackgroundFile); $customBackgroundExists = file_exists($customBackgroundPath); if($customBackgroundExists == true){ $customBackgroundBrightness = analyzeImageBrightness($customBackgroundFile); } else { $customBackgroundBrightness = false;} @endphp @if($customBackgroundExists == true) @endif @endif @if(file_exists(base_path(findAvatar($userinfo->id)))) @elseif(file_exists(base_path("assets/linkstack/images/").findFile('avatar'))) @else @endif @if(file_exists(base_path(findAvatar($userinfo->id)))) @elseif(file_exists(base_path("assets/linkstack/images/").findFile('avatar'))) @else @endif @include('layouts.fonts') @if(file_exists(base_path("assets/linkstack/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 @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' and UserData::getData($userinfo->id, 'disable-sharebtn') != "true") @if($user_browser === 'Chrome' or get_operating_system() == 'mobile')
@else
@endif @endif
@if(file_exists(base_path(findAvatar($userinfo->id)))) avatar @elseif(file_exists(base_path("assets/linkstack/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 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 ','',$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('vcard') @break @case('custom') @if($link->custom_css === "" or $link->custom_css === "NULL" or (theme('allow_custom_buttons') == "false")) @break @elseif($link->custom_css != "") @break @endif @case('custom_website') @if($link->custom_css === "" or $link->custom_css === "NULL" or (theme('allow_custom_buttons') == "false")) @break @elseif($link->custom_css != "") @break @endif @default $value) { if($newLinkName == $key) { $newLinkName = $value; $isNewName = "true"; }} ?> @endswitch @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