Added dummy news route for link compatibility with the news component and check if news data contains news

This commit is contained in:
2025-05-06 22:36:47 +02:00
parent 6b632917c6
commit 2887c5dc68
3 changed files with 582 additions and 87 deletions
+4
View File
@@ -26,6 +26,10 @@ Route::get('/salesterms', function () {
return Inertia::render('Welcome');
})->name('salesTerms');
Route::get('/news', function () {
return Inertia::render('Welcome');
})->name('news');
Route::get('/p/{slug}', [PageRender::class, 'view'])->name('page.view');
Route::middleware(['auth', 'verified'])->group(function() {