feat: Change support to donate and views

- Changed method name from support to donate in HomeController
- Updated footer link and view references from support to donate
- Renamed support.blade.php to donate.blade.php for consistency
- Updated route endpoint from /support-me to /donate in web.php
This commit is contained in:
Rico van Zelst
2024-06-18 12:31:08 +02:00
parent 2f49bb3b88
commit f01703830d
4 changed files with 6 additions and 6 deletions

View File

@@ -22,9 +22,9 @@ class HomeController extends Controller
]); ]);
} }
public function support() public function donate()
{ {
return view('support'); return view('donate');
} }
public function roadmap() public function roadmap()

View File

@@ -21,8 +21,8 @@
class="mr-4 hover:underline md:mr-6 decoration-orange-500 decoration-1">Contact</a> class="mr-4 hover:underline md:mr-6 decoration-orange-500 decoration-1">Contact</a>
</li> </li>
<li> <li>
<a href="/support-me" <a href="/donate"
class="mr-4 hover:underline md:mr-6 decoration-orange-500 decoration-1">Support</a> class="mr-4 hover:underline md:mr-6 decoration-orange-500 decoration-1">Donate</a>
</li> </li>
<li> <li>
<a href="/roadmap" <a href="/roadmap"

View File

@@ -10,7 +10,7 @@
<div class="max-w-3xl mx-auto text-center"> <div class="max-w-3xl mx-auto text-center">
<h1 <h1
class="text-3xl font-bold text-transparent uppercase sm:text-4xl bg-gradient-to-bl from-orange-300 to-orange-500 bg-clip-text"> class="text-3xl font-bold text-transparent uppercase sm:text-4xl bg-gradient-to-bl from-orange-300 to-orange-500 bg-clip-text">
Support the Project</h1> Donate to Heimerdinger</h1>
<h2 class="mt-4 text-stone-300"> <h2 class="mt-4 text-stone-300">
Heimerdinger.lol is ran and maintained by a single developer. If you enjoy the content and would like to Heimerdinger.lol is ran and maintained by a single developer. If you enjoy the content and would like to

View File

@@ -33,7 +33,7 @@ use Spatie\Sheets\Sheet;
Route::get('/', static fn () => (new HomeController())->index())->name('home'); Route::get('/', static fn () => (new HomeController())->index())->name('home');
Route::get('/support-me', static fn () => (new HomeController())->support())->name('support'); Route::get('/donate', static fn () => (new HomeController())->donate())->name('donate');
Route::get('/roadmap', static fn () => (new HomeController())->roadmap())->name('roadmap'); Route::get('/roadmap', static fn () => (new HomeController())->roadmap())->name('roadmap');