From 044890799de10ac77007261f67946d6d6cde8b0a Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Wed, 9 Nov 2022 20:29:26 +0100 Subject: [PATCH] Update finishing.blade.php --- .../views/components/finishing.blade.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/resources/views/components/finishing.blade.php b/resources/views/components/finishing.blade.php index c1caf17..34e2678 100644 --- a/resources/views/components/finishing.blade.php +++ b/resources/views/components/finishing.blade.php @@ -44,6 +44,27 @@ if(EnvEditor::keyExists('FORCE_HTTPS')){ /* Do nothing if key already exists */ } else {EnvEditor::addKey('FORCE_HTTPS', 'false');} + use App\Models\Page; + $data['page'] = Page::select('contact')->first(); + if (strpos($data['page']->contact, 'info@littlelink-custom.com') !== false) { + $contact = ' +

LittleLink Custom is a free, open source link sharing platform. We depend on community feedback to steadily improve this project.

+ +

Feel free to send us your feedback!

+ + + +

If you're having any trouble or encountered a bug, feel free to open an issue on GitHub.

+ +

 

+ '; + Page::first()->update(['contact' => $contact]); + /* Updates button database entries */ Schema::disableForeignKeyConstraints(); DB::table('buttons')->delete();