Skip to content

Instantly share code, notes, and snippets.

import { Component } from 'react'
import config from './../config'
import BackgroundImage from './BackgroundImage'
import classnames from 'classnames'
import Markdown from 'react-markdown'
export default class WorkItem extends Component {
state = {
open: false
}
import fs from 'fs'
import path from 'path'
import { createClient } from 'contentful'
const SPACE = process.env.CONTENTFUL_SPACE
const TOKEN = process.env.CONTENTFUL_TOKEN
const client = createClient({
space: SPACE,
accessToken: TOKEN
[{
"artist": "Elisa Ambrogio",
"title": "Superstitious",
"pos": 100,
"videoID": "o3gRyyGZN9A"
}, {
"artist": "Steve Gunn",
"title": "Milly's Garden",
"pos": 99,
"videoID": "v0OVC4UphqY"