Next 13 App folder question

Hi, so I would need to open links and go to #sections on my app. Can I make these #sections work somehow when being on a different subfolder? So for example in /orders I would want to go to /shop#faq in the shared Navbar which is rendered in the shared root layout. Now can I delete my root page and make the /shop the default, in other words redirect to it once a user goes to / ? Any suggestion would be appreciated. This is the app I am working on https://github.com/GeroWalther/moonlamp-onlineshop
GitHub
GitHub - GeroWalther/moonlamp-onlineshop: TypeScript, Next.js 13, F...
TypeScript, Next.js 13, Framer-Motion, Zustand, TailwindCSS, Prisma, Stripe etc. - GitHub - GeroWalther/moonlamp-onlineshop: TypeScript, Next.js 13, Framer-Motion, Zustand, TailwindCSS, Prisma, St...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server