Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Next.js personal portfolio website that pulls content from Contentful and deploys as a static site to Netlify.

Portfolio library replicating the GitHub UI, built with Next.js, TypeScript, and Tailwind CSS.
Portfolio 2019 is a personal portfolio website template built on Next.js that pulls content from Contentful and deploys as a static site to Netlify. It is an open-source project created by Marco Ciampini and the canonical repository is hosted on GitHub at ciampo/portfolio-2019.
Portfolio 2019 is a starter template for a personal portfolio website. It uses Next.js as the React framework, Contentful as a headless CMS for content management, and is configured for deployment to Netlify with Google Analytics integration. The project takes environment variables for Contentful, Netlify, and Google Analytics, then outputs either a static site or a server-rendered application. The repo includes a Netlify deployment status badge and detailed instructions for setup.
yarn data, which requires Contentful environment variables in a .env file and in the Netlify project.yarn static builds the app in production mode and exports it as a static site ready for hosting on Netlify.yarn build compiles the application for production deployment (SSR), and yarn serve:ssr starts and serves it in production mode.yarn dev starts the application with hot-code reloading and error reporting.yarn analyze builds the app and opens two graphs in the browser showing the bundle composition.yarn test lints scripts and styles; yarn test:fix lints and tries to auto-fix any errors.yarn data.yarn static, which produces a static export suitable for fast global delivery without maintaining a server.yarn build and yarn serve:ssr when SSR is needed for your portfolio.yarn analyze to identify performance improvements before shipping.The setup workflow is documented in the README: install Node and Yarn globally, set up Contentful, Netlify and Google Analytics, copy .env.example to .env and add the correct values, then add the same environment variables to Netlify. After running yarn install, yarn data fetches content from Contentful and yarn static builds the static site for deployment.
Portfolio 2019 is free and open source; the canonical source is publicly available on GitHub.
It uses Next.js as the React framework, Contentful as the headless CMS, and is deployed on Netlify. The project also integrates Google Analytics for tracking.
You need to set up a Contentful space and add the required environment variables to .env. Then run yarn data to pull content from Contentful into the project.
The README explicitly covers Netlify deployment (including adding environment variables there). The static export produced by yarn static can be hosted elsewhere, but Netlify-specific configuration may need adjustment.
Run yarn dev to start the development server with hot-code reloading and error reporting. Make sure your .env file contains the Contentful, Netlify, and Google Analytics values first.
