Skip to content

CloudCannon/justice-nextjs-template

Repository files navigation

Justice

Law firm themed business template for Next.js. Browse through a live demo. Increase the web presence of a law firm or business with this configurable theme.

Justice template screenshot

Justice was made by CloudCannon.

Deploy to CloudCannon

Features

  • Contact form
  • Pre-built pages
  • Pre-styled components
  • Blog
  • Post category pages
  • Disqus comments for posts
  • Staff and author system
  • Configurable footer
  • Optimised for editing in CloudCannon
  • RSS/Atom feed
  • SEO tags
  • Google Analytics

Setup

  1. Add your site and author details in content/data/seo.json.
  2. Add your Google Analytics and Disqus keys to content/data/site.json.
  3. Get a workflow going to see your site's output (with CloudCannon or Next.js locally).

Develop

Justice is built with Next.js (version 13.0.4).

$ npm install
$ npm run dev

Editing

Justice is already optimised for adding, updating and removing pages, staff, posts, company details and footer elements in CloudCannon.

Posts

  • Add, update or remove a post in the Posts collection.
  • The Staff Author field links to members in the Staff collection.
  • Change the defaults when new posts are created in content/posts/_defaults.md.

Contact Form

  • Preconfigured to work with CloudCannon.
  • Sends email to the address listed in company details.

Staff

  • Reused around the site to save multiple editing locations.

Footer

  • Exposed as a data file to give clients better access.
  • Set in the Data / Footer section.

Company details

  • Reused around the site to save multiple editing locations.
  • Set in the Data / Company section.