Skip to content

Commit 0448907

Browse files
committed
Update finishing.blade.php
1 parent 409f60f commit 0448907

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
@@ -44,6 +44,27 @@ function getStringBetween($string, $start, $end) {
4444
if(EnvEditor::keyExists('FORCE_HTTPS')){ /* Do nothing if key already exists */
4545
} else {EnvEditor::addKey('FORCE_HTTPS', 'false');}
4646
47+
use App\Models\Page;
48+
$data['page'] = Page::select('contact')->first();
49+
if (strpos($data['page']->contact, '[email protected]') !== false) {
50+
$contact = '
51+
<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>
52+
53+
<p><strong>Feel free to send us your feedback!</strong></p>
54+
55+
<ul>
56+
<li>Join our <a href="https://discord.littlelink-custom.com/">community Discord</a></li>
57+
<li>Join the <a href="https://github.com/JulianPrieber/littlelink-custom/discussions">discussion forum</a></li>
58+
<li>Request a feature and add it to the <a href="https://github.com/JulianPrieber/littlelink-custom/discussions/49">to-do list</a></li>
59+
<li>Write us an <a href="mailto:[email protected]?subject=Inquiry%20about%20LittleLink%20Custom">email</a></li>
60+
</ul>
61+
62+
<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>
63+
64+
<p>&nbsp;</p>
65+
';
66+
Page::first()->update(['contact' => $contact]);
67+
4768
/* Updates button database entries */
4869
Schema::disableForeignKeyConstraints();
4970
DB::table('buttons')->delete();

0 commit comments

Comments
 (0)