This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"artist": "Elisa Ambrogio", | |
"title": "Superstitious", | |
"pos": 100, | |
"videoID": "o3gRyyGZN9A" | |
}, { | |
"artist": "Steve Gunn", | |
"title": "Milly's Garden", | |
"pos": 99, | |
"videoID": "v0OVC4UphqY" |