{"id":13472407,"url":"https://github.com/strapi/strapi-starter-next-corporate","last_synced_at":"2025-10-03T13:30:55.741Z","repository":{"id":42659819,"uuid":"282159146","full_name":"strapi/strapi-starter-next-corporate","owner":"strapi","description":"Next.js starter for creating a corporate site with Strapi.","archived":true,"fork":false,"pushed_at":"2022-03-29T14:16:13.000Z","size":6333,"stargazers_count":346,"open_issues_count":27,"forks_count":95,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-09-29T14:01:55.397Z","etag":null,"topics":["jamstack","nextjs","starter","strapi"],"latest_commit_sha":null,"homepage":"https://strapi-starter-next-corporate.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-24T07:58:19.000Z","updated_at":"2024-08-10T08:05:45.000Z","dependencies_parsed_at":"2022-09-18T22:23:52.045Z","dependency_job_id":null,"html_url":"https://github.com/strapi/strapi-starter-next-corporate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fstrapi-starter-next-corporate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fstrapi-starter-next-corporate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fstrapi-starter-next-corporate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fstrapi-starter-next-corporate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strapi","download_url":"https://codeload.github.com/strapi/strapi-starter-next-corporate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235131596,"owners_count":18940913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jamstack","nextjs","starter","strapi"],"created_at":"2024-07-31T16:00:54.419Z","updated_at":"2025-10-03T13:30:55.116Z","avatar_url":"https://github.com/strapi.png","language":"JavaScript","funding_links":[],"categories":["Strapi v3","JavaScript","📦 Legacy \u0026 Inactive Projects"],"sub_categories":["Starters \u0026 Examples - v3"],"readme":"**:no_entry: DEPRECATED**\n\nThis repository is no longer maintained and only works for Strapi v3. You can find the latest Strapi v4 version of this starter on the [starters-and-templates monorepo](https://github.com/strapi/starters-and-templates/tree/main/packages/starters/next-corporate).\n\n---\n\n\n# Strapi Starter Next Corporate Site\n\nNext starter for creating a corporate site with Strapi.\n\n[View the live demo](https://strapi-starter-next-corporate.vercel.app/) • [Read the blog post](https://strapi.io/blog/strapi-starter-next-corporate-site)\n\n![screen-website](/screenshot.png)\n\nThis starter is designed for flexibility. Using it, you'll be able to manage your website content entirely in Strapi, and get a Next app automatically generated. Marketing teams will be able to create pages and design their layout without help from developers.\n\nThis starter features:\n\n- Pages creation within Strapi, no code necessary\n- Fully flexible page structure: design the pages you want using UI Sections\n- 8 UI Sections out of the box: Hero, RichText, LargeVideo, Testimonials, Pricing, BottomActions, FeatureRows, FeatureColumns\n- Easy to theme with Tailwind\n- Static site generation with Next\n- An integrated Preview Mode, to view your pages on a private URL before publishing them\n- Content in multiple languages using i18n\n\nThis starter uses the [Strapi corporate template](https://github.com/strapi/strapi-template-corporate)\n\nCheck out all of our starters [here](https://strapi.io/starters)\n\n## Getting started\n\nUse our `create-strapi-starter` CLI to create your project.\n\n```sh\nnpx create-strapi-starter@3 my-site next-corporate\n```\n\nThe CLI will create a monorepo, install dependencies, and run your project automatically.\n\nThe Next frontend server will run here =\u003e [http://localhost:3000](http://localhost:3000)\n\nThe Strapi backend server will run here =\u003e [http://localhost:1337](http://localhost:1337)\n\n## Preview Mode\n\nYou can turn preview mode on with a URL like this:\n\n`http://localhost:3000/api/preview?secret=\u003cpreview-secret\u003e\u0026slug=\u003cslug\u003e`\n\n`\u003cpreview-secret\u003e` is the secret token defined in your .env config,\n`\u003cslug\u003e` is the slug you entered in Strapi for your page.\n\nWhile preview mode is on you can access `draft` pages just like you would `published` pages.\n\nFor example [http://localhost:3000/secret](http://localhost:3000/secret) would be available in preview mode.\n\nA banner will remain under the navigation to let you know preview mode is on and it will also allow you to turn it off.\n\n## Customize your corporate site\n\nTo edit this website, you'll need to run both the frontend and the backend in your development environment.\n\n### Adding Sections\n\nWe have built sections for you, but you will likely want to add more to fit your needs. Follow these steps:\n\n- Create a new component in Strapi in the \"sections\" category\n- In the Content-Types Builder, open the Pages collection and check your new section on the `contentSections` field.\n- Create a React component that takes a `data` prop in `/frontend/components/sections`\n- To link your Strapi section to this React component, open `/frontend/components/sections.js`, and add an entry to the `sectionComponents` object.\n\n### Custom theme\n\nWe use Tailwind CSS for styling. To modify your page's look, you can edit the theme in `/front/tailwind.config.js`. Read the [Tailwind docs](https://v1.tailwindcss.com/docs/theme) to view all the changes you can make. For example, you can change the primary color like this:\n\n```js\nconst { colors } = require(`tailwindcss/defaultTheme`)\n\nmodule.exports = {\n  theme: {\n    extend: {\n      colors: {\n        primary: colors.green,\n      },\n    },\n  },\n}\n```\n\n## Deploying to production\n\nYou will need to deploy the `frontend` and `backend` projects separately. Here are the docs to deploy each one:\n\n- [Deploy Strapi](https://strapi.io/documentation/v3.x/admin-panel/deploy.html#deployment)\n- [Deploy Next.js](https://nextjs.org/docs/deployment)\n\nDon't forget to set up your environment variables on your production apps.\n\nHere are the required ones for the frontend:\n\n- `NEXT_PUBLIC_STRAPI_API_URL`: URL of your Strapi backend, without trailing slash\n- `PREVIEW_SECRET`: a random string used to protect your preview pages\n\nAnd for the backend:\n\n- `FRONTEND_URL`: URL of your frontend, without trailing slash\n- `FRONTEND_PREVIEW_SECRET`: token of Next.js preview mode defined on the frontend\n\nHave fun using this starter!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrapi%2Fstrapi-starter-next-corporate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrapi%2Fstrapi-starter-next-corporate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrapi%2Fstrapi-starter-next-corporate/lists"}