#How do I format the links for a admin console on Laravel?

1 messages · Page 1 of 1 (latest)

dusty nova
#

As seen in the image you should be able to see that I'm trying to get something like the second image that has everything on the right side for settings but the settings and other tabs come out in the centre. I'm struggling with the code for the drop down menus and also the settings. also attached is what frameworks of laravel im using. Following also is what I have within the dashboard for it.

#

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
*/

// Frontend homepage
Route::get('/', function () {
    return view('frontend');
});

// Admin dashboard
Route::get('/admin', function () {
    return view('admin');
});

// Grouped admin routes
Route::prefix('admin')->group(function () {

    // Settings page
    Route::get('/settings', function () {
        return view('admin.settings');
    });

    // Classes section
    Route::prefix('classes')->group(function () {
        Route::get('/full-schedule', function () {
            return view('admin.classes.full-schedule');
        });

        // You can enable these as needed:
        // Route::get('/', function () {
        //     return view('admin.classes.index');
        // });

        // Route::get('/appointments', function () {
        //     return view('admin.classes.appointments');
        // });

        // Route::get('/events', function () {
        //     return view('admin.classes.events');
        // });
    });
});```