Time, Clocks, and the Ordering of Events in a Distributed System.

1 min read.

Aug 21, 2021

image-blog

content coming soon...

import { BLOCKS, MARKS } from "@contentful/rich-text-types" import { renderRichText } from "gatsby-source-contentful/rich-text" const Bold = ({ children }) => <span className="bold">{children}</span> const Text = ({ children }) => <p className="align-center">{children}</p> const options = { renderMark: { [MARKS.BOLD]: text => <Bold>{text}</Bold>, }, renderNode: { [BLOCKS.PARAGRAPH]: (node, children) => <Text>{children}</Text>, [BLOCKS.EMBEDDED_ASSET]: node => { return ( <> <h2>Embedded Asset</h2> <pre> <code>{JSON.stringify(node, null, 2)}</code> </pre> </> ) }, }, } function BlogPostTemplate({ data }) { const { bodyRichText } = data.contentfulBlogPost return <div>{bodyRichText && renderRichText(richTextField, options)}</div> }

Designed and developed by Momar TOURÉ. Built with Gatsby and hosted on Firebase.