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" | |
export default () => ( | |
<div | |
css={{ | |
backgroundColor: 'hotpink', | |
'&:hover': { | |
color: 'lightgreen' | |
} | |
}} |
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
# Emotion | |
This recipe helps you start developing with the Emotion CSS in JS library | |
<Config | |
conflictsWith="gatsby-recipe-styled-components" | |
/> | |
--- |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charSet="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | |
<style id="typography.js"> | |
html { | |
font-family: sans-serif; |
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
Incremental Builds | |
Running Full Build | |
finished build -> Deployed | |
Running Incremental Build | |
finished build -> Deployed | |
Deployed | |
data change not affecting static queries -> Running Incremental Build | |
data change affecting static queries -> Running Full Build | |
code change -> Running Full Build |
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
<html> | |
<head> | |
<link | |
rel="prefetch" | |
as="image" | |
href="https://images.pexels.com/photos/248797/pexels-photo-248797.jpeg" | |
onload="fetch('https://images.pexels.com/photos/248797/pexels-photo-248797.jpeg')" | |
/> | |
</head> | |
<body> |
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 { render, Static, Box, Color, Text } from "ink" | |
import BigText from "ink-big-text" | |
import BBox from "ink-box" | |
import TextInput from "ink-text-input" | |
import { Tabs, Tab } from "ink-tab" | |
import _ from "lodash" | |
const purple = [102, 51, 153] | |
const hexPurple = `#663399` |
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
{"total":740,"results":[{"package":{"name":"gatsby-plugin-react-helmet","scope":"unscoped","version":"3.0.6","description":"Manage document head data with react-helmet. Provides drop-in server rendering support for Gatsby.","keywords":["gatsby","gatsby-plugin","favicon","react-helmet","seo","document","head","title","meta","link","script","base","noscript","style"],"date":"2019-02-01T12:25:14.983Z","links":{"npm":"https://www.npmjs.com/package/gatsby-plugin-react-helmet","homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet#readme","repository":"https://github.com/gatsbyjs/gatsby","bugs":"https://github.com/gatsbyjs/gatsby/issues"},"author":{"name":"Kyle Mathews","email":"[email protected]"},"publisher":{"username":"pieh","email":"[email protected]"},"maintainers":[{"username":"dschau","email":"[email protected]"},{"username":"freiksenet","email":"[email protected]"},{"username":"kylemathews","email":"[email protected]"},{"username":"m-allan |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charSet="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | |
<style data-href="/component---src-posts-2018-09-13-why-i-migrated-away-from-medium-mdx.942e966dd04428ca9417.css"> | |
.body-module--h1--26YIz { | |
margin-bottom: 2rem; |
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.onCreateNode = ({ node, actions, createNodeId, createContentDigest }) => { | |
const { createNode, createNodeField } = actions | |
if (node.internal.type === `NodeTypeWithMarkdownField`) { | |
const newNode = createNode({ | |
id: createNodeId(`${node.id} markdown field`), | |
children: [], | |
parent: node.id, | |
internal: { | |
content: node.markdownField, | |
mediaType: `text/markdown`, |