Added dark mode for credit footer

Lazy quick fix
This commit is contained in:
Julian Prieber 2022-03-22 10:17:47 +01:00
parent 26748606bc
commit b6efcde8a5
1 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,11 @@
</div> </div>
@if(env('DISPLAY_CREDIT') === true) @if(env('DISPLAY_CREDIT') === true)
<?php if ($color_scheme == 'dark') {
$textcolor = '#FFFFFF';
} else {
$textcolor = '#100a26';
} ?>
<a href="https://littlelink-custom.com" target="_blank" title="Learn more"> <a href="https://littlelink-custom.com" target="_blank" title="Learn more">
<section class="hvr-grow fadein"> <section class="hvr-grow fadein">
<div class="parent-footer" > <div class="parent-footer" >
@ -15,7 +20,7 @@
<img class="image-footer2" src="{{ asset('littlelink/images/just-ll.svg') }}" alt="LittleLink Custom"></img> <img class="image-footer2" src="{{ asset('littlelink/images/just-ll.svg') }}" alt="LittleLink Custom"></img>
</div> </div>
<a href="https://littlelink-custom.com" style="color: #FFFFFF; font-weight: 700; font-size: 15px;">Powered by LittleLink Custom</a> <a href="https://littlelink-custom.com" style="color: {{ $textcolor }}; font-weight: 700; font-size: 15px;">Powered by LittleLink Custom</a>
</section> </section>
</a><br><br><br> </a><br><br><br>
@endif @endif