Added legal data

This commit is contained in:
2026-06-21 15:18:26 +02:00
parent dbcebbb2c4
commit a8205a4f96
6 changed files with 146 additions and 2 deletions
@@ -0,0 +1,20 @@
<?php
namespace App\Domains\Legal\Controllers;
use App\Providers\InertiaProvider;
use App\Scopes\CommonController;
use Illuminate\Http\Request;
use Inertia\Response;
class GdprController extends CommonController
{
public function __invoke(Request $request): Response
{
$inertiaProvider = new InertiaProvider('Legal/LegalPage', [
'title' => 'Datenschutzerklärung',
'content' => $this->tenant->gdpr_text ?? '',
]);
return $inertiaProvider->render();
}
}