First Commit

This commit is contained in:
Esteban committed 2026-07-03 16:27:34 +02:00
commit 7a7440daab
8955 files changed
+1117958

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\RedirectResponse;
use Illuminate\View\View;
class PageController extends Controller
{
public function home(): View|RedirectResponse
{
if (auth()->check()) {
return redirect()->route('dashboard');
}
return view('home', [
'hasOwner' => User::query()->exists(),
]);
}
public function selfHosting(): View
{
return view('self-hosting');
}
}