diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index f861735..fe08258 100755 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -135,6 +135,7 @@ foreach($pages as $page) + @if(config('advanced-config.use_custom_buttons') == 'true') @@ -147,9 +148,9 @@ foreach($pages as $page) @elseif($button['button'] === "buy me a coffee")
@elseif($button['button'] === "custom_website"and $button['custom_css'] === "" or $button['custom_css'] === "NULL") - + @elseif($button['button'] === "custom_website" and $button['custom_css'] != "") - + @elseif($button['button'] === "space") + @foreach($links as $link) @php $linkName = str_replace('default ','',$link->name) @endphp @@ -243,9 +244,9 @@ function get_operating_system() { @elseif($link->name === "buy me a coffee") @elseif($link->name === "custom_website"and $link->custom_css === "" or $link->custom_css === "NULL") - + @elseif($link->name === "custom_website" and $link->custom_css != "") - + @elseif($link->name === "space") title) and $link->title < 10) diff --git a/resources/views/studio/button-editor.blade.php b/resources/views/studio/button-editor.blade.php index 2c44db3..4e8e1cd 100644 --- a/resources/views/studio/button-editor.blade.php +++ b/resources/views/studio/button-editor.blade.php @@ -3,6 +3,7 @@ @section('content') @push('sidebar-scripts') +