Skip to content

Commit 25c9a98

Browse files
committed
Update finishing.blade.php
1 parent a5a8bbe commit 25c9a98

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

resources/views/components/finishing.blade.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,27 @@ function getStringBetween($string, $start, $end) {
5656
if(EnvEditor::keyExists('FORCE_HTTPS')){ /* Do nothing if key already exists */
5757
} else {EnvEditor::addKey('FORCE_HTTPS', 'false');}
5858
59+
use App\Models\Page;
60+
$data['page'] = Page::select('contact')->first();
61+
if (strpos($data['page']->contact, '[email protected]') !== false) {
62+
$contact = '
63+
<p><strong><a href="https://littlelink-custom.com/">LittleLink Custom</a></strong> is a free, open source&nbsp;link&nbsp;sharing platform. We depend on community feedback to steadily improve this project.</p>
64+
65+
<p><strong>Feel free to send us your feedback!</strong></p>
66+
67+
<ul>
68+
<li>Join our <a href="https://discord.littlelink-custom.com/">community Discord</a></li>
69+
<li>Join the <a href="https://github.com/JulianPrieber/littlelink-custom/discussions">discussion forum</a></li>
70+
<li>Request a feature and add it to the <a href="https://github.com/JulianPrieber/littlelink-custom/discussions/49">to-do list</a></li>
71+
<li>Write us an <a href="mailto:[email protected]?subject=Inquiry%20about%20LittleLink%20Custom">email</a></li>
72+
</ul>
73+
74+
<p>If you&#39;re having any trouble or encountered a bug, feel free to <a href="https://github.com/JulianPrieber/littlelink-custom/issues">open an issue on GitHub</a>.</p>
75+
76+
<p>&nbsp;</p>
77+
';
78+
Page::first()->update(['contact' => $contact]);
79+
5980
/* Updates button database entries */
6081
Schema::disableForeignKeyConstraints();
6182
DB::table('buttons')->delete();

0 commit comments

Comments
 (0)