Skip to content

Commit b6efcde

Browse files
committed
Added dark mode for credit footer
Lazy quick fix
1 parent 2674860 commit b6efcde

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

resources/views/layouts/footer.blade.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@
88
</div>
99

1010
@if(env('DISPLAY_CREDIT') === true)
11+
<?php if ($color_scheme == 'dark') {
12+
$textcolor = '#FFFFFF';
13+
} else {
14+
$textcolor = '#100a26';
15+
} ?>
1116
<a href="https://littlelink-custom.com" target="_blank" title="Learn more">
1217
<section class="hvr-grow fadein">
1318
<div class="parent-footer" >
1419
<img id="footer_spin" class="footer_spin image-footer1 generic" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="LittleLink Custom"></img>
1520
<img class="image-footer2" src="{{ asset('littlelink/images/just-ll.svg') }}" alt="LittleLink Custom"></img>
1621
</div>
1722

18-
<a href="https://littlelink-custom.com" style="color: #FFFFFF; font-weight: 700; font-size: 15px;">Powered by LittleLink Custom</a>
23+
<a href="https://littlelink-custom.com" style="color: {{ $textcolor }}; font-weight: 700; font-size: 15px;">Powered by LittleLink Custom</a>
1924
</section>
2025
</a><br><br><br>
2126
@endif

0 commit comments

Comments
 (0)