First Commit

This commit is contained in:
Esteban
2026-07-03 16:27:34 +02:00
commit 7a7440daab
8955 changed files with 1117958 additions and 0 deletions
+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');
}
}