To add a link to the root domain or home in Laravel Jetstream with Inertia, you can use the route() helper function with the name of the route that points to the home page. If you don't have a named route for the home page, you can create one in your routes/web.php file like this:
Route::get('/', function () {
return Inertia\Inertia::render('Welcome');
})->name('home');
Then, in your Jetstream navigation links, you can use the route() helper function with the name of the home route like this:
<!-- Navigation Links -->
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<NavLink :href="route('home')" :active="route().current('home')">
Home
</NavLink>
</div>
This will generate a link to the root domain that points to the home page of your application.