i have a folder structure like:
- static pages using markdown at:
app/(static)with an mdx layout (compiles local markdown files) - a CMS folder at
app/site/[slug]that renders cms pages (server-side, requires data fetching)
and these all share a root layout that has a header.
i want to create a route at app/embed/:whatever that can render either the static page or the CMS page with a new root layout that doesn't have a header. i was able to achieve the CMS pages at app/embed/data/[slug]
i've tried creating a folder like app/embed/(...)(static) to handle the static pages but it hasn't worked. am i doing something wrong?