Skip to content

Commit a290e78

Browse files
committed
Added footer / credit option
Added a footer and a credit options. Both can be turned off in the config.
1 parent b1b7f34 commit a290e78

File tree

5 files changed

+105
-7
lines changed

5 files changed

+105
-7
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ REGISTER_AUTH=verified
55
#Internal notifications=Notify if update is available or and event is happening such as a poll about the future of this project.
66
NOTIFY_EVENTS=true
77
NOTIFY_UPDATES=true
8+
DISPLAY_FOOTER=true
9+
DISPLAY_CREDIT=true
810

911
#App Settings=Changes settings regarding your LittleLink Custom installation. You probably only want to change the App Name setting.
1012
#=App_Name changes the displayed name for the App in the title, for example.

littlelink/css/animate.css

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 2022 Animate.css
77
*/
88

9-
.button-entrance {
9+
.button-entrance {
1010
animation-name: zoomIn;
1111
animation-duration: 1s;
1212
animation-fill-mode: both;
@@ -80,3 +80,66 @@
8080
min-width: 55px;
8181
height: auto;
8282
}
83+
84+
.parent-footer {
85+
margin: auto;
86+
top: 35px;
87+
position: relative;
88+
right: 123px;
89+
}
90+
.image-footer1 {
91+
position: relative;
92+
width: 32px !important;
93+
min-width:32px;
94+
}
95+
96+
.image-footer2 {
97+
position: relative;
98+
bottom: 7px;
99+
right: 27px;
100+
width: 12px !important;
101+
min-width: 13px;
102+
height: auto;
103+
}
104+
105+
.parent-footers {
106+
margin: auto;
107+
top: 39px;
108+
position: relative;
109+
right: 12px;
110+
}
111+
.image-footers1 {
112+
position: relative;
113+
width: 32px !important;
114+
min-width:32px;
115+
}
116+
117+
.image-footers2 {
118+
position: relative;
119+
bottom: 0px;
120+
right: 26px;
121+
width: 12px !important;
122+
min-width: 13px;
123+
height: auto;
124+
}
125+
126+
.text-footers {
127+
padding-left: 22px;
128+
}
129+
130+
.sections {
131+
padding-left: 50px;
132+
}
133+
134+
@keyframes spin {
135+
100% {transform: rotate(1turn); }
136+
}
137+
138+
section:hover #footer_spin{
139+
animation-play-state: running;
140+
}
141+
142+
section #footer_spin{
143+
animation: spin 4s linear infinite;
144+
animation-play-state: paused;
145+
}
Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1-
<div class="footer" style="margin:5% 0px 35px 0px;">
2-
<!--<a href="/">Home</a>
3-
<a href="{{ url('') }}/pages/terms">Terms</a>
4-
<a href="{{ url('') }}/pages/privacy">Privacy</a>
5-
<a href="{{ url('') }}/pages/contact">Contact</a>-->
1+
<div class="footer fadein" style="margin:5% 0px 35px 0px;">
2+
@if(env('DISPLAY_FOOTER') === true)
3+
<a class="hvr-float" href="{{ url('') }}/">Home</a>
4+
<a class="hvr-float" href="{{ url('') }}/pages/terms">Terms</a>
5+
<a class="hvr-float" href="{{ url('') }}/pages/privacy">Privacy</a>
6+
<a class="hvr-float" href="{{ url('') }}/pages/contact">Contact</a>
7+
@endif
68
</div>
9+
10+
@if(env('DISPLAY_CREDIT') === true)
11+
<a href="https://littlelink-custom.com" target="_blank" title="Learn more">
12+
<section class="hvr-grow fadein">
13+
<div class="parent-footer" >
14+
<img id="footer_spin" class="footer_spin image-footer1 generic" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="LittleLink Custom"></img>
15+
<img class="image-footer2" src="{{ asset('littlelink/images/just-ll.svg') }}" alt="LittleLink Custom"></img>
16+
</div>
17+
18+
<a style="color: #FFFFFF; font-weight: 700; font-size: 15px;">Powered by LittleLink Custom</a>
19+
</section>
20+
</a><br><br><br>
21+
@endif

resources/views/layouts/sidebar.blade.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<title>Studio ⚙️ {{ config('app.name') }}</title>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<link rel="stylesheet" href="{{ asset('littlelink/css/hover-min.css') }}">
8+
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
79

810
<link href="//fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
911
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
@@ -108,15 +110,29 @@ function update_color_scheme() {
108110
<button type="submit" class="buttonLogout">Logout</button>
109111
</form>
110112
</ul>
111-
112113
<div class="footer">
114+
@if(env('DISPLAY_FOOTER') === true)
113115
<p>
114116
Copyright &copy; @php echo date('Y'); @endphp {{ config('app.name') }}<i class="icon-heart" aria-hidden="true"></i> </br>
115117
<a href="{{ url('') }}/">Home</a> .
116118
<a href="{{ url('') }}/pages/terms" target="_blank">Terms</a> .
117119
<a href="{{ url('') }}/pages/privacy" target="_blank">Privacy</a> .
118120
<a href="{{ url('') }}/pages/contact" target="_blank">Contact</a>
119121
</p>
122+
@endif
123+
@if(env('DISPLAY_CREDIT') === true)
124+
<a href="https://littlelink-custom.com" target="_blank" title="Learn more">
125+
<section class="hvr-grow fadein sections">
126+
<div class="parent-footers" >
127+
<img id="footer_spin" class="footer_spin image-footers1" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="LittleLink Custom"></img>
128+
<img class="image-footers2" src="{{ asset('littlelink/images/just-ll.svg') }}" alt="LittleLink Custom"></img>
129+
</div>
130+
131+
<a class="text-footers" style="color: #FFFFFF; font-weight: 700; font-size: 15px;">&nbsp;&nbsp;Powered by</a><br>
132+
<a class="text-footers" style="color: #FFFFFF; font-weight: 700; font-size: 15px;">LittleLink Custom</a>
133+
</section>
134+
</a>
135+
@endif
120136
</div>
121137
</div>
122138
</nav>

storage/backups/default_settings

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ REGISTER_AUTH=verified
55
#Internal notifications=Notify if update is available or and event is happening such as a poll about the future of this project.
66
NOTIFY_EVENTS=true
77
NOTIFY_UPDATES=true
8+
DISPLAY_FOOTER=true
9+
DISPLAY_CREDIT=true
810

911
#App Settings=Changes settings regarding your LittleLink Custom installation. You probably only want to change the App Name setting.
1012
#=App_Name changes the displayed name for the App in the title, for example.

0 commit comments

Comments
 (0)