Skip to content

Next.js/React UI for Content as Code rendering of the Safetag Guide.

Notifications You must be signed in to change notification settings

contentascode/safetag-next

Repository files navigation

Deploy to now

Safetag Next Template

This repo is meant to be used as a renderer for the Safetag content as code project. The content as code pipeline will render the necessary state as:

  • A JSON hierarchy
{
  result: "123",
  entities: {
    "activities": {
      "123": {
        id: "123",
        method: "2",
        title: "Automated Reconnaissance",
        time: 42,
        tech: true,
        research: false,
        interpersonal: false,
        content: "./activities/",
        summary: "./activities/automated_reconnaissance/summary.md",
        preparation: "./activities/automated_reconnaissance/preparation.md",
        ...
      }
    },
    "methods": {
      "1": { id: "1", name: "Preparation" },
      "2": { id: "2", name: "Reconnaissance", summary: "./reconnaissance/summary.md", purpose: "./" }
    },
    "comments": {
      "324": { id: "324", "commenter": "2" }
    }
  }
}

Using already normalized data following https://www.robinwieruch.de/the-soundcloud-client-in-react-redux-normalizr/

About

Next.js/React UI for Content as Code rendering of the Safetag Guide.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published