Accolade
Changelog

Changelog
Check out all the latest features available in Sanityblocks

Update

Update: Next.js 16, Blog refactoring

  • Next.js 16, Sanity 4.16;
  • Major Blog restructuring: The Blog section has been moved from the page builder to a dedicated post-index for improved maintainability and compatibility with Next.js 16. Next.js 16 now accurately distinguishes static (SSG) and server-side (SSR) pages; previously, some pages using search params were incorrectly marked as SSG in Next.js 15.
  • Action Required: To ensure your site works as intended, copy your Section Header from the previous Blog setup to the Blog Landing under the Blog section in Sanity, and select your preferred Posts Layout Variant.​
  • Added Redirects and Rewrites, located in the Settings section. Changes to redirects or rewrites require a redeployment, as these are generated during the build in next.config.mjs

shadcnblocks

Update

Update: Navigation update, packages, fixes

  • Move Header and Footer from Navigation to singletons. Old Navigation is removed from Sanity - check migration folder to migrate navigation data to new structure if you used old one;
  • Better menu structure in Sanity, moved Contact to the Content.
  • update packages;
  • fix imports;
  • remove references from demo pages for easier deletion of demo content (only linked in header).

shadcnblocks

Update

Bug

Chore: update packages, minor fixes

  • Update packages;
  • fix unpublishing Banner to remove it;
  • fix unpublishing Contact to make it 404;
  • fix typegen;
  • fix formateDate function to work with date field that comes from Sanity without timezone.

shadcnblocks

New Feature

Feature: Banner

Banner feature:

  • banner document;
  • closed banner stored in localStorage;
  • updating banner clears localStorage and updated banner shows up.

shadcnblocks

Bug

Fix: open in studio url, update packages

  • Fix Open in Studio url;
  • update packages.

shadcnblocks

Bug

Fix: close mobile nav on link click

Close mobile navigation on link click

shadcnblocks

Bug

Fix: Nav Document Env

Fix navigation document env

shadcnblocks

New Feature

Documentation

Update

Development

Sanityblocks initial release

Introducing Sanityblocks - A Sanity CMS Boilerplate with a dynamic page builder:

  • 70+ blocks - Sanity ready components with props, schemas and groq queries;
  • Monorepo with separate Next.js and Sanity apps;
  • 11 Prebuilt Document Types: Page (dynamic block builder), Post, Author, Category, FAQ, Testimonial, Team, Changelog, Contact, Settings (global config), Navigation (header & footer Menus);
  • Sample dataset for all prebuild document types, 70+ blocks and 7 Home pages;
  • Presentation mode;
  • Sanity Preview Pane (Iframe Pane);
  • Sanity Typegen.

shadcnblocks