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
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
This commit is contained in:
+5
-1
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user