Redirects first-time visitors to the homepage; otherwise, respects browser history.
From shadcn/ui Expansions·MIT·Source