I will have a lot of landing pages, one for each client.
Unanswered
Jorge Madson posted this in #help-forum
For each landing page I will have date from strapi (CMS) with some text and links.
But also I will have different colors (I am using tailwind) and deploys.
I used this as base https://vercel.com/guides/nextjs-multi-tenant-application.
So I have two questions:
Can deploy each page independently?
How I can provide a layout for each landing page?
That is my structure:
├── src
│ ├── app
│ │ ├── embarca
│ │ │ └── page.tsx
│ │ ├── favicon.ico
│ │ ├── globals.css
│ │ ├── home
│ │ │ └── page.tsx
│ │ ├── layout.tsx
│ │ ├── manifest.webmanifest
│ │ ├── viacaonobre (landing page folder)
│ │ └── (other landing page folders)
│ ├── components
│ ├── lib
│ │ └── fetchers.ts
│ └── middleware.ts --> here I handle the subdomain
├── tailwind.config.ts
But also I will have different colors (I am using tailwind) and deploys.
I used this as base https://vercel.com/guides/nextjs-multi-tenant-application.
So I have two questions:
Can deploy each page independently?
How I can provide a layout for each landing page?
That is my structure:
├── src
│ ├── app
│ │ ├── embarca
│ │ │ └── page.tsx
│ │ ├── favicon.ico
│ │ ├── globals.css
│ │ ├── home
│ │ │ └── page.tsx
│ │ ├── layout.tsx
│ │ ├── manifest.webmanifest
│ │ ├── viacaonobre (landing page folder)
│ │ └── (other landing page folders)
│ ├── components
│ ├── lib
│ │ └── fetchers.ts
│ └── middleware.ts --> here I handle the subdomain
├── tailwind.config.ts
1 Reply
Blood cockle
Hi! Why would you use layouts if your not spreading them between pages? Maybe I’m just missing something. Cheers