login-seiten neu designt, homepage neu designt. "so funktioniert's" ergänzt und Demo-Seite hinzugefügt. Paketansicht in mobile verbessert.
This commit is contained in:
@@ -282,6 +282,16 @@ class MarketingController extends Controller
|
||||
return Inertia::render('marketing/BlogShow', compact('post'));
|
||||
}
|
||||
|
||||
public function howItWorks()
|
||||
{
|
||||
return Inertia::render('marketing/HowItWorks');
|
||||
}
|
||||
|
||||
public function demo()
|
||||
{
|
||||
return Inertia::render('marketing/Demo');
|
||||
}
|
||||
|
||||
public function packagesIndex()
|
||||
{
|
||||
$endcustomerPackages = Package::where('type', 'endcustomer')
|
||||
@@ -314,7 +324,7 @@ class MarketingController extends Controller
|
||||
'isInertia' => request()->header('X-Inertia'),
|
||||
]);
|
||||
|
||||
$validTypes = ['hochzeit', 'geburtstag', 'firmenevent'];
|
||||
$validTypes = ['hochzeit', 'geburtstag', 'firmenevent', 'konfirmation'];
|
||||
if (! in_array($type, $validTypes)) {
|
||||
Log::warning('Invalid occasion type accessed', ['type' => $type]);
|
||||
abort(404, 'Invalid occasion type');
|
||||
|
||||
Reference in New Issue
Block a user