Hey! I have a payload 3.0.0-beta.111 app that was created with the website template using sqlite.
I have a custom react component in "./src/app/(frontend)/marketing". If I wanted to make that my home page what would I do?
If I’m not mistaken, due to [Nextjs
dynamic routing](https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes) havingmarketing` dir would result into it being in the url.
Maybe introducing a [route group](
https://nextjs.org/docs/app/building-your-application/routing/colocation#route-groups) as done here in this example, would help you achieve that.
src/app/(frontend)/page.tsx
Hey
@754097374640734239I appreciate you replying! I do understand the app router on NextJS and know that due to the fact that my
page.tsxis inside of the
marketingdir it will only render if I navigate to
/marketing.
If I flatout replace that component it's not going to break the entire flow for routing after I create pages in the admin panel?
Star
Discord
online
Get dedicated engineering support directly from the Payload team.