integration vom Blog-plugin, hübschere webseite,

This commit is contained in:
Codex Agent
2025-09-26 17:41:17 +02:00
parent 492b9b9fd1
commit 6fc36ebaf4
31 changed files with 22823 additions and 96 deletions

View File

@@ -3,8 +3,15 @@
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
// Marketing-Seite unter Root
Route::view('/', 'marketing')->name('marketing');
// Marketing-Seite mit Locale-Prefix
Route::prefix('{locale?}')->where(['locale' => 'de|en'])->middleware('locale')->group(function () {
Route::view('/', 'marketing')->name('marketing');
Route::get('/occasions/{type}', function ($type) {
return view('marketing.occasions', ['type' => $type]);
})->name('occasions.type');
Route::get('/blog', [\App\Http\Controllers\MarketingController::class, 'blogIndex'])->name('blog');
Route::get('/blog/{post}', [\App\Http\Controllers\MarketingController::class, 'blogShow'])->name('blog.show');
});
Route::middleware(['auth', 'verified'])->group(function () {
Route::get('dashboard', function () {