@include('layouts.lang') @php $GLOBALS['themeName'] = config('advanced-config.home_theme'); @endphp @include('layouts.fonts') @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 @if($GLOBALS['themeName'] != '' and $GLOBALS['themeName'] != 'default') @if(theme('use_default_buttons') == "true") @else @endif @if(file_exists(base_path('themes/' . $GLOBALS['themeName'] . '/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($GLOBALS['themeName'] != '' and $GLOBALS['themeName'] != 'default')
@endif
@if(file_exists(base_path("assets/linkstack/images/").findFile('avatar'))) avatar @else
Logo
@endif

{{ config('app.name') }}

Example page

{{-- @php $icons = DB::table('links')->where('user_id', $userinfo->id)->where('button_id', 94)->get(); @endphp --}} @if(config('advanced-config.use_custom_buttons') == 'true') @foreach($array as $button) @php $linkName = str_replace('default ','',$button['button']) @endphp @if($button['button'] === "custom" and ($button['custom_css'] === "" or $button['custom_css'] === "NULL") or (theme('allow_custom_buttons') == "false" and $button['button'] === "custom")) @elseif($button['button'] === "custom" and $button['custom_css'] != "") @elseif($button['button'] === "buy me a coffee") @elseif($button['button'] === "custom_website" and ($button['custom_css'] === "" or $button['custom_css'] === "NULL") or (theme('allow_custom_buttons') == "false" and $button['button'] === "custom_website")) @elseif($button['button'] === "custom_website" and $button['custom_css'] != "") @elseif($button['button'] === "space") ",$button['title']); elseif (is_numeric($button['title']) and $button['title'] >= 10) echo str_repeat("
",10); else echo "


" ?> @elseif($button['button'] === "heading")

{{ $button['title'] }}

@else @endif @endforeach @else
button-iconGithub
button-iconTwitter
button-iconInstagram
@endif
@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