1import React from "react";
2import PropTypes from "prop-types";
3import { graphql, useStaticQuery } from "gatsby";
4import { preToCodeBlock } from "mdx-utils";
5const psLayout = require("../../output/PSLayout/index.js"); // [FIXME] use the next line
6// const psLayout = require("./PSLayout.purs");
7const fetch = typeof window !== "undefined" && window.fetch;
9const PSLayout = psLayout.mkLayout(fetch)();
11const Layout = ({ children }) => {
12 const siteInfo = useStaticQuery(graphql`
13 query SiteTitleQuery {
25 return <PSLayout siteInfo={siteInfo}>{children}</PSLayout>;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list