The Developer Experience team at Netlify integrated Contentful with different frontend frameworks, including Next.js 12, to build a modern restaurant demo site. The goal was to create a simple demo site that fetches menu data and displays it with titles, descriptions, prices, pictures, etc., as well as fetching data about the restaurant's details and displaying them. To achieve this, they set up Contentful by creating an account, generating tokens, and using these tokens to access the content in the CMS. They then used Next.js 12 to build the demo site, pulling data from Contentful locally using a Build Plugin and importing JSON files generated during the build process. The team also created a common style guide for all demos, which was shared as an npm package. The resulting demo site showcases how to integrate Contentful with Next.js 12 to build a modern restaurant website.