Skip to content

louisefindlay23/prismicsm-nextjs

Repository files navigation

Simple Prismic Slice Machine Next.js Site

Purpose

Develop a simple homepage with mock content to learn how to use Prismic's Slice Machine with Next.js.

Visit the Website

prismicsm-nextjs.vercel.app

Technologies

The page has four sections: Header, Hero, Plan Grid, and Footer. A layout is used for the head of the website and wraps the Header and Footer components around the page content as well as passing the currency context provider.

The Header component contains the Navigation slice so links can be added and edited using Prismic.

The Hero slice uses CSS Grid so the background image can be updated using Prismic.

The currency select uses a context provider to pass the value from the Header component to the Plan Grid slice to update the currency of the plan prices.

The site is deployed to Vercel using SSG.

Resources Used

Tutorials

CSS

Design

About

My first Prismic Next.js website using Slice Machine

Topics

Resources

Stars

Watchers

Forks

Contributors