In recent years, marketing campaigns have kept evolving and most of them now rely on landing pages. These pages are designed with conversion in mind and to guide users toward taking a particular action, namely the goal of the campaign. A landing page builder is an essential tool to create dynamic pages, and DatoCMS offers all the features you need to build the landing page you desire, thanks to the dynamic layouts, draft/publish system, and its super friendly interface.
This template is the result of this tutorial where we learnt what a landing page is, and why it is crucial for most marketing initiatives. In the tutorial then we focus on what section it should contain and how to implement it in Next.js. Finally, we see what a landing page builder has to offer to you.
First, run the development server:
npm run dev# oryarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying
pages/index.js. The page auto-updates as you edit the file.
pages/api directory is mapped to
/api/*. Files in this directory are treated as API routes instead of React pages.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.