Implementation for Next 13+ using the App Router.