Next.js starter for creating a corporate site with Strapi.
The Strapi Starter Next Corporate Site is a starter template designed for creating a corporate website using Strapi, a headless CMS. This starter allows marketing teams to manage website content easily within Strapi without the need for developers. It also generates a Next.js app automatically.
To create a project using the Strapi Starter Next Corporate Site, follow these steps:
create-strapi-starter CLI to create your project.http://localhost:3000.http://localhost:1337.To enable Preview Mode, use the following URL after starting the project:
http://localhost:3000/api/preview?secret=<preview-secret>&slug=<slug>
Replace <preview-secret> with the secret token defined in your .env configuration, and <slug> with the slug you entered in Strapi for your page. Preview Mode allows access to draft pages and displays a banner indicating its status.
To customize the corporate site, you need to run both the frontend and backend in your development environment.
To add new sections to the website, follow these steps:
/frontend/components/sections./frontend/components/sections.js and add an entry to the sectionComponents object.To customize the theme of the website, modify the /front/tailwind.config.js file. The website uses Tailwind CSS for styling. Refer to the Tailwind docs for all the possible changes you can make, such as changing the primary color.
To deploy the frontend and backend projects separately in production, follow the respective deployment documentation for Strapi and Next.js.
The Strapi Starter Next Corporate Site is a versatile starter template that allows marketing teams to easily manage and design a corporate website using Strapi. With features such as flexible page structure, customizable UI sections, and support for multiple languages, it provides a user-friendly experience for creating and maintaining a corporate website. The integration with Next.js enables static site generation for optimal performance. The ability to customize the theme and add new sections provides flexibility, while the Preview Mode allows for previewing pages before publishing.