|
5 | 5 |
|
6 | 6 | @include('layouts.analytics') |
7 | 7 |
|
8 | | - @if(env('CUSTOM_META_TAGS') == 'true' and config('meta.title') != '') |
9 | | - <title>{{ config('meta.title') }}</title> |
| 8 | + @if(env('CUSTOM_META_TAGS') == 'true' and config('advanced-config.title') != '') |
| 9 | + <title>{{ config('advanced-config.title') }}</title> |
10 | 10 | @else |
11 | 11 | <title>{{ config('app.name') }}</title> |
12 | 12 | @endif |
|
32 | 32 | <link rel="icon" type="image/svg+xml" href="{{ asset('littlelink/images/logo.svg') }}"> |
33 | 33 | @endif |
34 | 34 |
|
35 | | -@if(config('meta.home_theme') != '' and config('meta.home_theme') != 'default') |
| 35 | +@if(config('advanced-config.home_theme') != '' and config('advanced-config.home_theme') != 'default') |
36 | 36 |
|
37 | | - <!-- LittleLink Custom Theme: "{{config('meta.home_theme')}}" --> |
| 37 | + <!-- LittleLink Custom Theme: "{{config('advanced-config.home_theme')}}" --> |
38 | 38 |
|
39 | | - <link rel="stylesheet" href="themes/{{config('meta.home_theme')}}/brands.css"> |
40 | | - <link rel="stylesheet" href="themes/{{config('meta.home_theme')}}/skeleton-auto.css"> |
41 | | -@if(file_exists(base_path('themes/' . config('meta.home_theme') . '/animations.css'))) |
42 | | - <link rel="stylesheet" href="<?php echo asset('themes/' . config('meta.home_theme') . '/animations.css') ?>"> |
| 39 | + <link rel="stylesheet" href="themes/{{config('advanced-config.home_theme')}}/brands.css"> |
| 40 | + <link rel="stylesheet" href="themes/{{config('advanced-config.home_theme')}}/skeleton-auto.css"> |
| 41 | +@if(file_exists(base_path('themes/' . config('advanced-config.home_theme') . '/animations.css'))) |
| 42 | + <link rel="stylesheet" href="<?php echo asset('themes/' . config('advanced-config.home_theme') . '/animations.css') ?>"> |
43 | 43 | @else |
44 | 44 | <link rel="stylesheet" href="{{ asset('littlelink/css/animations.css') }}"> |
45 | 45 | @endif |
|
53 | 53 | <link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}"> |
54 | 54 | @elseif ($color_scheme_override == 'light') |
55 | 55 | <link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-light.css') }}"> |
56 | | - @elseif (config('meta.theme') == 'dark') |
| 56 | + @elseif (config('advanced-config.theme') == 'dark') |
57 | 57 | <link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}"> |
58 | | - @elseif (config('meta.theme') == 'light') |
| 58 | + @elseif (config('advanced-config.theme') == 'light') |
59 | 59 | <link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-light.css') }}"> |
60 | 60 | @else |
61 | 61 | <link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-auto.css') }}"> |
|
68 | 68 | </head> |
69 | 69 | <body> |
70 | 70 |
|
71 | | -@if(config('meta.home_theme') != '' and config('meta.home_theme') != 'default') |
| 71 | +@if(config('advanced-config.home_theme') != '' and config('advanced-config.home_theme') != 'default') |
72 | 72 | <!-- Enables parallax background animations --> |
73 | 73 | <div class="background-container"> |
74 | 74 | <section class="parallax-background"> |
|
136 | 136 |
|
137 | 137 | <!-- Buttons --> |
138 | 138 | <?php $initial=1; // <-- Effectively sets the initial loading time of the buttons. This value should be left at 1. ?> |
139 | | -@if(config('meta.use_custom_buttons') == 'true') |
140 | | - <?php $array = config('meta.buttons'); ?> |
| 139 | +@if(config('advanced-config.use_custom_buttons') == 'true') |
| 140 | + <?php $array = config('advanced-config.buttons'); ?> |
141 | 141 | @foreach($array as $button) |
142 | 142 | @php $linkName = str_replace('default ','',$button['button']) @endphp |
143 | 143 | @if($button['button'] === "custom" and $button['custom_css'] === "" or $button['custom_css'] === "NULL") |
|
173 | 173 | </br></br> |
174 | 174 |
|
175 | 175 | <div class="fadein"> |
176 | | - @if(config('meta.home_footer') == 'custom') |
177 | | - <p><?php $year = date("Y"); echo strtr(config('meta.custom_home_footer_text'), array('{year}' => $year)); ?></p> |
178 | | - @elseif(config('meta.home_footer') == 'alt') |
| 176 | + @if(config('advanced-config.home_footer') == 'custom') |
| 177 | + <p><?php $year = date("Y"); echo strtr(config('advanced-config.custom_home_footer_text'), array('{year}' => $year)); ?></p> |
| 178 | + @elseif(config('advanced-config.home_footer') == 'alt') |
179 | 179 | <p><i style="position:relative;top:1px;" class="fa-solid fa-infinity"></i> - Button combinations</p> |
180 | | - @elseif(config('meta.home_footer') == 'false') |
| 180 | + @elseif(config('advanced-config.home_footer') == 'false') |
181 | 181 | @else |
182 | 182 | <p>and {{ $countButton - 3 }} other buttons ...</p> |
183 | 183 | @endif |
|
0 commit comments