Rendered generated pages menu links on the main page, cleaned up some code, and forced light mode for a consistent look
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
2025-05-05 22:32:28 +02:00
parent 75156d4e5e
commit 6b4c4e25d2
7 changed files with 42 additions and 478 deletions
+5 -1
View File
@@ -3,11 +3,15 @@
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use App\Helpers\PageBlocksHelper;
use App\Http\Controllers\Backend\PageBuilder;
use App\Http\Controllers\PageRender;
Route::get('/', function () {
return Inertia::render('Welcome');
return Inertia::render('Welcome', [
'menuLinks' => PageBlocksHelper::mainMenuLinks()
]);
})->name('forsiden');
Route::get('/privacypolicy', function () {