This is a blogging platform that utilizes Sanity as a leightweight headless CMS.
cd blog sanity start runs on localhost:3333
npm run build npm run dev runs on localhost:3000
\
- Every page contains
- navbar (left)
- main (middle)
- sidebar (right)
- The sidebar is outsourced into own component, because it doesn't vary much between pages
- Homepage (index.tsx) and bookmark page (bookmarked.tsx) share the same sidebar
\
This example shows how to use Tailwind CSS (v3.0) with Next.js. It follows the steps outlined in the official Tailwind docs.