Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Commit

Permalink
Simplify example
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnblk committed Jul 6, 2019
1 parent 4f88fa9 commit 17f7110
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 158 deletions.
21 changes: 0 additions & 21 deletions example/src/@jxnblk/gatsby-theme-mdx-blog/colors.js

This file was deleted.

5 changes: 1 addition & 4 deletions example/src/@jxnblk/gatsby-theme-mdx-blog/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
import React from 'react'
import { Link } from 'gatsby'
import { jsx, Container, Styled, useColorMode } from 'theme-ui'
import {
Box,
Button,
} from '@jxnblk/gatsby-theme-mdx-blog'
import { Button } from '@jxnblk/gatsby-theme-mdx-blog'

const modes = [
'light',
Expand Down
12 changes: 5 additions & 7 deletions example/src/pages/about.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { Link } from 'gatsby'
import Readme from '@jxnblk/gatsby-theme-mdx-blog/README.md'
import Layout from '../layout'

# @jxnblk/gatsby-theme-mdx-blog
export default Layout

## Demo Site
This is an example site built with `@jxnblk/gatsby-theme-mdx-blog`.

This page is intentionally unstyled. Only pages within the
<Link to='/blog'>Blog</Link> have styles.

The <Link to='/beep'>Beep</Link> page is a custom page that uses styles from the theme.
<Readme />
22 changes: 0 additions & 22 deletions example/src/pages/beep.js

This file was deleted.

12 changes: 0 additions & 12 deletions example/src/pages/index.mdx

This file was deleted.

82 changes: 0 additions & 82 deletions example/src/pages/notes.mdx

This file was deleted.

9 changes: 0 additions & 9 deletions example/src/pages/unstyled.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion theme/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports.createPages = async ({
actions,
}, opts = {}) => {
const {
name = 'blog',
name = '',
pageSize = 12,
} = opts

Expand Down

0 comments on commit 17f7110

Please sign in to comment.