I want to do like twitter/instagram profile url address and I want to get data from database. like: example.com/{username}. But I can not do that because I'm beginner in Laravel. How can I do this? And I'm using Laravel 8 and are my last two routes correct?

**My web.php is:**

```
Route::get('/test', [HomeController::class, 'test'])->name('test');

Route::middleware(['auth:sanctum', 'verified'])->get('/profile', function () {
    return view('design2.profile');
})->name('profile');
Route::middleware(['auth:sanctum', 'verified'])->get('/settings', function () {
    return view('design2.settings');
})->name('settings');

```

**My HomeController is:**

```
public function test(){
    return view('design2.test');
}

public function settings(){
    return view('design2.settings');
}

public function profile(){
    return view('design2.profile');
}

```