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
// | |
// Media Queries | |
// —·—·—·—·—·—·—·—·—·—·—·— | |
// NOTE: a 93.75% reduction in full resolution width was | |
// made for the desktop breakpoints to accommodate | |
// browser chrome and small vertical spaces in | |
// approximating a full-screen browser on that | |
// specific resolution. |
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
componentDidMount() { | |
const cachedAirtableNotes = localStorage.getItem('_cachedAirtableNotes') | |
if (cachedAirtableNotes) { | |
// Local data exists, now let's see if it has "expired" | |
// parse data | |
const parsedAirtableNotes = JSON.parse(cachedAirtableNotes) | |
// Check current time against timestamp |
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 Link from 'next/link' | |
import dateFormat from 'dateformat' | |
import Markdown from 'react-markdown' | |
class Post extends React.Component { | |
render() { | |
const { | |
title, | |
content, | |
publish_date, |
OlderNewer