<Routes>
<Route path="/" element={<GuestLayout />}> // <-- layout wraps children routes
<Route path="login" element={<Login />} /> // <-- "/login"
// Optional index route if no nested routes match
<Route
index // <-- "/"
element={<div>Default Page Content</div>}
/>
</Route>
</Routes>
Never look this up again