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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
const IGNORE_ERRORS_DURATION = 3000; | |
const FS = { | |
IDLE: 'idle', | |
UNSEALED_RESET: 'unsealed_reset', | |
UNSEALED_ERROR: 'unsealed_error', | |
OPENING: 'opening', | |
POLLING_PACK: 'polling_pack', | |
GETTING_MOMENTS: 'getting_moments', | |
} |
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
const IGNORE_ERRORS_DURATION = 3000; | |
const FS = { | |
IDLE: 'idle', | |
UNSEALED_RESET: 'unsealed_reset', | |
OPENING: 'opening', | |
UNSEALED_RETRYING: 'unsealed_retrying', | |
POLLING_PACK: 'polling_pack', | |
GETTING_MOMENTS: 'getting_moments', | |
DONE: 'done', |
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
const FS = { | |
IDLE: 'idle', | |
IN_VIEW: 'in_view', | |
APPEARING: 'appearing', | |
UNVEILING: 'unveiling', | |
REVEALING: 'revealing', | |
HIGHLIGHT_PLAYING: 'highlight_playing', | |
REVEALED: 'revealed', | |
}; |
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
const FS = { | |
IDLE: 'idle', | |
IN_VIEW: 'in_view', | |
APPEARING: 'appearing', | |
UNVEILING: 'unveiling', | |
REVEALING: 'revealing', | |
REVEALING_SKIP_HIGHLIGHT: 'revealing_skip_highlight', | |
HIGHLIGHT_PLAYING: 'highlight_playing', | |
REVEALED: 'revealed', | |
}; |
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 React from "react"; | |
import { Helmet } from "react-helmet"; | |
import Header from "../components/Header"; | |
import Footer from "../components/Footer"; | |
import HeroBanner from "../components/HeroBanner"; | |
export default ({ children, title, bannerMessage, dir, imagePreview, metaDescr, location, nolinks }) => ( | |
<React.Fragment> | |
<Helmet> |
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
exports.createPages = ({ graphql, actions }) => { | |
const { createPage } = actions | |
return graphql(` | |
{ | |
allMarkdownRemark { | |
edges { | |
node { | |
fields { | |
slug | |
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.